Template:Hl2 topicon: Difference between revisions
Jump to navigation
Jump to search
(Cleanup template code and added strings translation.) |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ {{FULLPAGENAME}} |nocat=1}} <!-- Used for preview. --> | |||
{{doc|docpage=Template:Artifact topicon/doc}} <!-- Add categories to the /doc subpage, not here --> | |||
<includeonly> | <includeonly> | ||
<onlyinclude>{{Top icon | <onlyinclude>{{Top icon | ||
| id = hl2 | | id = hl2 | ||
| wikilink = Half-Life 2 | | wikilink = Half-Life 2 | ||
| imagename = | | imagename = hl2 icon.png | ||
| description = {{Top icon/strings|Doc|name= | | description = {{Top icon/strings|{{#switch:{{{desc}}}{{{description}}} | ||
|#default|Games|games=Games | |||
|doc|Doc=Doc | |||
|SW|sw|Software|software|tool|tools=SW | |||
|WT|wt|workshop|Workshop=WT | |||
|engine|Engine=Engine}}|name={{hl2|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|}}} | }}{{#if:{{{nocat|}}} | ||
| | | | ||
| | | {{ACategory|Half-Life 2}} <!-- Don't forget to change this if you are creating a new top icon templates. --> | ||
}}</onlyinclude> | }}</onlyinclude> | ||
</includeonly> <!-- Add categories to the /doc subpage, not here --> | </includeonly> <!-- Add categories to the /doc subpage, not here --> |
Latest revision as of 00:55, 31 May 2025
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.