Difference between revisions of "User:GrampaSwood/Maplistchristmas/row"

From Team Fortress Wiki
Jump to: navigation, search
m (Oops)
m
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
  | valve | #default = {{map link|{{{map}}}}}
 
  | valve | #default = {{map link|{{{map}}}}}
 
}}{{#switch:{{lc:{{{original-type}}}}}
 
}}{{#switch:{{lc:{{{original-type}}}}}
  | custom = <br>('''{{map link|{{{original}}}}}''')
+
  | custom = <br>('''[[{{{original}}}{{if lang}}|{{{original}}}]]''')
 
  | community = <br>({{italics|{{map link|{{{original}}}}}}})
 
  | community = <br>({{italics|{{map link|{{{original}}}}}}})
  | valve | #default =  
+
  | valve = <br>({{map link|{{{original}}}}})
 +
| none | #default =
 
}}
 
}}
 
| {{Common string|{{{mode}}}}}<br>{{code|{{{filename}}}}}
 
| {{Common string|{{{mode}}}}}<br>{{code|{{{filename}}}}}
Line 56: Line 57:
  
 
; major
 
; major
: Major update the map was introduced in, uses {{tl|map link}}
+
: Major update the map was introduced in, uses {{tl|update link}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:51, 27 January 2024

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

Documentation for GrampaSwood/Maplistchristmas/row

Usage

Used on the List of Christmas maps template.

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

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.
original
Optional, original map that this is a Halloween version of. For example, Upward is the original map that Hassle Castle is based on.
original-type
What type of map the original map is. Accepts "Valve", "Custom", and "Community". Defaults to none (will also display nothing).
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}}}
major
Major update the map was introduced in, uses {{update link}}