Difference between revisions of "Template:AIME box"

m (+cat)
m (+ roman numerals, groan..)
Line 1: Line 1:
 
{{Succession box
 
{{Succession box
|before={{{before|[[{{{year}}} AIME Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}
+
|before={{{before|[[{{{year}}} AIME{{{n| {{{n}}}|}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}
|title=[[AIME]]<br />[[{{{year}}} AIME Problems|{{{year}}}]]
+
|title=[[AIME]]<br />[[{{{year}}}{{{n| {{{n}}}|}}} AIME Problems|{{{year}}}]]
|after={{{after|[[{{{year}}} AIME Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}
+
|after={{{after|[[{{{year}}} AIME{{{n| {{{n}}}|}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}
 
}}<includeonly>[[Category:AIME Problems]]</includeonly><noinclude>
 
}}<includeonly>[[Category:AIME Problems]]</includeonly><noinclude>
 
To use this template, type in:
 
To use this template, type in:
  
 
<pre>
 
<pre>
{{AIME box|year=|num-b=|num-a=}}
+
{{AIME box|year=|num-b=|num-a=|n=}}
 
</pre>
 
</pre>
  
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 [http://meta.wikimedia.org/wiki/ParserFunctions parser functions] are not supported).
+
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 [http://meta.wikimedia.org/wiki/ParserFunctions parser functions] are not supported). n is the Roman numeral for the AIME (I or II); if there is none, then just completely omit it.
  
 
For example,
 
For example,
 
<pre>
 
<pre>
 
{{AIME box|year=1986|num-b=1|num-a=3}}
 
{{AIME box|year=1986|num-b=1|num-a=3}}
 +
{{AIME box|year=2000|num-b=1|num-a=3|n=1}}
 
</pre>
 
</pre>
  
Line 27: Line 28:
 
</pre>
 
</pre>
  
This yields:
+
This yields, respectively:
  
 
{{AIME box|year=1986|num-b=1|num-a=3}}
 
{{AIME box|year=1986|num-b=1|num-a=3}}
 +
 +
{{AIME box|year=2000|num-b=1|num-a=3|n=1}}
  
 
{{AIME box|year=1986|before=First<br />Question|num-a=2}}
 
{{AIME box|year=1986|before=First<br />Question|num-a=2}}

Revision as of 18:36, 29 January 2007

{{{header}}}
Preceded by
[[{{{year}}} AIME {{{n}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]
AIME
[[{{{year}}} {{{n}}} AIME Problems|{{{year}}}]]
Followed by
[[{{{year}}} AIME {{{n}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]

To use this template, type in:

{{AIME box|year=|num-b=|num-a=|n=}}

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). n is the Roman numeral for the AIME (I or II); if there is none, then just completely omit it.

For example,

{{AIME box|year=1986|num-b=1|num-a=3}}
{{AIME box|year=2000|num-b=1|num-a=3|n=1}}

If it is the first question, then use:

{{AIME box|year=|before=First<br />Question|num-a=2}}

If it is the last question, then use:

{{AIME box|year=|num-b=14|after=Last<br />Question}}

This yields, respectively:

1986 AIME (ProblemsAnswer KeyResources)
Preceded by
Problem 1
Followed by
Problem 3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
All AIME Problems and Solutions
2000 AIME 1 (ProblemsAnswer KeyResources)
Preceded by
Problem 1
Followed by
Problem 3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
All AIME Problems and Solutions
1986 AIME (ProblemsAnswer KeyResources)
Preceded by
First
Question
Followed by
Problem 2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
All AIME Problems and Solutions
1986 AIME (ProblemsAnswer KeyResources)
Preceded by
Problem 14
Followed by
Last
Question
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
All AIME Problems and Solutions