Difference between revisions of "Template:AMC10 box"
(fork from Template:AMC box for more functionality) |
m (rm {{{n}}}) |
||
Line 1: | Line 1: | ||
{{Succession box | {{Succession box | ||
|before={{{before|[[{{{year}}} AMC 10{{{ab|}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}} | |before={{{before|[[{{{year}}} AMC 10{{{ab|}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}} | ||
− | |title=[[AMC 10]] {{{ | + | |title=[[AMC 10]] {{{ab|}}}<br />[[{{{year}}} AMC {{{ab|}}} Problems|{{{year}}}{{{ab|}}}]] |
|after={{{after|[[{{{year}}} AMC {{{ab|}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}} | |after={{{after|[[{{{year}}} AMC {{{ab|}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}} | ||
}}<includeonly>[[Category:AMC 10 Problems]]</includeonly><noinclude> | }}<includeonly>[[Category:AMC 10 Problems]]</includeonly><noinclude> |
Revision as of 19:00, 1 February 2007
{{{header}}} | ||
Preceded by [[{{{year}}} AMC 10 Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]] |
AMC 10 [[{{{year}}} AMC Problems|{{{year}}}]] |
Followed by [[{{{year}}} AMC 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,
{{AMC box|year=2002|ab=A|num-b=1|num-a=3}}
If it is the first question, then use:
{{AMC box|year=2002|ab=10|before=First<br />Question|num-a=2}}
If it is the last question, then use:
{{AMC box|year=2002|ab=12B|num-b=24|after=Last<br />Question}}
This yields, respectively:
{{{header}}} | ||
Preceded by [[2002 AMC {{{n}}} Problems/Problem 1|Problem 1]] |
AMC {{{n}}} [[2002 AMC {{{n}}} Problems|2002]] |
Followed by [[2002 AMC {{{n}}} Problems/Problem 3|Problem 3]] |
{{{header}}} | ||
Preceded by First Question |
AMC {{{n}}} [[2002 AMC {{{n}}} Problems|2002]] |
Followed by [[2002 AMC {{{n}}} Problems/Problem 2|Problem 2]] |
{{{header}}} | ||
Preceded by [[2002 AMC {{{n}}} Problems/Problem 24|Problem 24]] |
AMC {{{n}}} [[2002 AMC {{{n}}} Problems|2002]] |
Followed by Last Question |