Template:Half-Life 2/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 16: | Line 16: | ||
| → {{ {{ROOTPAGENAME}} }} | | → {{ {{ROOTPAGENAME}} }} | ||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}| | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|1|suf{{=}}:es}} | ||
| → {{{{ROOTPAGENAME}}| | | → {{{{ROOTPAGENAME}}|1|suf=:es}} | ||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}| | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|2}} | ||
| → {{{{ROOTPAGENAME}}| | | → {{{{ROOTPAGENAME}}|2}} | ||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}| | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3}} | ||
| → {{{{ROOTPAGENAME}}| | | → {{{{ROOTPAGENAME}}|3}} | ||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}| | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|suf{{=}}:zh-cn}} | ||
| → {{{{ROOTPAGENAME}}| | | → {{{{ROOTPAGENAME}}|4|suf=:zh-cn}} | ||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}| | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|col}} | ||
| → {{{{ROOTPAGENAME}}| | | → {{{{ROOTPAGENAME}}|col}} | ||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}| | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|since}} | ||
| → {{{{ROOTPAGENAME}}| | | → {{{{ROOTPAGENAME}}|since}} | ||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}| | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|removed|suf{{=}}:ru}} | ||
| → {{{{ROOTPAGENAME}}| | | → {{{{ROOTPAGENAME}}|removed|suf=:ru}} | ||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}| | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|also|suf{{=}}:de|addtext{{=}}{{tlf|csgo|suf{{=}}:de}} {{tlf|l4d2|suf{{=}}:de}}}} | ||
| → {{{{ROOTPAGENAME}}| | | → {{{{ROOTPAGENAME}}|also|suf=:de|addtext={{csgo|suf=:de}} {{l4d2|suf=:de}}}} | ||
|} | |} | ||
Revision as of 11:34, 18 April 2022

This is a documentation subpage for Template:Half-Life 2.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Usage
Delivers the icon and/or a link of the game that has this abreviation. Can also obtain the {{game color}}.
This template is based on {{new icon}}.
Parameters
- {{{p}}} - Optional: The representation, see the examples below. Can be set to:
1, 2, 3, 4, col, in, also, only, since, removed, not
. - {{{suf}}} - Optional: The language suffix of the linked page, e.g.
:es
, see {{lang}}. - {{{addtext}}} - Optional: If {{{p}}} is set to
in
, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons.
Examples
{{half-Life 2}}
|
→ ![]() |
{{half-Life 2|1|suf=:es}}
|
→ Half-Life 2 |
{{half-Life 2|2}}
|
→ ![]() |
{{half-Life 2|3}}
|
→ Half-Life 2 |
{{half-Life 2|4|suf=:zh-cn}}
|
→ ![]() |
{{half-Life 2|col}}
|
→ #E6AC39 |
{{half-Life 2|since}}
|
→ (in all games since ![]() |
{{half-Life 2|removed|suf=:ru}}
|
→ (removed since ![]() |
{{half-Life 2|also|suf=:de|addtext={{csgo|suf=:de}} {{l4d2|suf=:de}}}}
|
→ (also in ![]() ![]() ![]() |