Difference between revisions of "Template:UMO box"

m
m
Line 1: Line 1:
 
{| class="wikitable" style="margin:0.5em auto; font-size:95%; border:1px solid black; width:80%;"
 
{| 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}}} UMO {{{n|}}}]]''' ('''[[{{{year}}} UMO {{{n|}}} Problems|Problems]]''' • '''[[{{{year}}} UMO {{{n|}}} Answer Key|Answer Key]]''' • [Resources])
+
| style="background:#ccf;text-align:center;" colspan="3" | '''[[{{{year}}} UMO {{{n|}}}]]''' ('''[[{{{year}}} UMO {{{n|}}} Problems|Problems]]''' • '''[[{{{year}}} UMO {{{n|}}} Answer Key|Answer Key]]''' • [http://www.utmath.org/home  Resources])
 
|-
 
|-
 
|width="50%" align="center" rowspan="{{{rowsp|1}}}"|{{{beforetext|Preceded&nbsp;by<br/>}}}'''{{{before|[[{{{year}}} UMO {{{n|}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}'''
 
|width="50%" align="center" rowspan="{{{rowsp|1}}}"|{{{beforetext|Preceded&nbsp;by<br/>}}}'''{{{before|[[{{{year}}} UMO {{{n|}}} Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]}}}'''

Revision as of 16:55, 13 October 2014

[[{{{year}}} UMO ]] ([[{{{year}}} UMO Problems|Problems]][[{{{year}}} UMO Answer Key|Answer Key]]Resources)
Preceded by
[[{{{year}}} UMO Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]]
Followed by
[[{{{year}}} UMO Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]]
[[{{{year}}} UMO Problems/Problem 1|1]] [[{{{year}}} UMO Problems/Problem 2|2]] [[{{{year}}} UMO Problems/Problem 3|3]] [[{{{year}}} UMO Problems/Problem 4|4]] [[{{{year}}} UMO Problems/Problem 5|5]] [[{{{year}}} UMO Problems/Problem 6|6]]
UMO Problems and Solutions

To use this template, type in:

{{UMO box|year=|num-b=|num-a=|n=}}

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). n is the Roman numeral for the UMO (I or II); if there is none, then just completely omit it.

For example,

{{UMO box|year=2013|num-b=1|num-a=3}}
{{UMO box|year=2014|num-b=1|num-a=3|n=I}}

If it is the first question, then use:

{{UMO box|year=|before=First Question|num-a=2}}

If it is the last question, then use:

{{UMO box|year=|num-b=5|after=Last Question}}

On the actual UMO page or the problems page, the following can be used (perhaps an alternative scheme can be developed for a/b?):

{{UMO box|year=2013|before=[[YYYY-1 UMO]]|after=[[YYYY+1 UMO]]}}

This yields, respectively:

1986 UMO (ProblemsAnswer KeyResources)
Preceded by
Problem 1
Followed by
Problem 3
1 2 3 4 5 6
All UMO Problems and Solutions
2000 UMO I (ProblemsAnswer KeyResources)
Preceded by
Problem 1
Followed by
Problem 3
1 2 3 4 5 6
All UMO Problems and Solutions
1986 UMO (ProblemsAnswer KeyResources)
Preceded by
First Question
Followed by
Problem 2
1 2 3 4 5 6
All UMO Problems and Solutions
1986 UMO (ProblemsAnswer KeyResources)
Preceded by
Problem 5
Followed by
Last Question
1 2 3 4 5 6
All UMO Problems and Solutions
2014 UMO (ProblemsAnswer KeyResources)
Preceded by
2013 UMO
Followed by
2015 UMO
1 2 3 4 5 6
All UMO Problems and Solutions