Difference between revisions of "Template:Map"

From OBEY wiki
Jump to: navigation, search
(map template)
 
(square brace inside the ifnull field)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[File:map_{{{name|name}}}_Tiled.png|left|x300px]]
+
<includeonly>[[File:{{{fnprefix|}}}map_{{{name|noname}}}_Tiled.png|left|x300px]]
:'''Map creator:''' {{{author|author}}}
+
:'''Map creator:''' {{{author|''Unknown''}}}
:'''Tyranny Index''': {{{index|&#9734;&#9734;&#9734;}}}
+
:'''Tyranny Index''': {{{index|''Unrated''}}}
{{{description|map description}}}
+
:{{{download|[https://dl.dropboxusercontent.com/u/89228792/OBEY/maps/{{{name}}}{{{version|}}}.tmx?dl=1 Download {{{name|Unnamed Map}}}]}}}
 +
{{{description|''No description''}}}
 
<div style="clear:both;"></div></includeonly><noinclude>
 
<div style="clear:both;"></div></includeonly><noinclude>
  
 
{{Map
 
{{Map
| name = zoneZero
+
| name = zoneOne
 
| author = Dan Dez
 
| author = Dan Dez
 
| index = &#9733;&#9733;&#9734;
 
| index = &#9733;&#9733;&#9734;
 +
| version =
 +
| fnprefix =
 
| description = zoneOne was the first map ever created. It features a drop zone that is fairly close to...
 
| description = zoneOne was the first map ever created. It features a drop zone that is fairly close to...
 
}}
 
}}
  
 +
Parameters:
 +
*name: Map name. This should be the exact same capitalization as the filename of the map, excluding version suffixes.
 +
*author: Map author.
 +
*index: Tyranny index. See the [[Maps]] page for more info. Use &amp;#9733 to display a black star, and &amp;#9734 to display a white one. Leave this field empty if unrated.
 +
*version: If the map has a version suffix in the filename, this is the exact text of the suffix, spaces/underscores included. Do not include this field in the template otherwise.
 +
*fnprefix: If the map is a community map, this parameter should equal "Community". If an official map, do not include this field.
 +
*download: If the map is available for download, leave this empty (it will default to a link to a map download on HexZyle's dropbox). Otherwise, enter text to explain the lack of a download.
 +
*description: An overview of the map's geology and points of interest<br/>
 +
<br/>
 
Usage:<br/>
 
Usage:<br/>
 
  <nowiki>{{Map</nowiki>
 
  <nowiki>{{Map</nowiki>
  | name = zoneZero
+
  | name = zoneOne
 
  | author = Dan Dez
 
  | author = Dan Dez
 
  | index = <nowiki>&amp;#9733;&amp;#9733;&amp;#9734;</nowiki>
 
  | index = <nowiki>&amp;#9733;&amp;#9733;&amp;#9734;</nowiki>
 +
| version =
 +
| fnprefix =
 
  | description = zoneOne was the first map ever created. It features a drop zone that is fairly close to...
 
  | description = zoneOne was the first map ever created. It features a drop zone that is fairly close to...
 
  }}
 
  }}

Latest revision as of 11:21, 6 June 2015


Map zoneOne Tiled.png
Map creator: Dan Dez
Tyranny Index: ★★☆
Download zoneOne

zoneOne was the first map ever created. It features a drop zone that is fairly close to...

Parameters:

  • name: Map name. This should be the exact same capitalization as the filename of the map, excluding version suffixes.
  • author: Map author.
  • index: Tyranny index. See the Maps page for more info. Use &#9733 to display a black star, and &#9734 to display a white one. Leave this field empty if unrated.
  • version: If the map has a version suffix in the filename, this is the exact text of the suffix, spaces/underscores included. Do not include this field in the template otherwise.
  • fnprefix: If the map is a community map, this parameter should equal "Community". If an official map, do not include this field.
  • download: If the map is available for download, leave this empty (it will default to a link to a map download on HexZyle's dropbox). Otherwise, enter text to explain the lack of a download.
  • description: An overview of the map's geology and points of interest


Usage:

{{Map
| name = zoneOne
| author = Dan Dez
| index = &#9733;&#9733;&#9734;
| version =
| fnprefix = 
| description = zoneOne was the first map ever created. It features a drop zone that is fairly close to...
}}