Difference between revisions of "Template:Chess round"

(round)
 
(Template documentation)
Line 1: Line 1:
 
<center>
 
<center>
 
{| style='background:#ffeeee;border:1px solid black;width:25%;font-size:12px;' class='wikitable'
 
{| style='background:#ffeeee;border:1px solid black;width:25%;font-size:12px;' class='wikitable'
|+ style='text-align:center;font-size:12px;background:#33FF33;border:none;' |'''[[AoPSWiki:Chess/Chess Tournament Info|Round {{{r}}}]]'''
+
|+ style='text-align:center;font-size:12px;background:#33FF33;border:none;' |'''[[AoPSWiki:Chess/Chess Tournament Info|{{{r}}}]]'''
 
|-  
 
|-  
| [[AoPSWiki:Chess/Chess Tournament Info/Round {{{p}}}|Previous round]] | [[AoPSWiki:Chess/Chess Tournament Info/Round {{{n}}}|Next round]]
+
| [[AoPSWiki:Chess/Chess Tournament Info/{{{p}}}|Previous round]] | [[AoPSWiki:Chess/Chess Tournament Info/{{{n}}}|Next round]]
 
|}
 
|}
 
</center>
 
</center>
 +
<noinclude>
 +
==Template documentation==
 +
This template is to be used as follows:
 +
<nowiki>{{chess round</nowiki>|r='''''round'''''p='''''preceding round'''''|n='''''next round'''''}}
 +
Note that you need the full round name, i.e. "Round 5" as opposed to just "5". For playoffs, put either "Semifinals" or "Finals". If this is the first round, have the ''p'' variable be set to the first round as well. If this is the finals, then have the ''n'' variable set to the finals as well.
 +
</noinclude>

Revision as of 11:37, 26 October 2007

{{{r}}}
[[AoPSWiki:Chess/Chess Tournament Info/{{{p}}}|Previous round]] | [[AoPSWiki:Chess/Chess Tournament Info/{{{n}}}|Next round]]

Template documentation

This template is to be used as follows:

{{chess round|r=roundp=preceding round|n=next round}}

Note that you need the full round name, i.e. "Round 5" as opposed to just "5". For playoffs, put either "Semifinals" or "Finals". If this is the first round, have the p variable be set to the first round as well. If this is the finals, then have the n variable set to the finals as well.