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

From Valve Developer Community
Jump to navigation Jump to search
m (Cat)
(Added actual nocat. Also used Autolang.)
Line 1: Line 1:
{{Top icon
{{ {{FULLPAGENAME}} | nocat = 1 }} {{Note|This topicon is automatically added by {{t|Entity}} template, with {{code|nocat{{=}}1}} specified.}} {{doc|docpage = Template:Artifact topicon/doc}}
|imagename = Icon_HLA_full.png
<includeonly>
|wikilink = {{#ifexist: Half-Life: Alyx{{{suf|}}} | Half-Life: Alyx{{{suf|}}} | Half-Life: Alyx }}
 
|description = {{#switch: {{{suf}}}<!--
<onlyinclude>{{Top icon
-->| :es = Este artículo se relaciona al juego "Half-Life: Alyx". Haga clic aquí para más información.<!--
| id = game_hla
-->| This article relates to the game "Half-Life: Alyx". Click here for more information. }}
| wikilink = Half-Life: Alyx
|id = game_hla
| imagename = Icon_HLA_full.png
}}[[Category:Half-Life: Alyx]]<noinclude>
 
{{documentation|Template:Artifact topicon/doc}}
| description = {{autolang
<!-- Add categories to the /doc subpage, not here -->
| This article's documentation is for Half-Life: Alyx. Click here for more information.
</noinclude>
| zh = 这篇条目有关Half-Life: Alyx。如需详情,点击这里。
}}
 
}}{{#if:{{{nocat|}}}
|
| [[Category:Half-Life: Alyx]]
}}</onlyinclude>
 
</includeonly> <!-- Add categories to the /doc subpage, not here -->

Revision as of 11:03, 31 August 2023

Note.pngNote:This topicon is automatically added by {{Entity}} template, with nocat=1 specified.
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