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

From Valve Developer Community
Jump to navigation Jump to search
m (Cat)
(Replaced with the updated version copy pasted from Source 2 topicon, modified for Source 1.)
Line 1: Line 1:
{{Top icon
<onlyinclude><includeonly>{{Top icon
|imagename = Source icon 64x64.png
|imagename = Icon-Source.png
|wikilink = {{#ifexist: Source{{{suf|}}} | Source{{{suf|}}} | Source }}
|wikilink = Source
|description = {{#switch: {{{suf}}}<!--
|description = {{autolang
-->| :es = La información en este artículo es para Source. Haga clic aquí para más información.<!--
| This article's documentation is for Source. Click here for more information.
-->| :zh-cn = 这篇条目有关 Source引擎。如需详情,点击这里。<!--
| es = La información en este artículo es para Source. Haga clic aquí para más información.
-->| This article's documentation is for Source. Click here for more information. }}
| zh = 这篇条目有关 Source引擎。如需详情,点击这里。
}}
|id = source
|id = source
|nocat = 1
}}
}}[[Category:Source]]<noinclude>
{{#if:{{{nocat|}}}||[[Category:Source]]}}
{{documentation|Template:Artifact topicon/doc}}
</includeonly></onlyinclude>
<noinclude>
{{Source topicon|nocat=1}}
{{doc|docpage=Template:Artifact topicon/doc}}
<!-- Add categories to the /doc subpage, not here -->
<!-- Add categories to the /doc subpage, not here -->
</noinclude>
</noinclude>

Revision as of 08:40, 1 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