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

From Valve Developer Community
Jump to navigation Jump to search
m (Autocat into Category:GoldSrc)
mNo edit summary
Line 1: Line 1:
{{Top icon
{{ {{FULLPAGENAME}} | nocat = 1 }} {{doc|docpage = Template:Artifact topicon/doc}}
|imagename = Hl_engine_logo.png
<includeonly>
|wikilink = GoldSrc
 
|description = {{#switch: {{{suf}}}<!--
<onlyinclude>{{Top icon
-->| :es = La información en este artículo es para Goldsource. Haga clic aquí para más información.<!--
| id = goldsource
-->| :zh-cn = 这篇条目有关 GoldSrc引擎。如需详情,点击这里。<!--
| wikilink = GoldSrc
-->| This article's documentation is for Goldsource. Click here for more information. }}
| imagename = Hl_engine_logo.png
|id = goldsource
 
|nocat = 1
| description = {{autolang
}}[[Category:GoldSrc]]<noinclude>
| This article's documentation is for GoldSrc. Click here for more information.
{{documentation|Template:Artifact topicon/doc}}
| es = La información en este artículo es para GoldSrc. Haga clic aquí para más información.
<!-- Add template categories to the /doc subpage, not here -->
| zh = 这篇条目有关 GoldSrc引擎。如需详情,点击这里。
</noinclude>
}}
 
}}{{#if:{{{nocat|}}}
|
| [[Category:Source]]
}}</onlyinclude>
 
</includeonly> <!-- Add categories to the /doc subpage, not here -->

Revision as of 03:14, 2 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