Difference between revisions of "Template:IMO7 box"
m |
|||
Line 31: | Line 31: | ||
This yields, respectively: | This yields, respectively: | ||
− | {{IMO7 box|year= | + | {{IMO7 box|year=1960|num-b=1|num-a=3}} |
− | {{IMO7 box|year= | + | {{IMO7 box|year=1960|before=First Question|num-a=2}} |
− | {{IMO7 box|year= | + | {{IMO7 box|year=1960|num-b=6|after=Last Question}} |
[[Category:Succession templates]] | [[Category:Succession templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 18:04, 15 September 2012
[[{{{year}}} IMO]] ([[{{{year}}} IMO Problems|Problems]]) | ||
Preceded by [[{{{year}}} IMO Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]] |
[[{{{year}}} IMO Problems/Problem 1|1]] • [[{{{year}}} IMO Problems/Problem 2|2]] • [[{{{year}}} IMO Problems/Problem 3|3]] • [[{{{year}}} IMO Problems/Problem 4|4]] • [[{{{year}}} IMO Problems/Problem 5|5]] • [[{{{year}}} IMO Problems/Problem 6|6]] • [[{{{year}}} IMO Problems/Problem 7|7]] | Followed by [[{{{year}}} IMO Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]] |
To use this template, type in:
{{IMO7 box|year=|num-b=|num-a=}}
Where num-b is the problem number before the current one, and num-a is the problem number after the current one (this is because parser functions are not supported).
For example,
{{IMO7 box|year=2005|num-b=1|num-a=3}}
If it is the first question, then use:
{{IMO7 box|year=|before=First Question|num-a=2}}
If it is the last question, then use:
{{IMO7 box|year=|num-b=4|after=Last Question}}
This yields, respectively:
1960 IMO (Problems) | ||
Preceded by Problem 1 |
1 • 2 • 3 • 4 • 5 • 6 • 7 | Followed by Problem 3 |
1960 IMO (Problems) | ||
Preceded by First Question |
1 • 2 • 3 • 4 • 5 • 6 • 7 | Followed by Problem 2 |
1960 IMO (Problems) | ||
Preceded by Problem 6 |
1 • 2 • 3 • 4 • 5 • 6 • 7 | Followed by Last Question |