Difference between revisions of "Template:AMC box"
m (+{{{n}}}) |
m (typo) |
||
Line 1: | Line 1: | ||
{{Succession box | {{Succession box | ||
|before={{{before|[[{{{year}}} AMC {{{n}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}} | |before={{{before|[[{{{year}}} AMC {{{n}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}} | ||
− | |title=[[AMC]] {{{n}}<br />[[{{{year}}} AMC {{{n}}} Problems|{{{year}}}]] | + | |title=[[AMC]] {{{n}}}<br />[[{{{year}}} AMC {{{n}}} Problems|{{{year}}}]] |
|after={{{after|[[{{{year}}} AMC {{{n}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}} | |after={{{after|[[{{{year}}} AMC {{{n}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}} | ||
}}<includeonly>[[Category:AMC Problems]]</includeonly><noinclude> | }}<includeonly>[[Category:AMC Problems]]</includeonly><noinclude> |
Revision as of 20:10, 30 January 2007
{{{header}}} | ||
Preceded by [[{{{year}}} AMC {{{n}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]] |
AMC {{{n}}} [[{{{year}}} AMC {{{n}}} Problems|{{{year}}}]] |
Followed by [[{{{year}}} AMC {{{n}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]] |
To use this template, type in:
{{AMC box|year=|n=|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). n is either 8, 10, or 12, followed by A or B if necessary.
For example,
{{AMC box|year=2000|n=10|num-b=1|num-a=3}} {{AMC box|year=2002|n=12A|num-b=1|num-a=3}}
If it is the first question, then use:
{{AMC box|year=2000|n=10|before=First<br />Question|num-a=2}}
If it is the last question, then use:
{{AMC box|year=2002|n=12B|num-b=24|after=Last<br />Question}}
This yields, respectively:
{{{header}}} | ||
Preceded by Problem 1 |
AMC 10 2000 |
Followed by Problem 3 |
{{{header}}} | ||
Preceded by Problem 1 |
AMC 12A 2002 |
Followed by Problem 3 |
{{{header}}} | ||
Preceded by First Question |
AMC 10 2000 |
Followed by Problem 2 |
{{{header}}} | ||
Preceded by Problem 24 |
AMC 12B 2002 |
Followed by Last Question |