Difference between revisions of "Template:Chess game"

(template)
(lsited by)
 
(9 intermediate revisions by the same user not shown)
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;' |''' {{{{{{f}}}|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]]'''
 
|-  
 
|-  
| {{{'''First game'''|[[AoPSWiki:Chess/Chess Tournament Info/{{{{{{f}}}|Round {{{r}}}}}}/Game {{{p}}}|Previous game]]}}} | '''Game {{{g}}}''' | {{{'''Last game'''|[[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>
 +
 +
<noinclude>
 +
==Template documentation==
 +
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'''''}}
 +
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>[[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.