Difference between revisions of "Template:AMC box"

m (+{{{n}}})
m (deprecated, refer to 10/12 boxes)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Succession box
+
<noinclude>{{deprecated|{{tl|AMC10 box}} or {{tl|AMC12 box}}}}</noinclude>{{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>

Latest revision as of 20:56, 1 February 2007

This template is deprecated. Instead, consider using {{AMC10 box}} or {{AMC12 box}}.
{{{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