Art of Problem Solving

Template:AMC12 box: Difference between revisions

m redundant
m looks better w/o line break
Line 19: Line 19:
If it is the first question, then use:
If it is the first question, then use:
<pre>
<pre>
{{AMC12 box|year=2004|ab=10|before=First<br />Question|num-a=2}}
{{AMC12 box|year=2004|ab=10|before=First Question|num-a=2}}
</pre>
</pre>


If it is the last question, then use:
If it is the last question, then use:
<pre>
<pre>
{{AMC12 box|year=2006|ab=12B|num-b=24|after=Last<br />Question}}
{{AMC12 box|year=2006|ab=12B|num-b=24|after=Last Question}}
</pre>
</pre>


Line 31: Line 31:
{{AMC12 box|year=2004|ab=B|num-b=1|num-a=3}}
{{AMC12 box|year=2004|ab=B|num-b=1|num-a=3}}


{{AMC12 box|year=2004|ab=A|before=First<br />Question|num-a=2}}
{{AMC12 box|year=2004|ab=A|before=First Question|num-a=2}}


{{AMC12 box|year=2006|ab=B|num-b=24|after=Last<br />Question}}
{{AMC12 box|year=2006|ab=B|num-b=24|after=Last Question}}


[[Category:Succession templates]]
[[Category:Succession templates]]
</noinclude>
</noinclude>

Revision as of 18:26, 2 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:

{{AMC 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