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

From QWiki
m
m
 
(7 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
 +
|lit=https://maps.quakeworld.nu/base/xm00s19.lit
 +
|map=https://maps.quakeworld.nu/base/xm00s19.map
 
}}
 
}}
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
|-
+
* '''lit''' = (optional) URL to download .lit
| '''creator'''
+
* '''map''' = (optional) URL to download .map
| 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 32:
 
|name=
 
|name=
 
|creator=
 
|creator=
|tileset=
+
|year=
|width=
+
|image=
|height=
+
|gametype=
|players=
+
|size=
|positions=
+
|family=
|versions=
+
|download=
|span=
+
|loc=
|leagues=
+
|lit=
 +
|map=
 
}}
 
}}
 
</pre>
 
</pre>
Line 83: Line 48:
 
<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
 +
|lit=https://maps.quakeworld.nu/base/xm00s19.lit
 +
|map=https://maps.quakeworld.nu/base/xm00s19.map
 
}}
 
}}
 
</pre>
 
</pre>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>

Latest revision as of 13:53, 20 September 2024

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

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
  • lit = (optional) URL to download .lit
  • map = (optional) URL to download .map

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=
|lit=
|map=
}}

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
|lit=https://maps.quakeworld.nu/base/xm00s19.lit
|map=https://maps.quakeworld.nu/base/xm00s19.map
}}