Template:Half-Life 2/doc: Difference between revisions
Jump to navigation
Jump to search
m (Removed redirect to Category:Game icons/doc) Tag: Removed redirect |
mNo edit summary |
||
Line 6: | Line 6: | ||
===Parameters=== | ===Parameters=== | ||
* {{param|p}} - Optional: The representation, see the examples below. Can be set to: <code>1, 2, 3, 4, col, in</code>. | * {{param|p}} - Optional: The representation, see the examples below. Can be set to: <code>1, 2, 3, 4, col, in, also, only, since, removed, not</code>. | ||
* {{param|suf}} - Optional: The language suffix of the linked page, e.g. <code>:es</code>, see {{tl2|lang}}. | * {{param|suf}} - Optional: The language suffix of the linked page, e.g. <code>:es</code>, see {{tl2|lang}}. | ||
* {{param|addtext}} - Optional: If {{param|p}} is set to <code>in</code>, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons. | * {{param|addtext}} - Optional: If {{param|p}} is set to <code>in</code>, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons. | ||
Line 32: | Line 31: | ||
| → {{{{ROOTPAGENAME}}|p=col}} | | → {{{{ROOTPAGENAME}}|p=col}} | ||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|p | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|p{{=}}since}} | ||
| → {{{{ROOTPAGENAME}}|p | | → {{{{ROOTPAGENAME}}|p=since}} | ||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|p{{=}} | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|p{{=}}removed|suf{{=}}:ru}} | ||
| → {{{{ROOTPAGENAME}}|p= | | → {{{{ROOTPAGENAME}}|p=removed|suf=:ru}} | ||
|- | |- | ||
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|p{{=}} | | {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|p{{=}}also|suf{{=}}:de|addtext{{=}}{{tlf|csgo|suf{{=}}:de}} {{tlf|l4d2|suf{{=}}:de}}}} | ||
| → {{{{ROOTPAGENAME}}|p= | | → {{{{ROOTPAGENAME}}|p=also|suf=:de|addtext={{csgo|suf=:de}} {{l4d2|suf=:de}}}} | ||
|} | |} | ||
Revision as of 11:26, 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