Difference between revisions of "Template:AMC12 box"

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:

2004 AMC 12B (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 16 17 18 19 20 21 22 23 24 25
All AMC 12 Problems and Solutions
2004 AMC 12A (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 16 17 18 19 20 21 22 23 24 25
All AMC 12 Problems and Solutions
2006 AMC 12B (ProblemsAnswer KeyResources)
Preceded by
Problem 24
Followed by
Last Question
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
All AMC 12 Problems and Solutions