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

Template:Portal topicon: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (fixed ifexist)
(optimzation)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Top icon
{{Portal topicon|nocat=1}}
|imagename = Icon_P_full.png
{{doc|docpage=Template:Artifact topicon/doc}}
|wikilink = {{#ifexist: Portal{{{suf|}}} | Portal{{{suf|}}} | Portal }}
 
|description = {{#switch: {{{suf}}}<!--
 
-->| :es = Este artículo se relaciona al juego "Portal". Haga clic aquí para más información.<!--
<includeonly>
-->| This article relates to the game "Portal." Click here for more information. }}
 
|id = game_p
<onlyinclude>{{Top icon
}}<noinclude>
| imagename = Icon_P_full.png
{{documentation|Template:Artifact topicon/doc}}
| wikilink = Portal
<!-- Add categories to the /doc subpage, not here -->
| description = {{#switch: {{{lang|{{ROOTPAGENAME}}}}}
</noinclude>
| #default = This article relates to the game "{{portal|1}}". Click here for more information.
| De = Dieser Artikel bezieht sich auf das Spiel "{{portal|1}}". Klicke hier für weitere Informationen.
| Es = Este artículo se relaciona al juego "{{portal|1}}". Haga clic aquí para más información.
| Vi = Trang này liên quan đến trò chơi "{{portal|1}}". Truy cập vào đây để xem thêm thông tin.
}}
| id = game_portal
}}{{#if:{{{nocat|}}}||[[Category:Portal]]}}</onlyinclude>
 
</includeonly>

Latest revision as of 08:38, 2 August 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