Difference between revisions of "Template:CYMO box"

(testing new template)
 
(fix blatant typos, trying to condense template)
Line 1: Line 1:
{| class="wikitable" style="clear:both; margin:0.5em auto; font-size:95%; border:1px solid black;"
+
{| class="wikitable" style="clear:both; margin:0.5em auto; font-size:95%; border:1px solid black; align:center; width:75%;"
| style="background:#ccf;text-align:center;" colspan="3" | '''[[{{{year}}} AIME {{{n|}}}]]''' ('''[[{{{year}}} Cyprus MO/{{{l}}}/Problems|Problems]]''')
+
| style="background:#ccf;text-align:center;" colspan="3" | '''[[{{{year}}} Cyprus MO/{{{l}}}}|{{{year}}} Cyprus MO, {{{l}}}]]''' ('''[[{{{year}}} Cyprus MO/{{{l}}}/Problems|Problems]]''')
 
|-
 
|-
 
|width="50%" align="center" rowspan="{{{rowsp|1}}}"|{{{beforetext|Preceded&nbsp;by<br/>}}}'''{{{before|[[{{{year}}} Cyprus MO/{{{l}}}/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}'''
 
|width="50%" align="center" rowspan="{{{rowsp|1}}}"|{{{beforetext|Preceded&nbsp;by<br/>}}}'''{{{before|[[{{{year}}} Cyprus MO/{{{l}}}/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}'''
 
|width="50%" align="center" rowspan="{{{rowsf|1}}}"| {{{aftertext|Followed&nbsp;by<br/>}}}'''{{{after|[[{{{year}}} Cyprus MO/{{{l}}}/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}'''
 
|width="50%" align="center" rowspan="{{{rowsf|1}}}"| {{{aftertext|Followed&nbsp;by<br/>}}}'''{{{after|[[{{{year}}} Cyprus MO/{{{l}}}/Problem {{{num-a}}}|Problem {{{num-a}}}]]}}}'''
 
|-
 
|-
| colspan="3" | [[{{{year}}} Cyprus MO/{{{l}}}/Problem 1|1]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 2|2]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 3|3]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 4|4]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 5|5]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 6|6]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 7|7]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 8|8]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 9|9]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 10|10]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 11|11]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 12|12]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 13|13]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 14|14]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 15|15]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 16|16]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 17|17]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 18|18]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 19|19]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 20|20]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 21|21]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 22|22]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 23|23]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 24|24]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 25|25]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 26|26]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 27|27]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 28|28]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 29|29]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 30|30]]
+
| colspan="3" style="text-align:center;" | [[{{{year}}} Cyprus MO/{{{l}}}/Problem 1|1]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 2|2]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 3|3]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 4|4]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 5|5]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 6|6]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 7|7]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 8|8]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 9|9]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 10|10]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 11|11]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 12|12]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 13|13]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 14|14]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 15|15]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 16|16]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 17|17]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 18|18]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 19|19]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 20|20]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 21|21]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 22|22]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 23|23]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 24|24]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 25|25]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 26|26]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 27|27]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 28|28]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 29|29]] '''•''' [[{{{year}}} Cyprus MO/{{{l}}}/Problem 30|30]]
  
 
|}<includeonly></includeonly><noinclude>
 
|}<includeonly></includeonly><noinclude>

Revision as of 15:14, 6 May 2007

[[{{{year}}} Cyprus MO/{{{l}}}}|{{{year}}} Cyprus MO, {{{l}}}]] ([[{{{year}}} Cyprus MO/{{{l}}}/Problems|Problems]])
Preceded by
[[{{{year}}} Cyprus MO/{{{l}}}/Problem {{{num-b}}}|Problem {{{num-b}}}]]
Followed by
[[{{{year}}} Cyprus MO/{{{l}}}/Problem {{{num-a}}}|Problem {{{num-a}}}]]
[[{{{year}}} Cyprus MO/{{{l}}}/Problem 1|1]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 2|2]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 3|3]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 4|4]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 5|5]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 6|6]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 7|7]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 8|8]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 9|9]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 10|10]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 11|11]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 12|12]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 13|13]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 14|14]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 15|15]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 16|16]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 17|17]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 18|18]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 19|19]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 20|20]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 21|21]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 22|22]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 23|23]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 24|24]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 25|25]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 26|26]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 27|27]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 28|28]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 29|29]] [[{{{year}}} Cyprus MO/{{{l}}}/Problem 30|30]]

To use this template, type in:

{{CYMO box|year=|l=|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). l denotes the level (6/7/8th grades, Gynasium, Lyceum).

For example,

{{CYMO box|year=2007|l=Lyceum|num-b=1|num-a=3}}

If it is the first question, then use:

{{CYMO box|year=YYYY|l=level|before=First question|num-a=2}}

If it is the last question, then use:

{{CYMO box|year=YYYY|l=level|num-b=29|after=Last question}}


This yields, respectively:

2007 Cyprus MO, Lyceum (Problems)
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 26 27 28 29 30
2007 Cyprus MO, Lyceum (Problems)
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 26 27 28 29 30
2007 Cyprus MO, Lyceum (Problems)
Preceded by
Problem 14
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 26 27 28 29 30