Difference between revisions of "Template:Map example"

From Worms Knowledge Base

Jump to: navigation, search
(new parameter: title)
m (description text)
 
Line 6: Line 6:
 
-->{{{map}}}{{#if:{{{wmdb|}}}|<br/>[http://www.wmdb.org/maps/{{{wmdb}}} Examples at the WMDB]}}</td></tr>
 
-->{{{map}}}{{#if:{{{wmdb|}}}|<br/>[http://www.wmdb.org/maps/{{{wmdb}}} Examples at the WMDB]}}</td></tr>
 
{{#if: {{{isInTable|}}}||</table>}}<noinclude>
 
{{#if: {{{isInTable|}}}||</table>}}<noinclude>
This is a sub-template of [[:Template:Game setup]].
+
This is a sub-template of [[:Template:Game setup]], but can be used directly and independently.
 
== Usage ==
 
== Usage ==
 
<nowiki>{{Map example</nowiki><br/>
 
<nowiki>{{Map example</nowiki><br/>

Latest revision as of 13:14, 10 May 2010

{{{title}}}
Map
{{{map}}}

This is a sub-template of Template:Game setup, but can be used directly and independently.

Usage

{{Map example
|title=title text, shown before the "map" section
|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)
|mappic=a picture about the map
|mappic-v=same as {{{mappic}}}, but for a vertical map
}}

Personal tools