Difference between revisions of "Template:Scheme"

From Worms Knowledge Base

Jump to: navigation, search
m
Line 1: Line 1:
 
<includeonly><table class="infobox" cellspacing="2" style="width: 18em; text-align: left;"><!--
 
<includeonly><table class="infobox" cellspacing="2" style="width: 18em; text-align: left;"><!--
 
     --title bar (or scheme name)--
 
     --title bar (or scheme name)--
-->{{#if:{{{title|a}}}|<tr><th style="font-size: 120%; background-color: #ddd; text-align: center;">{{{title|{{{scheme|{{PAGENAME}}}}}}}}</th></tr>}}<!--
+
-->{{#if:{{{title|a}}}|<tr><th style="font-size: 120%; text-align: center;">{{{title|{{{scheme|{{PAGENAME}}}}}}}}</th></tr>}}<!--
 
     --scheme file--
 
     --scheme file--
 
-->{{#if:{{{file|}}}{{{1|}}}|<tr><td style="text-align: center;">'''[[Media:{{{file|{{{1}}}}}}|Download]]''' (.wsc)<br/>
 
-->{{#if:{{{file|}}}{{{1|}}}|<tr><td style="text-align: center;">'''[[Media:{{{file|{{{1}}}}}}|Download]]''' (.wsc)<br/>

Revision as of 04:21, 27 January 2011


User:Explorer09/Template:Scheme

Usage

{{Scheme
|title=name of scheme (defaults to PAGENAME)
|file=name of file including extension

|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