Template:Tobgames: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 11: Line 11:
| 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: 12px
| 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; font-size: 95%;


| group1 = {{#switch:{{{hidenontobgames}}}|#default|false|no|0={{Autolang|All platforms|vi=Tất cả nền tảng}}<br>({{pc|3}}, {{ps3|3}}, {{360|3}})|true|yes|1={{tob}}}}
| group1 = {{#switch:{{{hidenontobgames}}}|#default|false|no|0={{Autolang|All platforms|vi=Tất cả nền tảng}}<br>({{pc|3}}, {{ps3|3}}, {{360|3}})|true|yes|1={{blank}}}}
| group1style= background-color: #363636; {{#switch:{{{hidenontobgames}}}|#default|false|no|0=|true|yes|1=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 8px;}}
| list1 = {{hl2|4}} · {{hl2ep1|4}} · {{hl2ep2|4}} · {{portal|4}} · {{tf2|4}}
| list1 = {{hl2|4}} · {{hl2ep1|4}} · {{hl2ep2|4}} · {{portal|4}} · {{tf2|4}}
| 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 8px 0 8px;}}

Revision as of 06:14, 19 June 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)