Template:Hl2dm topicon: Difference between revisions
Jump to navigation
Jump to search
(Updated template using Template:p3 topicon as base.) |
(Cleanup template code and added strings translation on tooltip description.) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{ {{FULLPAGENAME}} |nocat=1}} <!-- Used for preview. --> {{doc|docpage=Template:Artifact topicon/doc}} <!-- Add categories to the /doc subpage, not here --> | ||
{{ | |||
{{doc|docpage=Template:Artifact topicon/doc}} | |||
<!-- Add categories to the /doc subpage, not here --> | |||
</noinclude> | </noinclude> | ||
< | <includeonly> | ||
| | <onlyinclude>{{Top icon | ||
|wikilink = Half-Life 2: Deathmatch | | id = hl2mp | ||
|description = {{ | | wikilink = Half-Life 2: Deathmatch | ||
| imagename = hl2dm alt icon.png | |||
| description = {{Top icon/strings|{{#switch:{{{desc}}}{{{description}}} | |||
|#default|Games|games=Games | |||
}} | |doc|Doc=Doc | ||
{{#if:{{{nocat|}}}||[[Category:Half-Life 2 Deathmatch]]}} | |SW|sw|Software|software|tool|tools=SW | ||
</includeonly></ | |WT|wt|workshop|Workshop=WT | ||
|engine|Engine=Engine}}|name={{hl2dm|name}}}} <!-- Description are now handled by Top icon strings subpage. | |||
For game name, you can use templates such as {{hl2}} with "name" parameters aswell, and the game name also get translated automatically. --> | |||
}}{{#if:{{{nocat|}}} | |||
| | |||
| [[Category:Half-Life 2: Deathmatch]] <!-- Don't forget to change this if you are creating a new top icon templates. --> | |||
}}</onlyinclude> | |||
</includeonly> <!-- Add categories to the /doc subpage, not here --> |
Latest revision as of 03:35, 13 January 2024
The above documentation is transcluded from Template:Artifact topicon/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.