Difference between revisions of "Template:AMC10 box"

m (lol.. wrong box)
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Succession box
+
{| class="wikitable" style="margin:0.5em auto; font-size:95%; border:1px solid black; width:80%;"
|before={{{before|[[{{{year}}} AMC 10{{{ab|}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}
+
| style="background:#ccf;text-align:center;" colspan="3" | '''[[{{{year}}} AMC 10{{{ab|}}}]]''' ('''[[{{{year}}} AMC 10{{{ab|}}} Problems|Problems]]''' • '''[[{{{year}}} AMC 10{{{ab|}}} Answer Key|Answer Key]]''' • [http://www.artofproblemsolving.com/Forum/resources.php?c=182&cid=43&year={{{year}}} Resources])
|title=[[AMC 10]] {{{ab|}}}<br />[[{{{year}}} AMC {{{ab|}}} Problems|{{{year}}}{{{ab|}}}]]
+
|-
|after={{{after|[[{{{year}}} AMC {{{ab|}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}
+
|width="50%" align="center" rowspan="{{{rowsp|1}}}"|{{{beforetext|Preceded&nbsp;by<br/>}}}'''{{{before|[[{{{year}}} AMC 10{{{ab|}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}'''
}}<includeonly>[[Category:AMC 10 Problems]]</includeonly><noinclude>
+
|width="50%" align="center" rowspan="{{{rowsf|1}}}"| {{{aftertext|Followed&nbsp;by<br/>}}}'''{{{after|[[{{{year}}} AMC 10{{{ab|}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}'''
 +
|-
 +
| colspan="3" style="text-align:center;" | [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 1|1]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 2|2]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 3|3]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 4|4]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 5|5]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 6|6]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 7|7]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 8|8]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 9|9]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 10|10]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 11|11]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 12|12]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 13|13]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 14|14]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 15|15]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 16|16]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 17|17]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 18|18]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 19|19]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 20|20]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 21|21]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 22|22]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 23|23]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 24|24]] '''•''' [[{{{year}}} AMC 10{{{ab|}}} Problems/Problem 25|25]]
 +
|-
 +
| colspan="3" style="text-align:center;" | '''[[AMC 10 Problems and Solutions | All AMC 10 Problems and Solutions]]'''
 +
|}<includeonly></includeonly><noinclude>
 
To use this template, type in:
 
To use this template, type in:
  
 
<pre>
 
<pre>
{{AMC box|year=|ab=|num-b=|num-a=}}
+
{{AMC10 box|year=|ab=|num-b=|num-a=}}
 
</pre>
 
</pre>
  
Where num-b is the problem number <u>b</u>efore the current one, and num-a is the problem number <u>a</u>fter the current one (this is because [http://meta.wikimedia.org/wiki/ParserFunctions parser functions] are not supported. ab is either A or B if necessary.
+
Where num-b is the problem number <u>b</u>efore the current one, and num-a is the problem number <u>a</u>fter the current one (this is because [http://meta.wikimedia.org/wiki/ParserFunctions parser functions] are not supported). ab is either A or B if necessary.
  
 
For example,
 
For example,
 
<pre>
 
<pre>
{{AMC10 box|year=2002|ab=A|num-b=1|num-a=3}}
+
{{AMC10 box|year=2004|ab=B|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=A|before=First 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=B|num-b=24|after=Last 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 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 Question}}
  
 
[[Category:Succession templates]]
 
[[Category:Succession templates]]
 
</noinclude>
 
</noinclude>

Revision as of 21:20, 15 August 2014

[[{{{year}}} AMC 10]] ([[{{{year}}} AMC 10 Problems|Problems]][[{{{year}}} AMC 10 Answer Key|Answer Key]]Resources)
Preceded by
[[{{{year}}} AMC 10 Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]
Followed by
[[{{{year}}} AMC 10 Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]
[[{{{year}}} AMC 10 Problems/Problem 1|1]] [[{{{year}}} AMC 10 Problems/Problem 2|2]] [[{{{year}}} AMC 10 Problems/Problem 3|3]] [[{{{year}}} AMC 10 Problems/Problem 4|4]] [[{{{year}}} AMC 10 Problems/Problem 5|5]] [[{{{year}}} AMC 10 Problems/Problem 6|6]] [[{{{year}}} AMC 10 Problems/Problem 7|7]] [[{{{year}}} AMC 10 Problems/Problem 8|8]] [[{{{year}}} AMC 10 Problems/Problem 9|9]] [[{{{year}}} AMC 10 Problems/Problem 10|10]] [[{{{year}}} AMC 10 Problems/Problem 11|11]] [[{{{year}}} AMC 10 Problems/Problem 12|12]] [[{{{year}}} AMC 10 Problems/Problem 13|13]] [[{{{year}}} AMC 10 Problems/Problem 14|14]] [[{{{year}}} AMC 10 Problems/Problem 15|15]] [[{{{year}}} AMC 10 Problems/Problem 16|16]] [[{{{year}}} AMC 10 Problems/Problem 17|17]] [[{{{year}}} AMC 10 Problems/Problem 18|18]] [[{{{year}}} AMC 10 Problems/Problem 19|19]] [[{{{year}}} AMC 10 Problems/Problem 20|20]] [[{{{year}}} AMC 10 Problems/Problem 21|21]] [[{{{year}}} AMC 10 Problems/Problem 22|22]] [[{{{year}}} AMC 10 Problems/Problem 23|23]] [[{{{year}}} AMC 10 Problems/Problem 24|24]] [[{{{year}}} AMC 10 Problems/Problem 25|25]]
All AMC 10 Problems and Solutions

To use this template, type in:

{{AMC10 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=B|num-b=1|num-a=3}}

If it is the first question, then use:

{{AMC10 box|year=2004|ab=A|before=First Question|num-a=2}}

If it is the last question, then use:

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