Template:Portal games: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Strings translation and hide third-party parameters.)
No edit summary
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{ulf|en=1|eo=1|es=1|vi=1|zh=1|fi=1|hr=1}}
{{ulf|en=1|eo=1|es=1|vi=1|zh=1|fi=1|hr=1}}


{{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.}}
{{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
{{doc}}
 
<includeonly>
 
<onlyinclude>{{Navbox
| style = width:100%
| style = width:100%
| name  = SDKTools
| name  = SDKTools
Line 9: Line 13:
| navbar = off
| navbar = off


| titlestyle = font-size: 100%; background-color: {{portal|col}}3a; padding: 2px; color: #fff; border-radius: 8px 8px 0 0;
| titlestyle = font-size: 100%; background-color: {{portal|col}}3a; padding: 2px; color: #fff;
| bodystyle  = clear: both; border: 2px solid #525252; margin: 1em auto 0em; background-color: #202020; border-radius: 12px
| 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}}
| group1style= background-color: {{source|col}}2a;
| group1style= background-color: {{source|col}}2a;
| list1= {{portal|4}} • {{psa|4}} • {{portal2|4}}
| list1= {{portal|2}} • {{psa|2}} • {{portal2|2}} • {{pcc|2}} ({{switch}})
{{#switch:{{{hide3rdparty}}}|#default|false|no|0='''''{{Seriesbox strings/strings|Third-party}}''''' {{PortalRTX|4}} • {{ppl|4}} ([[Portal: Prelude RTX|RTX]]) • {{Portal2Sixense|4}} • {{aptag|4|nt=0}} • {{psm|4}} • {{Portalreloaded|4}} • {{Portalrev|4}} • {{p2ce|4}} • {{p2d|4}}|true|yes|1=}}
{{#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;
| list1style= background-color: #252525;


| group2= {{source2|4}}
| group2= {{source2|4}}
| group2style= background-color: {{source2|col}}2a;
| group2style= background-color: {{source2|col}}2a;
| list2= [[The Lab#Robot_repair|{{Autolang|Robot Repair|eo=Robota Fiksado|es=Reparación Robots|vi=Sửa người máy|zh=机器人维修|fi=Robotin Korjaus|hr=Robot Popravak}}]] ({{thelab|4}}) • {{adj|4}}
| 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}}
| group3= {{Seriesbox strings/strings|Other engines}}
| list3= {{thelab|4}} ({{unity}}, {{Autolang|all except Robot Repair|fi=kaikki paitsi Robotin Korjaus|hr=svi osim Robot Popravak}}), {{psv|4}} • {{handlab|4}}
| 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;
| list3style= background-color: #252525;


| group4= {{Seriesbox strings/strings|Related}}
| group4= {{Seriesbox strings/strings|Related}}
| list4= {{hlserieslinked|4}} • '''[[Narbacular Drop]]'''
| list4= {{hlserieslinked|2}} • '''{{narbaculardrop|2}}'''
| group4style= border-radius: 0 0 0 8px;
 
}}{{#if:{{{nocat|}}}
|
| [[Category:Portal series]]
}}</onlyinclude>


}} [[Category:Portal series]] </onlyinclude></includeonly>
</includeonly>


[[Category:Seriesbox templates]]
[[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: