Template:AMC12 box: Difference between revisions
m looks better w/o line break |
m missed a 12 |
||
| Line 7: | Line 7: | ||
<pre> | <pre> | ||
{{ | {{AMC12 box|year=|ab=|num-b=|num-a=}} | ||
</pre> | </pre> | ||
Revision as of 16:33, 6 February 2007
| {{{header}}} | ||
| Preceded by [[{{{year}}} AMC 12 Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]] |
AMC 12 [[{{{year}}} AMC 12 Problems|{{{year}}}]] |
Followed by [[{{{year}}} AMC 12 Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]] |
To use this template, type in:
{{AMC12 box|year=|ab=|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. ab is either A or B if necessary.
For example,
{{AMC12 box|year=2004|ab=A|num-b=1|num-a=3}}
If it is the first question, then use:
{{AMC12 box|year=2004|ab=10|before=First Question|num-a=2}}
If it is the last question, then use:
{{AMC12 box|year=2006|ab=12B|num-b=24|after=Last Question}}
This yields, respectively:
| {{{header}}} | ||
| Preceded by Problem 1 |
AMC 12 2004B |
Followed by Problem 3 |
| {{{header}}} | ||
| Preceded by First Question |
AMC 12 2004A |
Followed by Problem 2 |
| {{{header}}} | ||
| Preceded by Problem 24 |
AMC 12 2006B |
Followed by Last Question |