Difference between revisions of "Template:Game setup"

From Worms Knowledge Base

Jump to: navigation, search
m (links)
Line 1: Line 1:
{| 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;">
! style="font-size: 150%" | Game setup
+
<tr><th style="font-size: 150%">Game setup</th></tr>
|-
+
<tr><th bgcolor="#dddddd">Scheme</th></tr>
! bgcolor="#dddddd" | Scheme
+
<tr><td>{{{scheme|{{PAGENAME}}}}}:
|-
+
: '''[[Media:{{{file|{{{1}}}}}}|Download]]'''
| {{{scheme}}}:
+
: [[:Image:{{{file|{{{1}}}}}}|View scheme settings]]</td></tr>
: '''[[Media:{{{file}}}|Download]]'''<br/>
+
{{#if:{{{map|}}}|{{Map example|isInTable=1|map={{{map}}}|wmdb={{{wmdb}}}}}}}
: [[:Image:{{{file}}}|View scheme settings]]
+
{{#if:{{{worms|}}}|<tr><th bgcolor="#dddddd">Worms</th></tr>
{{#if:{{{map|}}}|{{!}}-
+
<tr><td>{{{worms}}}</td></tr>}}</table></includeonly><noinclude>
! bgcolor="#dddddd" {{!}} Map
+
{{Game setup|{{{file}}}|scheme={{{scheme}}}|map={{{map}}}|worms={{{worms}}}}}
{{!}}-
+
{{!}} {{{map}}}}}
+
{{#if:{{{wmdb|}}}|[http://www.wmdb.org/maps/{{{wmdb}}} Examples at the WMDB]}}
+
{{#if:{{{worms|}}}|{{!}}-
+
! bgcolor="#dddddd" {{!}} Worms
+
{{!}}-
+
{{!}} {{{worms}}}}}
+
|}<noinclude>
+
 
== Usage ==
 
== Usage ==
<noinclude><nowiki>{{Game_setup</nowiki><br>
+
<noinclude><nowiki>{{Game_setup</nowiki><br/>
|file=name of file including extension<br>
+
|file=name of file including extension ''(required field)''<br/>
|scheme=name of scheme<br>
+
|scheme=name of scheme ''(defaults to PAGENAME)''<br/>
|map=blurb about map<br>
+
|map=blurb about map<br/>
|wmdb=name of relevant directory on wmdb (eg if http://www.wmdb.org/maps/bng, then 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>
|worms=blurb about teams/worms<br>
+
|worms=blurb about teams/worms<br/>
 
<nowiki>}}</nowiki>
 
<nowiki>}}</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 09:37, 20 March 2010

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)
|worms=blurb about teams/worms
}}

Personal tools