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

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 4: Line 4:
 
| {{Common string|{{{mode}}}}}<br>{{code|{{{filename}}}}}
 
| {{Common string|{{{mode}}}}}<br>{{code|{{{filename}}}}}
 
| {{{patch}}}{{#if:{{{major|}}}|<br>{{Parenthesis|{{update link|{{{major}}}}}}}|}}
 
| {{{patch}}}{{#if:{{{major|}}}|<br>{{Parenthesis|{{update link|{{{major}}}}}}}|}}
| {{{developers|[[Valve{{if lang}}|Valve]]}}}<noinclude>
+
| {{Map credits|{{{filename}}}}}<noinclude>
 
{{Doc begin}}
 
{{Doc begin}}
 
== Usage ==
 
== Usage ==
Line 11: Line 11:
 
{{/row
 
{{/row
 
| map-image =
 
| map-image =
 +
| image-link
 
| map =  
 
| map =  
 
| original =
 
| original =
 +
| original-name =
 
| mode =
 
| mode =
 
| filename =
 
| filename =
 
| patch =
 
| patch =
 
| major =
 
| major =
| developers =
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 41: Line 42:
  
 
; filename
 
; filename
: Map's filename, for example, arena_lumberyard_event.
+
: Map's filename, for example, arena_lumberyard_event. Also handles the map developers using {{tl|Map credits}}.
  
 
; patch
 
; patch
Line 48: Line 49:
 
; major
 
; major
 
: Major update the map was introduced in, uses {{tl|map link}}
 
: Major update the map was introduced in, uses {{tl|map link}}
 
; developers
 
: Developers on the map, use {{tl|Qmark}} for localising quotation marks. Defaults to Valve if not added.
 
 
</noinclude>
 
</noinclude>

Revision as of 20:21, 28 November 2023

|- | [[File:{{{map-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}}} | Valve

Documentation for GrampaSwood/Template:Maplist/row

Usage

Used on the List of Halloween maps template.

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

Parameters

map-image
File name of the map, does not need "File:" but requires the extension (.jpg, .png, etc.).
map
Map name, page name of the map (i.e. "Ghost Town" not "Coal Town event").
image-link
Optional, used for link on the map's image intended for use on maps with parenthesis in name (Ambush (custom map), Bonesaw (map)).
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-name
Optional, override for the "original" parameter's displayed text. Used for maps with parenthesis in name.
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 {{map link}}