Difference between revisions of "Template:Chess game"

(Template documentation: example)
(lsited by)
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
|+ style='text-align:center;font-size:12px;background:#33FF33;border:none;' |'''Round {{{r}}} [[AoPSWiki:Chess/Chess Tournament Info|chess game]]'''
 
|+ style='text-align:center;font-size:12px;background:#33FF33;border:none;' |'''Round {{{r}}} [[AoPSWiki:Chess/Chess Tournament Info|chess game]]'''
 
|-  
 
|-  
| [[AoPSWiki:Chess/Chess Tournament Info/Round {{{r}}}/Game {{{p}}}|Previous game]] | '''Game {{{g}}}''' | [[AoPSWiki:Chess/Chess Tournament Info/{{{{{{5}}}|Round {{{r}}}}}}/Game {{{n}}}|Next game]]
+
| [[AoPSWiki:Chess/Chess Tournament Info/Round {{{r}}}/Game {{{p}}}|Previous game]] | '''Game {{{g}}}''' | [[AoPSWiki:Chess/Chess Tournament Info/Round {{{r}}}/Game {{{n}}}|Next game]]
 
|}
 
|}
 
</center>
 
</center>
Line 9: Line 9:
 
<includeonly>
 
<includeonly>
 
[[Category:AoPSWiki Games]]
 
[[Category:AoPSWiki Games]]
[[Category:Current {{{r}}} Chess Games]]
+
[[Category:Current Round {{{r}}} Chess Games|{{{g}}}]]
 
</includeonly>
 
</includeonly>
  
Line 15: Line 15:
 
==Template documentation==
 
==Template documentation==
 
This template is to be used as follows:
 
This template is to be used as follows:
  <nowiki>{{chess game</nowiki>|r='''''round number'''''|g='''''game number'''''|p='''''preceding game number'''''|n='''''next round number'''''
+
  <nowiki>{{chess game</nowiki>|r='''''round number'''''|g='''''game number'''''|p='''''preceding game number'''''|n='''''next round number'''''}}
 
If the round is either the finals or the semifinals, use [[Template:Playoff chess game]] instead. If there is no preceding or next game, then enter the current game number as the variable.
 
If the round is either the finals or the semifinals, use [[Template:Playoff chess game]] instead. If there is no preceding or next game, then enter the current game number as the variable.
 
</noinclude>
 
</noinclude>
 +
 +
 +
<noinclude>[[Category:Succession templates]]</noinclude>

Latest revision as of 19:24, 30 November 2007

Round {{{r}}} chess game
[[AoPSWiki:Chess/Chess Tournament Info/Round {{{r}}}/Game {{{p}}}|Previous game]] | Game {{{g}}} | [[AoPSWiki:Chess/Chess Tournament Info/Round {{{r}}}/Game {{{n}}}|Next game]]



Template documentation

This template is to be used as follows:

{{chess game|r=round number|g=game number|p=preceding game number|n=next round number}}

If the round is either the finals or the semifinals, use Template:Playoff chess game instead. If there is no preceding or next game, then enter the current game number as the variable.