This article relates to the game "GoldSrc". Click here for more information.

Template:Gldsrc topicon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Kr0tchet moved page Template:GoldSrc topicon to Template:Gldsrc topicon over redirect)
No edit summary
Line 1: Line 1:
{{ {{FULLPAGENAME}} | nocat = 1 }} {{Note|This topicon is automatically added by {{t|Entity}} template, with {{code|nocat{{=}}1}} specified.}} {{doc|docpage = Template:Artifact topicon/doc}}
<noinclude>{{ {{FULLPAGENAME}} |nocat=1}} <!-- Used for preview. Don't forget to change this --> {{doc|docpage=Template:Artifact topicon/doc}} <!-- Add categories to the /doc subpage, not here -->
</noinclude>
<includeonly>
<includeonly>
<onlyinclude>{{Top icon
<onlyinclude>{{Top icon
| id = goldsource
| id = engine_goldsrc
| wikilink = GoldSrc
| wikilink = GoldSrc
| imagename = Hl_engine_logo.png
| imagename = gldsrc icon.png


| description = {{autolang
| description = {{Top icon/strings|{{#switch:{{{desc}}}{{{description}}}
| This article's documentation is for GoldSrc. Click here for more information.
|#default|Games|games=Games
| es = La información en este artículo es para GoldSrc. Haga clic aquí para más información.
|doc|Doc=Doc
| zh = 这篇条目有关 GoldSrc引擎。如需详情,点击这里。
|SW|sw|Software|software|tool|tools=SW
}}
|WT|wt|workshop|Workshop=WT
|engine|Engine=Engine}}|name={{gldsrc|name}}}} <!-- Description are now handled by Top icon strings subpage.
For game name, you can use templates such as {{hl2}} with "name" parameters aswell, and the game name also get translated automatically. -->


}}{{#if:{{{nocat|}}}
}}{{#if:{{{nocat|}}}
|
|
| [[Category:GoldSrc]]
| [[Category:GoldSrc]] <!-- Don't forget to change this if you are creating a new top icon templates. -->
}}</onlyinclude>
}}</onlyinclude>


</includeonly> <!-- Add categories to the /doc subpage, not here -->
</includeonly> <!-- Add categories to the /doc subpage, not here -->

Revision as of 01:07, 13 January 2024

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