Difference between revisions of "Template:AMC10 box"

m (lol.. wrong box)
m (should work now..)
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]] {{{ab|}}}<br />[[{{{year}}} AMC {{{ab|}}} Problems|{{{year}}}{{{ab|}}}]]
+
|title=[[AMC 10]]{{{ab|}}}<br />[[{{{year}}} AMC 10{{{ab|}}} Problems|{{{year}}}{{{ab|}}}]]
|after={{{after|[[{{{year}}} AMC {{{ab|}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}
+
|after={{{after|[[{{{year}}} AMC 10{{{ab|}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}
 
}}<includeonly>[[Category:AMC 10 Problems]]</includeonly><noinclude>
 
}}<includeonly>[[Category:AMC 10 Problems]]</includeonly><noinclude>
 
To use this template, type in:
 
To use this template, type in:
Line 14: Line 14:
 
For example,
 
For example,
 
<pre>
 
<pre>
{{AMC10 box|year=2002|ab=A|num-b=1|num-a=3}}
+
{{AMC10 box|year=2004|ab=A|num-b=1|num-a=3}}
 
</pre>
 
</pre>
  
 
If it is the first question, then use:
 
If it is the first question, then use:
 
<pre>
 
<pre>
{{AMC10 box|year=2002|ab=10|before=First<br />Question|num-a=2}}
+
{{AMC10 box|year=2004|ab=10|before=First<br />Question|num-a=2}}
 
</pre>
 
</pre>
  
 
If it is the last question, then use:
 
If it is the last question, then use:
 
<pre>
 
<pre>
{{AMC10 box|year=2002|ab=12B|num-b=24|after=Last<br />Question}}
+
{{AMC10 box|year=2006|ab=12B|num-b=24|after=Last<br />Question}}
 
</pre>
 
</pre>
  
 
This yields, respectively:
 
This yields, respectively:
  
{{AMC10 box|year=2002|ab=B|num-b=1|num-a=3}}
+
{{AMC10 box|year=2004|ab=B|num-b=1|num-a=3}}
  
{{AMC10 box|year=2002|ab=A|before=First<br />Question|num-a=2}}
+
{{AMC10 box|year=2004|ab=A|before=First<br />Question|num-a=2}}
  
{{AMC10 box|year=2002|ab=B|num-b=24|after=Last<br />Question}}
+
{{AMC10 box|year=2006|ab=B|num-b=24|after=Last<br />Question}}
  
 
[[Category:Succession templates]]
 
[[Category:Succession templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:05, 1 February 2007

{{{header}}}
Preceded by
[[{{{year}}} AMC 10 Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]
AMC 10
[[{{{year}}} AMC 10 Problems|{{{year}}}]]
Followed by
[[{{{year}}} AMC 10 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,

{{AMC10 box|year=2004|ab=A|num-b=1|num-a=3}}

If it is the first question, then use:

{{AMC10 box|year=2004|ab=10|before=First<br />Question|num-a=2}}

If it is the last question, then use:

{{AMC10 box|year=2006|ab=12B|num-b=24|after=Last<br />Question}}

This yields, respectively:

2004 AMC 10B (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 10 Problems and Solutions
2004 AMC 10A (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 10 Problems and Solutions
2006 AMC 10B (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 10 Problems and Solutions