Difference between revisions of "Template:Mock AIME box"

 
(category)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable" style="clear:both; margin:0.5em auto; font-size:95%; border:1px solid black;"
+
<includeonly>{| class="wikitable" style="clear:both; margin:0.5em auto; font-size:95%; border:1px solid black;"
| style="background:#ccf;text-align:center;" colspan="3" | '''[[{{{year}}} Mock AIME {{{n|}}}]]''' ('''[[{{{year}}} AIME {{{n|}}} Problems|Problems]]''')
+
| style="background:#ccf;text-align:center;" colspan="3" | '''[[Mock AIME {{{n|}}} {{{year}}}]]''' ('''[[Mock AIME {{{n|}}} {{{year}}} Problems|Problems]]'''{{{link|, [http://www.artofproblemsolving.com/Forum/viewtopic.php?t={{{source}}} Source]}}})
 
|-
 
|-
|width="50%" align="center" rowspan="{{{rowsp|1}}}"|{{{beforetext|Preceded&nbsp;by<br/>}}}'''{{{before|[[{{{year}}} AIME {{{n|}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}'''
+
|width="50%" align="center" rowspan="{{{rowsp|1}}}"|{{{beforetext|Preceded&nbsp;by<br/>}}}'''{{{before|[[Mock AIME {{{n|}}} {{{year}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}'''
|width="50%" align="center" rowspan="{{{rowsf|1}}}"| {{{aftertext|Followed&nbsp;by<br/>}}}'''{{{after|[[{{{year}}} AIME {{{n|}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}'''
+
|width="50%" align="center" rowspan="{{{rowsf|1}}}"| {{{aftertext|Followed&nbsp;by<br/>}}}'''{{{after|[[Mock AIME {{{n|}}} {{{year}}} Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}'''
 
|-
 
|-
| colspan="3" | [[{{{year}}} AIME {{{n|}}} Problems/Problem 1|1]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 2|2]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 3|3]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 4|4]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 5|5]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 6|6]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 7|7]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 8|8]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 9|9]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 10|10]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 11|11]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 12|12]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 13|13]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 14|14]] '''•''' [[{{{year}}} AIME {{{n|}}} Problems/Problem 15|15]]
+
| colspan="3" | [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 1|1]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 2|2]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 3|3]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 4|4]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 5|5]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 6|6]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 7|7]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 8|8]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 9|9]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 10|10]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 11|11]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 12|12]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 13|13]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 14|14]] '''•''' [[Mock AIME {{{n|}}} {{{year}}} Problems/Problem 15|15]]
|}<includeonly>[[Category:AIME Problems]]</includeonly>
+
|}</includeonly><includeonly></includeonly><noinclude>
 +
This [[:Category:Succession templates|succession box]] template will only work on pages in the format <tt>Mock AIME # YYYY-YYYY Problems/Problem #</tt> (or instead of <tt>YYYY-YYYY</tt>, <tt>Pre YYYY</tt>).
 +
 
 +
==Usage==
 +
The format for this template is:
 +
 
 +
<pre>
 +
{{Mock AIME box|year=YYYY-YYYY|n=#|num-b=#|num-a=#|source=######}}
 +
</pre>
 +
 
 +
*'''year''': Refers to year range, like <code>Pre 2005</code> or <code>2005-2006</code>.
 +
*'''n''': Refers to the test number (like <code>4</code> in [[Mock AIME 4 2006-2007]])
 +
*'''num-b''': Refers to number before this. If there is no number, replace <code>num-b</code> with <code>before=First Question</code>.
 +
*'''num-b''': Refers to number after this. If there is no number, replace <code>num-a</code> with <code>after=Last Question</code>.
 +
*'''source''': (optional) Refers to the external link source number, specifically the topic number on the artofproblemsolving forum website (look in the URL bar).
 +
**If the source link cannot be found (or there is none), then replace it with <tt>...|link=}}</tt>.
 +
**To link to a different website, use <tt><nowiki>...|link=, [http://website.com Source]}}</nowiki></tt>
 +
An example is:
 +
 
 +
<pre>
 +
{{Mock AIME box|year=2006-2007|n=4|num-b=5|num-a=7|source=125025}}
 +
</pre>
 +
 
 +
{{Mock AIME box|year=2006-2007|n=4|num-b=5|num-a=7|source=125025}}
 +
[[Category:Succession templates]]
 +
</noinclude>

Latest revision as of 15:45, 24 November 2007

This succession box template will only work on pages in the format Mock AIME # YYYY-YYYY Problems/Problem # (or instead of YYYY-YYYY, Pre YYYY).

Usage

The format for this template is:

{{Mock AIME box|year=YYYY-YYYY|n=#|num-b=#|num-a=#|source=######}}
  • year: Refers to year range, like Pre 2005 or 2005-2006.
  • n: Refers to the test number (like 4 in Mock AIME 4 2006-2007)
  • num-b: Refers to number before this. If there is no number, replace num-b with before=First Question.
  • num-b: Refers to number after this. If there is no number, replace num-a with after=Last Question.
  • source: (optional) Refers to the external link source number, specifically the topic number on the artofproblemsolving forum website (look in the URL bar).
    • If the source link cannot be found (or there is none), then replace it with ...|link=}}.
    • To link to a different website, use ...|link=, [http://website.com Source]}}

An example is:

{{Mock AIME box|year=2006-2007|n=4|num-b=5|num-a=7|source=125025}}
Mock AIME 4 2006-2007 (Problems, Source)
Preceded by
Problem 5
Followed by
Problem 7
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15