This article relates to the game "Day of Defeat: Source". Click here for more information.

Template:Dods topicon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated template using Template:p3 topicon as base + New translations.)
(Cleanup template code and added strings translation on tooltip description.)
 
Line 1: Line 1:
<noinclude>{{Dods topicon|nocat=1}}
<noinclude>{{Dods 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_DODS_full.png
<onlyinclude>{{Top icon
|wikilink = Day of Defeat: Source
| id = dods
|description = {{autolang
| wikilink = Day of Defeat: Source
| This article relates to the game "{{dods|1}}". Click here for more information.
| imagename = Dods icon.png
| de = Dieser Artikel bezieht sich auf das Spiel "{{dods|1}}". Klicke hier für weitere Informationen.
 
| es = Este artículo se relaciona al juego "{{dods|1}}". 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 "{{dods|1}}". Truy cập vào đây để xem thêm thông tin.
|#default|Games|games=Games
}}
|doc|Doc=Doc
| id = game_dods
|SW|sw|Software|software|tool|tools=SW
}}
|WT|wt|workshop|Workshop=WT
{{#if:{{{nocat|}}}||[[Category:Day of Defeat: Source]]}}
|engine|Engine=Engine}}|name={{dods|name}}}} <!-- Description are now handled by Top icon strings subpage.  
</includeonly></onlyinclude>
For game name, you can use templates such as {{hl2}} with "name" parameters aswell, and the game name also get translated automatically. -->
 
}}{{#if:{{{nocat|}}}
|
| [[Category:Day of Defeat: Source]] <!-- 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 -->

Latest revision as of 00:05, 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