Difference between revisions of "Template:JBMO box"
(Created page with "{| 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}}} JB...") |
m |
||
Line 26: | Line 26: | ||
If it is the first question, then use: | If it is the first question, then use: | ||
<pre> | <pre> | ||
− | {{JBMO box|year=1997|before=First | + | {{JBMO box|year=1997|before=First Problem|num-a=2}} |
</pre> | </pre> | ||
If it is the last question, then use: | If it is the last question, then use: | ||
<pre> | <pre> | ||
− | {{JBMO box|year=1997|num-b=4|after=Last | + | {{JBMO box|year=1997|num-b=4|after=Last Problem}} |
</pre> | </pre> | ||
Line 38: | Line 38: | ||
{{JBMO box|year=1998|num-b=1|num-a=3|five=}} | {{JBMO box|year=1998|num-b=1|num-a=3|five=}} | ||
− | {{JBMO box|year=1997|before=First | + | {{JBMO box|year=1997|before=First Problem|num-a=2}} |
− | {{JBMO box|year=1997|num-b=4|after=Last | + | {{JBMO box|year=1997|num-b=4|after=Last Problem}} |
[[Category:Succession templates]] | [[Category:Succession templates]] | ||
</noinclude> | </noinclude> |
Revision as of 17:09, 15 September 2017
[[{{{year}}} JBMO]] ([[{{{year}}} JBMO Problems|Problems]] • Resources) | ||
Preceded by [[{{{year}}} JBMO Problems/Problem {{{num-b}}}|Problem {{{num-b}}}]] |
Followed by [[{{{year}}} JBMO Problems/Problem {{{num-a}}}|Problem {{{num-a}}}]] | |
[[{{{year}}} JBMO Problems/Problem 1|1]] • [[{{{year}}} JBMO Problems/Problem 2|2]] • [[{{{year}}} JBMO Problems/Problem 3|3]] • [[{{{year}}} JBMO Problems/Problem 4|4]] •[[{{{year}}} JBMO Problems/Problem 5|5]] | ||
All JBMO Problems and Solutions |
To use this template, type in:
{{JBMO box|year=|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).
For example,
{{JBMO box|year=1997|num-b=1|num-a=3|five=}}
If it is the first question, then use:
{{JBMO box|year=1997|before=First Problem|num-a=2}}
If it is the last question, then use:
{{JBMO box|year=1997|num-b=4|after=Last Problem}}
This yields, respectively:
1998 JBMO (Problems • Resources) | ||
Preceded by Problem 1 |
Followed by Problem 3 | |
1 • 2 • 3 • 4 | ||
All JBMO Problems and Solutions |
1997 JBMO (Problems • Resources) | ||
Preceded by First Problem |
Followed by Problem 2 | |
1 • 2 • 3 • 4 • 5 | ||
All JBMO Problems and Solutions |
1997 JBMO (Problems • Resources) | ||
Preceded by Problem 4 |
Followed by Last Problem | |
1 • 2 • 3 • 4 • 5 | ||
All JBMO Problems and Solutions |