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:Hl2dm topicon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Updated template using Template:p3 topicon as base.)
Line 1: Line 1:
{{Top icon
<noinclude>
|imagename = Icon_HL2DM_full.png
{{hl2dm topicon|nocat=1}}
|wikilink = {{#ifexist: Half-Life 2: Deathmatch{{{suf|}}} | Half-Life 2: Deathmatch{{{suf|}}} | Half-Life 2: Deathmatch }}
{{doc|docpage=Template:Artifact topicon/doc}}
|description = {{#switch: {{{suf}}}<!--
-->| :es = Este artículo se relaciona al juego "Half-Life 2: Deathmatch". Haga clic aquí para más información.<!--
-->| This article relates to the game "Half-Life 2: Deathmatch." Click here for more information. }}
|id = game_hl2dm
}}[[Category:Half-Life 2: Deathmatch]]<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_HL2DM_full.png
|wikilink = Half-Life 2: Deathmatch
|description = {{autolang
| This article relates to the game "{{hl2dm|1}}". Click here for more information.
| es = Este artículo se relaciona al juego "{{hl2dm|1}}". Haga clic aquí para más información.
}}
| id = game_hl2dm
}}
{{#if:{{{nocat|}}}||[[Category:Half-Life 2 Deathmatch]]}}
</includeonly></onlyinclude>

Revision as of 00:56, 25 July 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