Difference between revisions of "Template:AMC12 box"

(Replaced content with "qwerty")
Line 1: Line 1:
{| class="wikitable" style="margin:0.5em auto; font-size:95%; border:1px solid black; width:80%;"
+
qwerty
| 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 22:13, 21 May 2017

qwerty

Invalid username
Login to AoPS