This template (and its redirect) is  Deprecated. Its use is not recommended and its functionality may be compromised. You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion. Additional notes: Use #switch parser function instead. Example {{#switch: {{language}}<br>| #default = English<br>| ja = 日本語<br>| zh-tw = 中文(台灣)<br>‎}}

Template:Gmod topicon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Updated template.)
Line 1: Line 1:
{{Top icon
<noinclude>
|imagename = Icon-GMOD.png
{{Gmod topicon|nocat=1}}
|wikilink = {{#ifexist: Garry's Mod{{{suf|}}} | Garry's Mod{{{suf|}}} | Garry's Mod }}
{{doc|docpage=Template:Artifact topicon/doc}}
|description = {{#switch: {{{suf}}}<!--
-->| :es = Este artículo se relaciona al juego "Garry's Mod". Haga clic aquí para más información.<!--
-->| This article relates to the game "Garry's Mod." Click here for more information. }}
|id = game_gmod
}}[[Category:Garry's Mod]]<noinclude>
{{documentation|Template:Artifact topicon/doc}}
<!-- Add categories to the /doc subpage, not here -->
<!-- Add categories to the /doc subpage, not here -->
</noinclude>
</noinclude>
<onlyinclude><includeonly>{{Top icon
|imagename = Icon_ASW_full.png
|wikilink = Garry's Mod
|description = {{autolang
| This article relates to the game "{{gmod|1}}". Click here for more information.
| es = Este artículo se relaciona al juego "{{gmod|1}}". Haga clic aquí para más información.
}}
| id = game_gmod
}}
{{#if:{{{nocat|}}}||[[Category:Garry's Mod]]}}
</includeonly></onlyinclude>

Revision as of 09:28, 30 August 2023


English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

Adds a game/tool/software icon to the upper-right corner of the article, this will also add a category based off game name (example: Category:Half-Life 2). Hovering the icon for more information.

To add tooltip translations, edit the template. Some templates now support strings-based translation located in Template:Top icon/strings subpage.

Parameters