Template:Dods topicon: Difference between revisions
Jump to navigation
Jump to search
m (Updated template using Template:p3 topicon as base + New translations.) |
(Cleanup template code and added strings translation on tooltip description.) |
||
Line 1: | Line 1: | ||
<noinclude>{{Dods topicon|nocat=1}} | <noinclude>{{Dods topicon|nocat=1}} {{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 = Day of Defeat: Source | | id = dods | ||
|description = {{ | | wikilink = Day of Defeat: Source | ||
| imagename = Dods icon.png | |||
| 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 | ||
{{#if:{{{nocat|}}}||[[Category:Day of Defeat: Source]]}} | |engine|Engine=Engine}}|name={{dods|name}}}} <!-- Description are now handled by Top icon strings subpage. | ||
</includeonly></ | 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:Day of Defeat: Source]] <!-- 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 00:05, 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.