Template:Tobgames: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Doc}}
{{Doc}}
{{ulf|en=1|es=1|ru=1|vi=1|zh=1}}
{{ulf|en=1|es=1|ru=1|vi=1|zh=1}}
<includeonly><onlyinclude>
<includeonly><onlyinclude>{{Navbox
{{Navbox
| style = width:100%<!-- Rest of this template can be translated at "Seriesbox strings/strings" subpage -->
| style = width:100%<!-- Rest of this template can be translated at "Seriesbox strings/strings" subpage -->
| name  = SDK-navbox
| name  = The Orange Box games
| title = {{tob|4|nt=1}} {{Table tools|SDK-navbox}}
| title = {{tob|4|nt=1}} {{Table tools|Tobgames}}
| navbar = off
| navbar = off


| titlestyle = font-size: 100%; background-color: #a63a01; background: linear-gradient(to bottom, #a63a01 0%<!--top-->,#802500 100%<!--bottom-->); padding: 2px; color: #fff; border-radius: 8px 8px 0 0;
| titlestyle = font-size: 100%; background-color: #a63a01; background: linear-gradient(to bottom, #a63a01 0%<!--top-->,#802500 100%<!--bottom-->); padding: 2px; color: #fff; border-radius: 2px 2px 0 0;
| 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: 95%;
| liststyle  = border-left: none; font-size: 95%;


| group1 = {{#switch:{{{hidenontobgames}}}|#default|false|no|0={{Autolang|All platforms|vi=Tất cả nền tảng}}<br>({{pc|bold}}, {{ps3}}, {{360}})|true|yes|1={{blank}}}}
| group1 = {{#switch:{{{hidenontobgames}}}|#default|false|no|0={{#switch: {{language}}|#default = All platforms|vi=Tất cả nền tảng}}<br>({{pc|bold}}, {{ps3}}, {{360}})|true|yes|1={{blank}}}}
| group1style= {{#switch:{{{hidenontobgames}}}|#default|false|no|0=background-color: #363636;|true|yes|1=background-color: #252525;<!--workaround for now, removing group would break list aswell --> border-radius: 0 0 0 8px;}}
| group1style= {{#switch:{{{hidenontobgames}}}|#default|false|no|0=background-color: #363636;|true|yes|1=background-color: #252525;<!--workaround for now, removing group would break list aswell --> border-radius: 0 0 0 2px;}}
| list1 = {{hl2|4}} · {{hl2ep1|4}} · {{hl2ep2|4}} · {{portal|4}} · {{tf2|4}}
| list1 = {{hl2|2}} · {{hl2ep1|2}} · {{hl2ep2|2}} · {{portal|2}} · {{tf2|2}}
| list1style= background-color: #252525; {{#switch:{{{hidenontobgames}}}|#default|false|no|0=|true|yes|1=border-radius: 0 8px 0 8px;}}
| list1style= background-color: #252525; {{#switch:{{{hidenontobgames}}}|#default|false|no|0=|true|yes|1=border-radius: 0 2px 0 2px;}}


| group2 = {{#switch:{{{hidenontobgames}}}|#default|false|no|0={{Autolang
| group2 = {{#switch:{{{hidenontobgames}}}|#default|false|no|0={{#switch: {{language}}
| Exclusive to PC
| #default = Exclusive to PC
| vi = Chỉ có trên PC
| vi = Chỉ có trên PC
}}|true|yes|1=}}
}}|true|yes|1=}}
| group2style= background-color: {{pc|col}}3a; border-radius: 0 0 0 8px;
| group2style= background-color: #363636; border-radius: 0 0 0 2px;
| list2 = {{#switch:{{{hidenontobgames}}}|#default|false|no|0={{hl2dm|4}} · {{hl2lc|4}} · {{hldms|4}}<br>{{Note|These 3 games are not part of The Orange Box, but when you purchase {{hl2ep1|3.1}} (which is one of the Orange Box games) for example, you will have access to {{hl2dm|3.1}}.}}|true|yes|1=}}
| list2 = {{#switch:{{{hidenontobgames}}}|#default|false|no|0={{hl2dm|2}} · {{hl2lc|2}} · {{hldms|2}}<br>{{Note|These 3 games are not part of The Orange Box, but when you purchase {{hl2ep1|3.1}} (which is one of the Orange Box games), or {{hl2|3.1}} (since 20th anniversary) for example, you will have access to {{hl2dm|3.1}}, aswell as two episodes, Lost Coast and HL: Deathmatch Source.}}|true|yes|1=}}
| list2style= border-radius: 0 8px 0 0px;
| list2style= border-radius: 0 2px 0 0px;


}} {{#if:{{{nocat|}}}
}} {{#if:{{{nocat|}}}

Latest revision as of 07:56, 14 December 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
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 {{Tobgames}} on the page.

See below for parameters.

Parameters

Parameter Description Value
{{{hidenontobgames}}} Hide non-Orange Box games if set to true, yes or 1.
| hidenontobgames = true
{{{nocat}}} Prevent the page from being added to Category:The Orange Box
| nocat = true

Preview

Default appearance:

Only show games that are from Orange Box:

English (en)Español (es)Русский (ru)Tiếng Việt (vi)中文 (zh)