Difference between revisions of "Template:PMWC box"

(fix)
m (typo)
Line 5: Line 5:
 
|width="50%" align="center" rowspan="{{{rowsf|1}}}"| {{{aftertext|Followed&nbsp;by<br/>}}}'''{{{after|[[{{{year}}} PMWC  Problems/Problem I{{{num-a}}}|Problem {{{num-a}}}]]}}}'''
 
|width="50%" align="center" rowspan="{{{rowsf|1}}}"| {{{aftertext|Followed&nbsp;by<br/>}}}'''{{{after|[[{{{year}}} PMWC  Problems/Problem I{{{num-a}}}|Problem {{{num-a}}}]]}}}'''
 
|-
 
|-
| colspan="3" | I: [[{{{year}}} PMWC  Problems/Problem I1|1]] '''•''' [[{{{year}}} PMWC  Problems/Problem I2|2]] '''•''' [[{{{year}}} PMWC  Problems/Problem I3|3]] '''•''' [[{{{year}}} PMWC  Problems/Problem I4|4]] '''•''' [[{{{year}}} PMWC  Problems/Problem I5|5]] '''•''' [[{{{year}}} PMWC  Problems/Problem I6|6]] '''•''' [[{{{year}}} PMWC  Problems/Problem I7|7]] '''•''' [[{{{year}}} PMWC  Problems/Problem I8|8]] '''•''' [[{{{year}}} PMWC  Problems/Problem I9|9]] '''•''' [[{{{year}}} PMWC  Problems/Problem I10|10]] '''•''' [[{{{year}}} PMWC  Problems/Problem I11|11]] '''•''' [[{{{year}}} PMWC  Problems/Problem I12|12]] '''•''' [[{{{year}}} PMWC  Problems/Problem I13|13]] '''•''' [[{{{year}}} PMWC  Problems/Problem I14|14]] '''•''' [[{{{year}}} PMWC  Problems/Problem I15|15]] [[{{{year}}} PMWC  <br /> T: [[{{{year}}} PMWC  Problems/Problem T1|1]] '''•''' [[{{{year}}} PMWC  Problems/Problem T2|2]] '''•''' [[{{{year}}} PMWC  Problems/Problem T3|3]] '''•''' [[{{{year}}} PMWC  Problems/Problem T4|4]] '''•''' [[{{{year}}} PMWC  Problems/Problem T5|5]] '''•''' [[{{{year}}} PMWC  Problems/Problem T6|6]] '''•''' [[{{{year}}} PMWC  Problems/Problem T7|7]] '''•''' [[{{{year}}} PMWC  Problems/Problem T8|8]] '''•''' [[{{{year}}} PMWC  Problems/Problem T9|9]] '''•''' [[{{{year}}} PMWC  Problems/Problem T10|10]] '''•''' [[{{{year}}} PMWC  Problems/Problem T11|11]] '''•''' [[{{{year}}} PMWC  Problems/Problem T12|12]] '''•''' [[{{{year}}} PMWC  Problems/Problem T13|13]] '''•''' [[{{{year}}} PMWC  Problems/Problem T14|14]] '''•''' [[{{{year}}} PMWC  Problems/Problem T15|15]]
+
| colspan="3" | I: [[{{{year}}} PMWC  Problems/Problem I1|1]] '''•''' [[{{{year}}} PMWC  Problems/Problem I2|2]] '''•''' [[{{{year}}} PMWC  Problems/Problem I3|3]] '''•''' [[{{{year}}} PMWC  Problems/Problem I4|4]] '''•''' [[{{{year}}} PMWC  Problems/Problem I5|5]] '''•''' [[{{{year}}} PMWC  Problems/Problem I6|6]] '''•''' [[{{{year}}} PMWC  Problems/Problem I7|7]] '''•''' [[{{{year}}} PMWC  Problems/Problem I8|8]] '''•''' [[{{{year}}} PMWC  Problems/Problem I9|9]] '''•''' [[{{{year}}} PMWC  Problems/Problem I10|10]] '''•''' [[{{{year}}} PMWC  Problems/Problem I11|11]] '''•''' [[{{{year}}} PMWC  Problems/Problem I12|12]] '''•''' [[{{{year}}} PMWC  Problems/Problem I13|13]] '''•''' [[{{{year}}} PMWC  Problems/Problem I14|14]] '''•''' [[{{{year}}} PMWC  Problems/Problem I15|15]] <br /> T: [[{{{year}}} PMWC  Problems/Problem T1|1]] '''•''' [[{{{year}}} PMWC  Problems/Problem T2|2]] '''•''' [[{{{year}}} PMWC  Problems/Problem T3|3]] '''•''' [[{{{year}}} PMWC  Problems/Problem T4|4]] '''•''' [[{{{year}}} PMWC  Problems/Problem T5|5]] '''•''' [[{{{year}}} PMWC  Problems/Problem T6|6]] '''•''' [[{{{year}}} PMWC  Problems/Problem T7|7]] '''•''' [[{{{year}}} PMWC  Problems/Problem T8|8]] '''•''' [[{{{year}}} PMWC  Problems/Problem T9|9]] '''•''' [[{{{year}}} PMWC  Problems/Problem T10|10]] '''•''' [[{{{year}}} PMWC  Problems/Problem T11|11]] '''•''' [[{{{year}}} PMWC  Problems/Problem T12|12]] '''•''' [[{{{year}}} PMWC  Problems/Problem T13|13]] '''•''' [[{{{year}}} PMWC  Problems/Problem T14|14]] '''•''' [[{{{year}}} PMWC  Problems/Problem T15|15]]
 
|}<includeonly></includeonly><noinclude>
 
|}<includeonly></includeonly><noinclude>
 
To use this template, type in:
 
To use this template, type in:

Revision as of 18:40, 2 October 2007

[[{{{year}}} PMWC ]] ([[{{{year}}} PMWC Problems|Problems]])
Preceded by
[[{{{year}}} PMWC Problems/Problem I{{{num-b}}}|Problem {{{num-b}}}]]
Followed by
[[{{{year}}} PMWC Problems/Problem I{{{num-a}}}|Problem {{{num-a}}}]]
I: [[{{{year}}} PMWC Problems/Problem I1|1]] [[{{{year}}} PMWC Problems/Problem I2|2]] [[{{{year}}} PMWC Problems/Problem I3|3]] [[{{{year}}} PMWC Problems/Problem I4|4]] [[{{{year}}} PMWC Problems/Problem I5|5]] [[{{{year}}} PMWC Problems/Problem I6|6]] [[{{{year}}} PMWC Problems/Problem I7|7]] [[{{{year}}} PMWC Problems/Problem I8|8]] [[{{{year}}} PMWC Problems/Problem I9|9]] [[{{{year}}} PMWC Problems/Problem I10|10]] [[{{{year}}} PMWC Problems/Problem I11|11]] [[{{{year}}} PMWC Problems/Problem I12|12]] [[{{{year}}} PMWC Problems/Problem I13|13]] [[{{{year}}} PMWC Problems/Problem I14|14]] [[{{{year}}} PMWC Problems/Problem I15|15]]
T: [[{{{year}}} PMWC Problems/Problem T1|1]] [[{{{year}}} PMWC Problems/Problem T2|2]] [[{{{year}}} PMWC Problems/Problem T3|3]] [[{{{year}}} PMWC Problems/Problem T4|4]] [[{{{year}}} PMWC Problems/Problem T5|5]] [[{{{year}}} PMWC Problems/Problem T6|6]] [[{{{year}}} PMWC Problems/Problem T7|7]] [[{{{year}}} PMWC Problems/Problem T8|8]] [[{{{year}}} PMWC Problems/Problem T9|9]] [[{{{year}}} PMWC Problems/Problem T10|10]] [[{{{year}}} PMWC Problems/Problem T11|11]] [[{{{year}}} PMWC Problems/Problem T12|12]] [[{{{year}}} PMWC Problems/Problem T13|13]] [[{{{year}}} PMWC Problems/Problem T14|14]] [[{{{year}}} PMWC Problems/Problem T15|15]]

To use this template, type in:

{{PMWC 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 PMWC (I or II); if there is none, then just completely omit it.

For example, if the problem is I2

{{PMWC box|year=2005|num-b=I1|num-a=I3}}

If it is the first question, then use:

{{PMWC box|year=|before=First Question|num-a=I2}}

If it is the last question, then use:

{{PMWC box|year=|num-b=T14|after=Last Question}}

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

{{PMWC box|year=2005|before=[[YYYY-1 PMWC]]|after=[[YYYY+1 PMWC]]}}

This yields, respectively:

2005 PMWC (Problems)
Preceded by
Problem I1
Followed by
Problem I3
I: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
T: 1 2 3 4 5 6 7 8 9 10
2005 PMWC (Problems)
Preceded by
First Question
Followed by
Problem I2
I: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
T: 1 2 3 4 5 6 7 8 9 10
2005 PMWC (Problems)
Preceded by
Problem T14
Followed by
Last Question
I: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
T: 1 2 3 4 5 6 7 8 9 10
2005 PMWC (Problems)
Preceded by
2005 PMWC
Followed by
2006 PMWC
I: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
T: 1 2 3 4 5 6 7 8 9 10