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

From QWiki
m
m (Added loc)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Infobox map
 
{{Infobox map
|creator=
+
|name= xm00s19
|released year=
+
|creator={{player|lurq|flag=se}}
|image=
+
|year=2019
|gametype=
+
|image=Map Xm00s19.jpg
|size=
+
|gametype=1on1, ffa
|Family=
+
|size=Small
|no-cat=true
+
|family=Fun maps
 +
|download=https://maps.quakeworld.nu/base/xm00s19.bsp
 +
|loc=https://cdn.discordapp.com/attachments/501427349846360064/502962604340281355/an1-beta6.loc
 
}}
 
}}
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
+
* '''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) What category/family it belongs to
| '''name'''
+
* '''download''' = (optional) URL to download bsp
| '''Autofilled by ID.''' Name of map.
+
* '''loc''' = (optional) URL to download loc
|-
 
| '''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 28:
 
|name=
 
|name=
 
|creator=
 
|creator=
|tileset=
+
|year=
|width=
+
|image=
|height=
+
|gametype=
|players=
+
|size=
|positions=
+
|family=
|versions=
+
|download=
|span=
+
|loc=
|leagues=
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 83: Line 42:
 
<pre style="overflow: auto">
 
<pre style="overflow: auto">
 
{{Infobox map
 
{{Infobox map
|id=527
+
|name= xm00s19
|creator=Blizzard Entertainment
+
|creator={{player|lurq|flag=se}}
|versions=
+
|year=2019
|span=December 2011 – April 2013
+
|image=Map Xm00s19.jpg
 +
|gametype=1on1, ffa
 +
|size=Small
 +
|family=Fun maps
 +
|download=https://maps.quakeworld.nu/base/xm00s19.bsp
 +
|loc=https://cdn.discordapp.com/attachments/501427349846360064/502962604340281355/an1-beta6.loc
 
}}
 
}}
 
</pre>
 
</pre>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>

Latest revision as of 12:44, 9 October 2020

[e][h]xm00s19
Map Xm00s19.jpg
Creator:
Released:
2019
Gametype:
1on1, ffa
Size:
Small
Family:
Fun maps

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

Parameters

  • name = Map name
  • creator = (optional) Nickname of author with flag
  • 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) What category/family it belongs to
  • download = (optional) URL to download bsp
  • loc = (optional) URL to download loc

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=
|year=
|image=
|gametype=
|size=
|family=
|download=
|loc=
}}

Example

The code below created the Infobox on this page.

{{Infobox map
|name= xm00s19
|creator={{player|lurq|flag=se}}
|year=2019
|image=Map Xm00s19.jpg
|gametype=1on1, ffa
|size=Small
|family=Fun maps
|download=https://maps.quakeworld.nu/base/xm00s19.bsp
|loc=https://cdn.discordapp.com/attachments/501427349846360064/502962604340281355/an1-beta6.loc
}}