Difference between revisions of "Template:Mock AIME box"
(fix template) |
(better documentation) |
||
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" | '''[[Mock AIME {{{n|}}} {{{year}}}]]''' ('''[[Mock AIME {{{n|}}} {{{year}}} Problems|Problems]]'''{{{link|, [http://www.artofproblemsolving.com/Forum/viewtopic.php?t={{{source}}} Source]}}}) | | 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]}}}) | ||
|- | |- | ||
Line 6: | Line 6: | ||
|- | |- | ||
| 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]] | | 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:Mock AIME Problems]]</includeonly><noinclude> | + | |}</includeonly><includeonly>[[Category:Mock AIME Problems]]</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: | The format for this template is: | ||
Line 18: | Line 21: | ||
*'''num-b''': Refers to number after this. If there is no number, replace <code>num-a</code> with <code>after=Last 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). | *'''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: | An example is: | ||
Revision as of 18:31, 13 March 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
or2005-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
withbefore=First Question
. - num-b: Refers to number after this. If there is no number, replace
num-a
withafter=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 |