Difference between revisions of "User:Piphi/Chess/Template:Game"
< User:Piphi | Chess
(Created page with "<center> {| style='background:#ffce9e;border:1px solid black;width:25%;font-size:12px;' class='wikitable' |+ style='text-align:center;font-size:12px;background:#d18b47;border:...") |
|||
Line 3: | Line 3: | ||
|+ style='text-align:center;font-size:12px;background:#d18b47;border:none;' |'''[[User:Piphi/Chess|<span style="color:#ffffff;font-size:20px;">Piphi's Chess Games</span>]]''' | |+ style='text-align:center;font-size:12px;background:#d18b47;border:none;' |'''[[User:Piphi/Chess|<span style="color:#ffffff;font-size:20px;">Piphi's Chess Games</span>]]''' | ||
|- | |- | ||
− | | [[User:Piphi/Chess/Game_{{{p}}}|Previous | + | | <center>'''{{{before|[[User:Piphi/Chess/Game_{{{p}}}|Previous Game]]}}}''' | '''Game {{{g}}}''' | '''[[User:Piphi/Chess/Game_{{{n}}}|Next game]]'''</center> |
|} | |} | ||
</center> | </center> | ||
− | |||
<includeonly> | <includeonly> | ||
[[Category:Chess_Piphi]] | [[Category:Chess_Piphi]] | ||
Line 15: | Line 14: | ||
This template is to be used as follows: | This template is to be used as follows: | ||
<nowiki>{{User:Piphi/Chess/Template:Game</nowiki>|g='''''game number'''''|p='''''preceding game number'''''|n='''''next game number'''''}} | <nowiki>{{User:Piphi/Chess/Template:Game</nowiki>|g='''''game number'''''|p='''''preceding game number'''''|n='''''next game number'''''}} | ||
+ | |||
+ | {{User:Piphi/Chess/Template:Game|g=2|p=1|n=3}} | ||
+ | |||
+ | If the game is the first then use the template like so: | ||
+ | <nowiki>{{User:Piphi/Chess/Template:Game</nowiki>|g='''''game number'''''|before='''''First Question'''''|n='''''next game number'''''}} | ||
+ | |||
+ | {{User:Piphi/Chess/Template:Game|g=1|before=First Game|n=2}} | ||
</noinclude> | </noinclude> | ||
Revision as of 14:36, 9 June 2020
Template documentation
This template is to be used as follows:
{{User:Piphi/Chess/Template:Game|g=game number|p=preceding game number|n=next game number}}
If the game is the first then use the template like so:
{{User:Piphi/Chess/Template:Game|g=game number|before=First Question|n=next game number}}
Game 1 | Next game |