Difference between revisions of "Template:Map example"

From Worms Knowledge Base

Jump to: navigation, search
(code adjusted (to include in Template:Game_setup))
(add description)
Line 2: Line 2:
 
<tr><th bgcolor="#dddddd">Map</th></tr>
 
<tr><th bgcolor="#dddddd">Map</th></tr>
 
<tr><td>{{{map}}}{{#if:{{{wmdb|}}}|<br/>[http://www.wmdb.org/maps/{{{wmdb}}} Examples at the WMDB]}}</td></tr>
 
<tr><td>{{{map}}}{{#if:{{{wmdb|}}}|<br/>[http://www.wmdb.org/maps/{{{wmdb}}} Examples at the WMDB]}}</td></tr>
{{#if: {{{isInTable|}}}||</table>}}
+
{{#if: {{{isInTable|}}}||</table>}}<noinclude>
 +
This is a sub-template of [[:Template:Game setup]].
 +
== Usage ==
 +
<nowiki>{{Map example</nowiki><br/>
 +
|map=blurb about map ''(required field)''<br/>
 +
|wmdb=name of relevant directory on wmdb (e.g. for http://www.wmdb.org/maps/bng, this should be wmdb=bng)<br/>
 +
<nowiki>}}</nowiki>
 +
</noinclude>

Revision as of 09:44, 20 March 2010

Map
{{{map}}}

This is a sub-template of Template:Game setup.

Usage

{{Map example
|map=blurb about map (required field)
|wmdb=name of relevant directory on wmdb (e.g. for http://www.wmdb.org/maps/bng, this should be wmdb=bng)
}}

Personal tools