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

From QWiki
m (Finishing cleanup of doc)
m (Fixed |year not working)
Line 2: Line 2:
 
|name=Mapname
 
|name=Mapname
 
|creator={{player|lurq|flag=se}}
 
|creator={{player|lurq|flag=se}}
|released year=2020
+
|year=2020
 
|image=Infobox placeholder.png
 
|image=Infobox placeholder.png
 
|gametype=2on2
 
|gametype=2on2
Line 13: Line 13:
 
* '''name''' = Map name
 
* '''name''' = Map name
 
* '''creator''' = (optional) Nickname of author with flag
 
* '''creator''' = (optional) Nickname of author with flag
* '''released year''' = (optional) Year first released
+
* '''year''' = (optional) Year first released
 
* '''image''' = (optional) Picture
 
* '''image''' = (optional) Picture
 
* '''gametype''' = (optional) 1on1, 2on2, 4on4, ffa, dmm4 or other modes
 
* '''gametype''' = (optional) 1on1, 2on2, 4on4, ffa, dmm4 or other modes
Line 25: Line 25:
 
|name=
 
|name=
 
|creator=
 
|creator=
|released year=
+
|year=
 
|image=
 
|image=
 
|gametype=
 
|gametype=
Line 39: Line 39:
 
|name=Mapname
 
|name=Mapname
 
|creator={{player|lurq|flag=se}}
 
|creator={{player|lurq|flag=se}}
|released year=2020
+
|year=2020
 
|image=Infobox placeholder.png
 
|image=Infobox placeholder.png
 
|gametype=2on2
 
|gametype=2on2

Revision as of 11:06, 9 October 2020

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

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

Example

The code below created the Infobox on this page.

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