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

From QWiki
m (Fixed |year not working)
m
Line 1: Line 1:
 
{{Infobox map
 
{{Infobox map
|name=Mapname
+
|name= xm00s19
 
|creator={{player|lurq|flag=se}}
 
|creator={{player|lurq|flag=se}}
|year=2020
+
|year=2019
 
|image=Infobox placeholder.png
 
|image=Infobox placeholder.png
|gametype=2on2
+
|gametype=1on1, ffa
|size=Medium
+
|size=Small
|family=TB5
+
|family=Fun maps
 
|no-cat=true
 
|no-cat=true
 +
|download=https://maps.quakeworld.nu/base/xm00s19.bsp
 
}}
 
}}
 
This Infobox is designed to give basic information about Quakeworld maps.
 
This Infobox is designed to give basic information about Quakeworld maps.
Line 17: Line 18:
 
* '''gametype''' = (optional) 1on1, 2on2, 4on4, ffa, dmm4 or other modes
 
* '''gametype''' = (optional) 1on1, 2on2, 4on4, ffa, dmm4 or other modes
 
* '''size''' = (optional) Small, Medium, Large
 
* '''size''' = (optional) Small, Medium, Large
* '''family''' = (optional) TB3 or TB5
+
* '''family''' = (optional) What category/family it belongs to
  
 
=== Blank template ===
 
=== Blank template ===
Line 30: Line 31:
 
|size=
 
|size=
 
|family=
 
|family=
 +
|download=
 
}}
 
}}
 
</pre>
 
</pre>
Line 37: Line 39:
 
<pre style="overflow: auto">
 
<pre style="overflow: auto">
 
{{Infobox map
 
{{Infobox map
|name=Mapname
+
|name= xm00s19
 
|creator={{player|lurq|flag=se}}
 
|creator={{player|lurq|flag=se}}
|year=2020
+
|year=2019
 
|image=Infobox placeholder.png
 
|image=Infobox placeholder.png
|gametype=2on2
+
|gametype=1on1, ffa
|size=Medium
+
|size=Small
|family=TB5
+
|family=Fun maps
 
|no-cat=true
 
|no-cat=true
 +
|download=https://maps.quakeworld.nu/base/xm00s19.bsp
 
}}
 
}}
 
</pre>
 
</pre>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
 
<noinclude>[[Category:Template Documentation Pages]]</noinclude>

Revision as of 11:34, 9 October 2020

[e][h]xm00s19
Infobox placeholder.png
Creator:
Released:
2019
Gametype:
1on1, ffa
Size:
Small
Family:
Fun maps
Download:

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

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

Example

The code below created the Infobox on this page.

{{Infobox map
|name= xm00s19
|creator={{player|lurq|flag=se}}
|year=2019
|image=Infobox placeholder.png
|gametype=1on1, ffa
|size=Small
|family=Fun maps
|no-cat=true
|download=https://maps.quakeworld.nu/base/xm00s19.bsp
}}