Template:Cs2wt topicon: Difference between revisions
Jump to navigation
Jump to search
(fixed wrong wikilink.) |
(Cleanup template code and added strings translation. Added description switch aswell.) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{Cs2wt topicon|nocat=1}} {{doc|docpage=Template:Artifact topicon/doc}} <!-- Add categories to the /doc subpage, not here --> | ||
{{Cs2wt topicon|nocat=1}} | |||
{{doc|docpage=Template:Artifact topicon/doc}} | |||
<!-- Add categories to the /doc subpage, not here --> | |||
</noinclude> | </noinclude> | ||
< | <includeonly> | ||
| | <onlyinclude>{{Top icon | ||
|wikilink = Counter-Strike 2 Workshop Tools | | id = cs2_wt | ||
|description = {{ | | wikilink = Counter-Strike 2 Workshop Tools | ||
| imagename = Cs2 workshop.png | |||
| description = {{Top icon/strings|{{#switch:{{{desc}}}{{{description}}} | |||
|#default|Games|games=Games | |||
}} | |doc|Doc=Doc | ||
{{#if:{{{nocat|}}}||[[Category:Counter-Strike 2]]}} | |SW|sw|Software|software|tool|tools=SW | ||
</includeonly></ | |engine|Engine=Engine}}|name={{Cs2tools|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:Counter-Strike 2]] <!-- 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 --> |
Revision as of 01:10, 12 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.