Template:Gmod topicon: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Cleanup template code and added strings translation on tooltip description.) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{Gmod topicon|nocat=1}} <!-- Used for preview. Don't forget to change this --> {{doc|docpage=Template:Artifact topicon/doc}} <!-- Add categories to the /doc subpage, not here --> | ||
{{Gmod topicon|nocat=1}} | |||
{{doc|docpage=Template:Artifact topicon/doc}} | |||
<!-- Add categories to the /doc subpage, not here --> | |||
</noinclude> | </noinclude> | ||
< | <includeonly> | ||
| | <onlyinclude>{{Top icon | ||
|wikilink = Garry's Mod | | id = garrysmod | ||
|description = {{ | | wikilink = Garry's Mod | ||
| imagename = Gmod icon.png | |||
| description = {{Top icon/strings|{{#switch:{{{desc}}}{{{description}}} | |||
|#default|Games|games=Games | |||
}} | |doc|Doc=Doc | ||
{{#if:{{{nocat|}}}||[[Category:Garry's Mod]]}} | |SW|sw|Software|software|tool|tools=SW | ||
</includeonly></ | |WT|wt|workshop|Workshop=WT | ||
|engine|Engine=Engine}}|name={{gmod|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:Garry's Mod]] <!-- 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 01:01, 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.