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

From Valve Developer Community
Jump to navigation Jump to search
m (Cat)
(Updated template using Template:csgo topicon as base.)
Line 1: Line 1:
{{Top icon
<noinclude>
|imagename = Icon_L4D2_full.png
{{L4d2 topicon|nocat=1}}
|wikilink = {{#ifexist: Left 4 Dead 2{{{suf|}}} | Left 4 Dead 2{{{suf|}}} | Left 4 Dead 2 }}
{{doc|docpage=Template:Artifact topicon/doc}}
|description = {{#switch: {{{suf}}}<!--
-->| :es = Este artículo se relaciona al juego "Left 4 Dead 2". Haga clic aquí para más información.<!--
-->| :zh-cn = 本文与游戏“求生之路 2”有关。点击这里查看更多信息。<!--
-->| This article relates to the game "Left 4 Dead 2." Click here for more information. }}
|id = game_l4d2
}}[[Category:Left 4 Dead 2]]<noinclude>
{{documentation|Template:Artifact topicon/doc}}
<!-- Add categories to the /doc subpage, not here -->
<!-- Add categories to the /doc subpage, not here -->
</noinclude>
</noinclude>
<onlyinclude><includeonly>{{Top icon
|imagename = Icon_L4D2_full.png
|wikilink = Left 4 Dead 2
|description = {{autolang
| This article relates to the game "{{l4d2|1}}". Click here for more information.
| de = Dieser Artikel bezieht sich auf das Spiel "{{l4d2|1}}". Klicke hier für weitere Informationen.
| es = Este artículo se relaciona al juego "{{l4d2|1}}". Haga clic aquí para más información.
| vi = Trang này liên quan đến trò chơi "{{l4d2|1}}". Truy cập vào đây để xem thêm thông tin.
| zh = 本文与游戏《{{l4d2|1}}》有关。点击这里查看更多信息。
}}
| id = game_l4d
}}
{{#if:{{{nocat|}}}||[[Category:Left 4 Dead 2]]}}
</includeonly></onlyinclude>

Revision as of 03:46, 25 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