This article relates to the game "Half-Life 2". Click here for more information.

Template:Czds topicon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Updated template using Template:csgo topicon as base.)
(Cleanup template code and added strings translation on tooltip description.)
Line 1: Line 1:
<noinclude>{{Czds topicon|nocat=1}}
<noinclude>{{Hl2 topicon|nocat=1}} {{doc|docpage=Template:Artifact topicon/doc}} <!-- Add categories to the /doc subpage, not here -->
{{doc|docpage=Template:Artifact topicon/doc}}
<!-- Add categories to the /doc subpage, not here -->
</noinclude>
</noinclude>
<onlyinclude><includeonly>{{Top icon
<includeonly>
|imagename = Icon-CSCZDS.png
<onlyinclude>{{Top icon
|wikilink = Counter-Strike: Condition Zero Deleted Scenes
| id = czeror
|description = {{autolang
| wikilink = Counter-Strike: Condition Zero Deleted Scenes
| This article relates to the game "{{czds|1|nt=0}}". Click here for more information.
| imagename = Czds icon.png
| de = Dieser Artikel bezieht sich auf das Spiel "{{czds|1|nt=0}}". Klicke hier für weitere Informationen.
 
| es = Este artículo se relaciona al juego "{{czds|1|nt=0}}". Haga clic aquí para más información.
| description = {{Top icon/strings|{{#switch:{{{desc}}}{{{description}}}
| vi = Trang này liên quan đến trò chơi "{{czds|1|nt=0}}". Truy cập vào đây để xem thêm thông tin.
|#default|Games|games=Games
| zh = 本文与游戏《{{czds|1|nt=0}}》有关。点击这里查看更多信息。
|doc|Doc=Doc
}}
|SW|sw|Software|software|tool|tools=SW
| id = game_csczds
|WT|wt|workshop|Workshop=WT
}}
|engine|Engine=Engine}}|name={{czds|name|nt=0}}}} <!-- Description are now handled by Top icon strings subpage.
{{#if:{{{nocat|}}}||[[Category:Counter-Strike: Condition Zero Deleted Scenes]]}}
For game name, you can use templates such as {{hl2}} with "name" parameters aswell, and the game name also get translated automatically. -->
</includeonly></onlyinclude>
 
}}{{#if:{{{nocat|}}}
|
| [[Category:Counter-Strike: Condition Zero Deleted Scenes]] <!-- Don't forget to change this if you are creating a new top icon templates. -->
}}</onlyinclude>
 
</includeonly> <!-- Add categories to the /doc subpage, not here -->

Revision as of 22:24, 12 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