Difference between revisions of "Template:AIME box"
(Test template) |
(fixing) |
||
Line 1: | Line 1: | ||
{{Succession box | {{Succession box | ||
− | |before={{#ifeq|1|{{{problem}}}|First<br />question|[[{{{year}}} AIME Problems/Problem {{{problem}}}]]}} | + | |before={{#ifeq|+1|{{{problem}}}|First<br />question|[[{{{year}}} AIME Problems/Problem {{#expr:{{{problem}}}-1}}]]}} |
|title=[[AIME]]<br />[[{{{year}}} AIME Problems|{{{year}}}]] | |title=[[AIME]]<br />[[{{{year}}} AIME Problems|{{{year}}}]] | ||
− | |after={{#ifeq|15|{{{problem}}}|Last<br />question|[[{{{year}}} AIME Problems/Problem {{{problem}}}]]}} | + | |after={{#ifeq|+15|{{{problem}}}|Last<br />question|[[{{{year}}} AIME Problems/Problem {{#expr:{{{problem}}}+1}}]]}} |
}}<noinclude> | }}<noinclude> | ||
To use this template, type in: | To use this template, type in: | ||
Line 14: | Line 14: | ||
{{AIME box|year=1986|problem=2}} | {{AIME box|year=1986|problem=2}} | ||
</pre> | </pre> | ||
+ | |||
+ | This yields: | ||
+ | |||
+ | {{AIME box|year=1986|problem=2}} | ||
[[Category:Succession templates]] | [[Category:Succession templates]] | ||
</noinclude> | </noinclude> |
Revision as of 17:06, 29 January 2007
{{{header}}} | ||
Preceded by {{#ifeq|+1|{{{problem}}}|First question|[[{{{year}}} AIME Problems/Problem {{#expr:{{{problem}}}-1}}]]}} |
AIME [[{{{year}}} AIME Problems|{{{year}}}]] |
Followed by {{#ifeq|+15|{{{problem}}}|Last question|[[{{{year}}} AIME Problems/Problem {{#expr:{{{problem}}}+1}}]]}} |
To use this template, type in:
{{AIME box|year=|problem=}}
For example,
{{AIME box|year=1986|problem=2}}
This yields:
1986 AIME (Problems • Answer Key • Resources) | ||
Preceded by [[1986 AIME Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]] |
Followed by [[1986 AIME Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]] | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |