Difference between revisions of "Template:AMC12 box"

(Replaced content with "qwerty")
(Repaired Vandalism by Wesleythang on 05/21/2017. He replaced all content with "qwerty")
Line 1: Line 1:
qwerty
+
{| class="wikitable" style="margin:0.5em auto; font-size:95%; border:1px solid black; width:80%;"
 +
| style="background:#ccf;text-align:center;" colspan="3" | '''[[{{{year}}} AMC 12{{{ab|}}}]]''' ('''[[{{{year}}} AMC 12{{{ab|}}} Problems|Problems]]''' • '''[[{{{year}}} AMC 12{{{ab|}}} Answer Key|Answer Key]]''' • [http://www.artofproblemsolving.com/Forum/resources.php?c=182&cid=44&year={{{year}}} Resources])
 +
|-
 +
|width="50%" align="center" rowspan="{{{rowsp|1}}}"|{{{beforetext|Preceded&nbsp;by<br/>}}}'''{{{before|[[{{{year}}} AMC 12{{{ab|}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}'''
 +
|width="50%" align="center" rowspan="{{{rowsf|1}}}"| {{{aftertext|Followed&nbsp;by<br/>}}}'''{{{after|[[{{{year}}} AMC 12{{{ab|}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}'''
 +
|-
 +
| colspan="3" style="text-align:center;" | [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 1|1]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 2|2]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 3|3]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 4|4]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 5|5]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 6|6]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 7|7]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 8|8]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 9|9]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 10|10]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 11|11]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 12|12]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 13|13]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 14|14]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 15|15]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 16|16]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 17|17]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 18|18]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 19|19]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 20|20]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 21|21]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 22|22]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 23|23]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 24|24]] '''•''' [[{{{year}}} AMC 12{{{ab|}}} Problems/Problem 25|25]]
 +
|-
 +
| colspan="3" style="text-align:center;" | '''[[AMC 12 Problems and Solutions | All AMC 12 Problems and Solutions]]'''
 +
|}<includeonly></includeonly><noinclude>
 +
To use this template, type in:
 +
 
 +
<pre>
 +
{{AMC12 box|year=|ab=|num-b=|num-a=}}
 +
</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.
 +
 
 +
For example,
 +
<pre>
 +
{{AMC12 box|year=2004|ab=B|num-b=1|num-a=3}}
 +
</pre>
 +
 
 +
If it is the first question, then use:
 +
<pre>
 +
{{AMC12 box|year=2004|ab=A|before=First Question|num-a=2}}
 +
</pre>
 +
 
 +
If it is the last question, then use:
 +
<pre>
 +
{{AMC12 box|year=2006|ab=12B|num-b=24|after=Last Question}}
 +
</pre>
 +
 
 +
This yields, respectively:
 +
 
 +
{{AMC12 box|year=2004|ab=B|num-b=1|num-a=3}}
 +
 
 +
{{AMC12 box|year=2004|ab=A|before=First Question|num-a=2}}
 +
 
 +
{{AMC12 box|year=2006|ab=B|num-b=24|after=Last Question}}
 +
 
 +
[[Category:Succession templates]]
 +
</noinclude>

Revision as of 18:12, 13 June 2017

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

To use this template, type in:

{{AMC12 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,

{{AMC12 box|year=2004|ab=B|num-b=1|num-a=3}}

If it is the first question, then use:

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

If it is the last question, then use:

{{AMC12 box|year=2006|ab=12B|num-b=24|after=Last Question}}

This yields, respectively:

2004 AMC 12B (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 12 Problems and Solutions
2004 AMC 12A (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 12 Problems and Solutions
2006 AMC 12B (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 12 Problems and Solutions
Invalid username
Login to AoPS