Template:Portal games: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(65 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{{lang|Template:Portal games}}<!--
{{ulf|en=1|eo=1|es=1|vi=1|zh=1|fi=1|hr=1}}
--><onlyinclude><!--
 
-->{{Navbox
{{Note| When using this template, make sure this template is placed on a new line after the {{tl|link=MultiPage}} template, and not the language subpage itself, that way it will appear in the main page in any languages whether they have it added on language subpage or not. Don't put it on the same line as {{tl|link=MultiPage}}, as that can result in title being aligned to the left. }}
 
{{doc}}
 
<includeonly>
 
<onlyinclude>{{Navbox
| style = width:100%
| name  = SDKTools
| name  = SDKTools
| title = {{Autolang|
| title = {{portalserieslinked|4.1|nt=1}} {{Table tools|Portal_games}}
| en = {{portal}} Portal Games{{Table tools|Portal_games}}
| zh = {{portal}} 传送门系列游戏 {{Table tools|Portal_games}}}}
| navbar = off
| navbar = off


| titlestyle = font-size: 100%; background-color: #3A3A3A; padding: 2px; color: #fff;
| titlestyle = font-size: 100%; background-color: {{portal|col}}3a; padding: 2px; color: #fff;
| bodystyle  = clear: both; border: 2px solid #525252; margin: 1em auto 0em;
| bodystyle  = clear: both; border: 2px solid #525252; margin: 1em auto 0em; background-color: #202020; border-radius: 4px
| groupstyle = background-color: #3A3A3A; padding: 2px 10px; width: 1%; white-space: nowrap; font-weight: bold;
| groupstyle = background-color: #3A3A3A; padding: 2px 10px; width: 1%; white-space: nowrap; font-weight: bold;
| liststyle  = border-left: none; font-size: 85%;
| liststyle  = border-left: none;


| group1= {{source|4}}
| group1= {{source|4}}
| list1= {{portal|4}} {{·}}
| group1style= background-color: {{source|col}}2a;
{{portal2|4}}
| list1= {{portal|2}} {{psa|2}} {{portal2|2}} • {{pcc|2}} ({{switch}})
''{{Autolang|Third party:|zh=第三方作品:}}'' {{Portal2Sixense|4}} {{·}} {{psm|4}} {{·}} {{Portalreloaded|4}} {{·}} {{p2ce|4}}
{{#switch:{{{hide3rdparty}}}|#default|false|no|0='''''{{Seriesbox strings/strings|Third-party}}''''' {{PortalRTX|2}} • {{ppl|2}} ([[Portal: Prelude RTX|RTX]]) • {{Portal2Sixense|2}} {{aptag|2|nt=0}} {{psm|2}} {{Portalreloaded|2}} {{Portalrev|2}} {{p2ce|2}} {{p2d|2}}|true|yes|1=}}
| list1style= background-color: #252525;


| group2= {{source2|4}}
| group2= {{source2|4}}
| list2= {{Autolang|Robot Repair|zh=机器人维修}} ({{thelab|4}}) {{·}} {{adj|4}}
| group2style= background-color: {{source2|col}}2a;
| list2= [[The Lab#Robot_repair|{{#switch: {{language}}|#default = Robot Repair|eo=Robota Fiksado|es=Reparación Robots|vi=Sửa người máy|zh=机器人维修|fi=Robotin Korjaus|hr=Robot Popravak}}]] ({{thelab|2}}) • {{adj|2}}
| group3= {{Seriesbox strings/strings|Other engines}}
| list3= {{thelab|2}} ({{unity}}, {{#switch: {{language}}|#default = all except Robot Repair|fi=kaikki paitsi Robotin Korjaus|hr=svi osim Robot Popravak|ru=все мини-игры исключая [[The Lab#Robot_repair|Robot Repair]]}}), {{psv|2}} • {{handlab|2}}
| list3style= background-color: #252525;
 
| group4= {{Seriesbox strings/strings|Related}}
| list4= {{hlserieslinked|2}} • '''{{narbaculardrop|2}}'''
 
}}{{#if:{{{nocat|}}}
|
| [[Category:Portal series]]
}}</onlyinclude>
 
</includeonly>


}}</onlyinclude>[[Category:Navbox templates]]</noinclude>
[[Category:Seriesbox templates]]

Latest revision as of 01:05, 17 June 2025

English (en)Esperanto (eo)Español (es)Suomi (fi)Hrvatski (hr)Tiếng Việt (vi)中文 (zh)
Note.pngNote: When using this template, make sure this template is placed on a new line after the {{MultiPage}} template, and not the language subpage itself, that way it will appear in the main page in any languages whether they have it added on language subpage or not. Don't put it on the same line as {{MultiPage}}, as that can result in title being aligned to the left.
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
Icon-translate.png
This template uses a strings subpage
Additional translations come from the following string template(s): {{Seriesbox strings/strings}}
Please follow the format on this subpage(s) to add translations.

Usage

Put {{Portal games}} on the page.

See below for parameters.

Parameters

Parameter Description Value
{{{hide3rdparty}}} Hide third-party games if set to true, yes or 1.
| hide3rdparty = true
{{{appid}}} Prevent the page from being added to Category:Portal series
| nocat = true

Preview

Default appearance:

Third-party games hidden: