Difference between revisions of "User:GrampaSwood/Template:Maplistgeneric/row"

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
Line 1: Line 1:
 
|-
 
|-
 
| [[File:{{{image}}}|{{{size|150px}}}|link={{{map}}}{{if lang}}]]
 
| [[File:{{{image}}}|{{{size|150px}}}|link={{{map}}}{{if lang}}]]
| {{#switch:{{{map-type}}}
+
| {{#switch:{{lc:{{{map-type}}}}}
 
  | community = {{italics|{{map link|{{{map}}}}}}}
 
  | community = {{italics|{{map link|{{{map}}}}}}}
 
  | valve = {{map link|{{{map}}}}}
 
  | valve = {{map link|{{{map}}}}}

Latest revision as of 21:56, 27 January 2024

|- | [[File:{{{image}}}|150px|link={{{map}}}]] | | {{dictionary/common_strings/{{{mode}}}|null=|2=|3=|4=|5=|6=}} | {{{filename}}} | {{{patch}}} | Valve

Documentation for GrampaSwood/Template:Maplistgeneric/row

Usage

Used on the List of maps template.

{{/row
| image =
| map = 
| map-type =
| mode =
| filename =
| patch =
}}

Parameters

image
File name of the map, does not need "File:" but requires the extension (.jpg, .png, etc.).
map
Map name, name of the map (i.e. "Ghost Town" not "Coal Town event", "Bonesaw" not "Bonesaw (map)").
map-type
What type of map it is. Accepts "Valve" and "Community", defaults to Valve. Determines italics/bold.
mode
Game mode.
filename
Map's filename, for example, arena_lumberyard_event. Also handles the map developers using {{Map credits}}.
patch
The patch the map was introduced in, uses {{Patch name}}, requires {{{1}}}