Difference between revisions of "Template:Game setup"

From Worms Knowledge Base

Jump to: navigation, search
(new parameters: mappic and mappic-v)
(+ title parameter (Template_talk:Map_example))
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly><table class="infobox" cellspacing="2" style="width: 18em; font-size: 90%; text-align: left;">
 
<includeonly><table class="infobox" cellspacing="2" style="width: 18em; font-size: 90%; text-align: left;">
<tr><th style="font-size: 150%">Game setup</th></tr>
+
{{#if:{{{title|Game setup}}}|<tr><th style="font-size: 150%">{{{title|Game setup}}}</th></tr>}}
 
<tr><th bgcolor="#dddddd">Scheme</th></tr>
 
<tr><th bgcolor="#dddddd">Scheme</th></tr>
 
<tr><td>{{{scheme|{{PAGENAME}}}}}:
 
<tr><td>{{{scheme|{{PAGENAME}}}}}:
Line 15: Line 15:
 
|map=blurb about map<br/>
 
|map=blurb about map<br/>
 
|wmdb=name of relevant directory on wmdb (e.g. for http://www.wmdb.org/maps/bng, this should be wmdb=bng)<br>
 
|wmdb=name of relevant directory on wmdb (e.g. for http://www.wmdb.org/maps/bng, this should be wmdb=bng)<br>
 +
|mappic=a picture about the map<br/>
 +
|mappic-v=same as {{{mappic}}}, but for a vertical map<br/>
 
|worms=blurb about teams/worms<br/>
 
|worms=blurb about teams/worms<br/>
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
 
</noinclude>
 
</noinclude>

Latest revision as of 10:15, 26 January 2011

Game setup
Scheme
{{{scheme}}}:
[[Media:{{{file}}}|Download]]
[[:Image:{{{file}}}|View scheme settings]]
Map
{{{map}}}
Worms
{{{worms}}}

Usage

{{Game_setup
|file=name of file including extension (required field)
|scheme=name of scheme (defaults to PAGENAME)
|map=blurb about map
|wmdb=name of relevant directory on wmdb (e.g. for http://www.wmdb.org/maps/bng, this should be wmdb=bng)
|mappic=a picture about the map
|mappic-v=same as {{{mappic}}}, but for a vertical map
|worms=blurb about teams/worms
}}

Personal tools