Difference between revisions of "Template:Chess game"

(creation)
 
(lsited by)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class='wikitable' style='border: 1px solid black; padding: 5px; background-color: #ffffEE; font-size: larger;-moz-border-radius: 10px;-webkit-border-radius: 5px;'
+
<center>
| '''This is an {{{1}}} [[AoPSWiki:Chess/Chess Tournament Info|chess tournament game]].'''
+
{| 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;' |'''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/Round {{{r}}}/Game {{{n}}}|Next game]]
 
|}
 
|}
 
+
</center>
  
 
<includeonly>
 
<includeonly>
 
[[Category:AoPSWiki Games]]
 
[[Category:AoPSWiki Games]]
[[Category:Current {{{1}}} 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 20: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.