Difference between revisions of "Template:Infobox map/doc"

From QWiki
m
m (Finishing cleanup of doc)
Line 1: Line 1:
 
{{Infobox map
 
{{Infobox map
|creator=
+
|name=Mapname
|released year=
+
|creator={{player|lurq|flag=se}}
|image=
+
|released year=2020
|gametype=
+
|image=Infobox placeholder.png
|size=
+
|gametype=2on2
|Family=
+
|size=Medium
 +
|family=TB5
 
|no-cat=true
 
|no-cat=true
 
}}
 
}}
This Infobox is designed to give basic information about Starcraft 2 maps.
+
This Infobox is designed to give basic information about Quakeworld maps.
 
===Parameters===
 
===Parameters===
{| class="wikitable"
+
* '''name''' = Map name
! style="text-align: left" | Parameter
+
* '''creator''' = (optional) Nickname of author with flag
! style="text-align: left" | Explanation
+
* '''released year''' = (optional) Year first released
|-
+
* '''image''' = (optional) Picture
| '''id'''
+
* '''gametype''' = (optional) 1on1, 2on2, 4on4, ffa, dmm4 or other modes
| This is the tlpd ID for the map.  '''Please fill this in, as many of the following parameters will be auto-filled.''' For example, you can visit the Kulas Ravine entry at TLPD here:<br/>http://www.teamliquid.net/tlpd/sc2-korean/maps/386_Kulas_Ravine<br/>The ID for Kulas Ravine is 386.
+
* '''size''' = (optional) Small, Medium, Large
|-
+
* '''family''' = (optional) TB3 or TB5
| '''name'''
 
| '''Autofilled by ID.''' Name of map.
 
|-
 
| '''creator'''
 
| Name of Map Creator.
 
|-
 
| '''tileset'''
 
| '''Autofilled by ID.''' Name of map tileset.
 
|-
 
| '''width'''
 
| '''Autofilled by ID.''' Width of map.
 
|-
 
| '''height'''
 
| '''Autofilled by ID.''' Height of map.
 
|-
 
| '''players'''
 
| '''Autofilled by ID.''' Number of players for map.
 
|-
 
| '''positions'''
 
| '''Autofilled by ID.''' Spawn positions, e.g. '''12, 6''' for 12 o'clock and 6 o'clock.
 
|-
 
| '''versions'''
 
| Different versions of map.
 
|-
 
| '''span'''
 
| When the map was in competitive use, e.g. July 2010-July 2011.
 
|-
 
| '''leagues'''
 
| What leagues the map has been featured in.
 
|-
 
| '''no-cat'''
 
| Set to '''true''' and categories will not be applied to the page.
 
|}
 
=== Blank template for maps with tlpd ID ===
 
You can copy the code snippet below and fill in the parameters to customize this Infobox.  If any parameter doesn't apply, leave it blank and that line will not appear in the Infobox.
 
<pre style="overflow: auto">
 
{{Infobox map
 
|id=
 
|creator=
 
|versions=
 
|span=
 
|leagues=
 
}}
 
</pre>
 
  
=== Blank template for maps without tlpd ID ===
+
=== Blank template ===
 
You can copy the code snippet below and fill in the parameters to customize this Infobox.  If any parameter doesn't apply, leave it blank and that line will not appear in the Infobox.
 
You can copy the code snippet below and fill in the parameters to customize this Infobox.  If any parameter doesn't apply, leave it blank and that line will not appear in the Infobox.
 
<pre style="overflow: auto">
 
<pre style="overflow: auto">
Line 68: Line 25:
 
|name=
 
|name=
 
|creator=
 
|creator=
|tileset=
+
|released year=
|width=
+
|image=
|height=
+
|gametype=
|players=
+
|size=
|positions=
+
|family=
|versions=
 
|span=
 
|leagues=
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 83: Line 37:
 
<pre style="overflow: auto">
 
<pre style="overflow: auto">
 
{{Infobox map
 
{{Infobox map
|id=527
+
|name=Mapname
|creator=Blizzard Entertainment
+
|creator={{player|lurq|flag=se}}
|versions=
+
|released year=2020
|span=December 2011 – April 2013
+
|image=Infobox placeholder.png
 +
|gametype=2on2
 +
|size=Medium
 +
|family=TB5
 +
|no-cat=true
 
}}
 
}}
 
</pre>
 
</pre>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>

Revision as of 11:04, 9 October 2020

[e][h]Mapname
Infobox placeholder.png
Creator:
Gametype:
2on2
Size:
Medium
Family:
TB5
Download:

This Infobox is designed to give basic information about Quakeworld maps.

Parameters

  • name = Map name
  • creator = (optional) Nickname of author with flag
  • released year = (optional) Year first released
  • image = (optional) Picture
  • gametype = (optional) 1on1, 2on2, 4on4, ffa, dmm4 or other modes
  • size = (optional) Small, Medium, Large
  • family = (optional) TB3 or TB5

Blank template

You can copy the code snippet below and fill in the parameters to customize this Infobox. If any parameter doesn't apply, leave it blank and that line will not appear in the Infobox.

{{Infobox map
|name=
|creator=
|released year=
|image=
|gametype=
|size=
|family=
}}

Example

The code below created the Infobox on this page.

{{Infobox map
|name=Mapname
|creator={{player|lurq|flag=se}}
|released year=2020
|image=Infobox placeholder.png
|gametype=2on2
|size=Medium
|family=TB5
|no-cat=true
}}