Difference between revisions of "Template:AMC12 box"

(forked from Template:AMC box, for greater functionality)
 
m (redundant)
Line 1: Line 1:
 
{{Succession box
 
{{Succession box
 
|before={{{before|[[{{{year}}} AMC 12{{{ab|}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}
 
|before={{{before|[[{{{year}}} AMC 12{{{ab|}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}
|title=[[AMC 12]]{{{ab|}}}<br />[[{{{year}}} AMC 12{{{ab|}}} Problems|{{{year}}}{{{ab|}}}]]
+
|title=[[AMC 12]]<br />[[{{{year}}} AMC 12{{{ab|}}} Problems|{{{year}}}{{{ab|}}}]]
 
|after={{{after|[[{{{year}}} AMC 12{{{ab|}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}
 
|after={{{after|[[{{{year}}} AMC 12{{{ab|}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}
 
}}<includeonly>[[Category:AMC 12 Problems]]</includeonly><noinclude>
 
}}<includeonly>[[Category:AMC 12 Problems]]</includeonly><noinclude>

Revision as of 21:58, 1 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<br />Question|num-a=2}}

If it is the last question, then use:

{{AMC12 box|year=2006|ab=12B|num-b=24|after=Last<br />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