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

From Team Fortress Wiki
Jump to: navigation, search
m
m (Added doc)
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]]}}}
+
| {{{developers|[[Valve{{if lang}}|Valve]]}}}<noinclude>
 +
{{Doc begin}}
 +
== Usage ==
 +
Used on the [[Template:List of Halloween maps|List of Halloween maps template]].
 +
<pre>
 +
{{/row
 +
| map-image =
 +
| map =
 +
| original =
 +
| mode =
 +
| filename =
 +
| patch =
 +
| major =
 +
| developers =
 +
}}
 +
</pre>
 +
 
 +
=== 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")
 +
 
 +
; original
 +
: Original map that this is a Halloween version of. For example, [[Upward]] is the original map that [[Hassle Castle]] is based on.
 +
 
 +
; mode
 +
: Game mode
 +
 
 +
; filename
 +
: Map's filename, for example, arena_lumberyard_event
 +
 
 +
; patch
 +
: The patch the map was introduced in, uses {{tl|Patch name}}, requires {{code|sort=yes}}
 +
 
 +
; major
 +
: 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>

Revision as of 17:18, 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 =
| map = 
| original =
| mode =
| filename =
| patch =
| major =
| developers =
}}

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")
original
Original map that this is a Halloween version of. For example, Upward is the original map that Hassle Castle is based on.
mode
Game mode
filename
Map's filename, for example, arena_lumberyard_event
patch
The patch the map was introduced in, uses {{Patch name}}, requires {{{1}}}
major
Major update the map was introduced in, uses {{map link}}
developers
Developers on the map, use {{Qmark}} for localising quotation marks. Defaults to Valve if not added.