Difference between revisions of "Template:Game setup"

From Worms Knowledge Base

Jump to: navigation, search
m (usage section, also testing another if statement)
m (fixing usage section; adding another #if thing)
Line 7: Line 7:
 
: [[Media:{{{file}}}|Download]]<br>
 
: [[Media:{{{file}}}|Download]]<br>
 
: <span class="plainlinks">[{{SERVER}}{{localurl:Image:{{{file}}}}} View scheme settings]</span>
 
: <span class="plainlinks">[{{SERVER}}{{localurl:Image:{{{file}}}}} View scheme settings]</span>
|-
+
{{#if:{{{map|}}}|{{!}}-
| bgcolor="#dddddd" | '''Map'''
+
{{!}} bgcolor="#dddddd" {{!}} '''Map'''
|-  
+
{{!}}-  
| {{{map}}}
+
{{!}} {{{map}}}
 
{{#if:{{{wmdb|}}}|[http://www.wmdb.org/maps/{{{wmdb}}} Examples at the WMDB]}}
 
{{#if:{{{wmdb|}}}|[http://www.wmdb.org/maps/{{{wmdb}}} Examples at the WMDB]}}
 
{{#if:{{{worms|}}}|{{!}}-  
 
{{#if:{{{worms|}}}|{{!}}-  
Line 18: Line 18:
 
|}<noinclude>
 
|}<noinclude>
 
== Usage ==
 
== Usage ==
<nowiki>{{Game_setup
+
<nowiki>{{Game_setup<br>
|file=name of file including extension
+
|file=name of file including extension<br>
|scheme=name of scheme
+
|scheme=name of scheme<br>
|map=blurb about map
+
|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)
+
|wmdb=name of relevant directory on wmdb (eg if http://www.wmdb.org/maps/bng, then this should be wmdb=bng)<br>
|worms=blurb about teams/worms
+
|worms=blurb about teams/worms<br>
 
}}
 
}}
 
</nowiki>
 
</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 18:53, 18 June 2008

Game setup
Scheme
{{{scheme}}}:
[[Media:{{{file}}}|Download]]
View scheme settings

{{#if:||-

Map
{{{map}}}


Usage

{{Game_setup<br> |file=name of file including extension<br> |scheme=name of scheme<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> |worms=blurb about teams/worms<br> }}

Personal tools