Template:Half-life games: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Undo revision 409683 by Cvoxalury (talk) Didn't do what I expected (did nothing...))
Tag: Undo
m (Edited the navbox to have less round corners, matching the rest of such elements)
Line 8: Line 8:
| navbar = off
| navbar = off


| titlestyle = font-size: 100%; background-color: {{hl|col}}5a; padding: 2px; color: #fff; border-radius: 8px 8px 0 0;
| titlestyle = font-size: 100%; background-color: {{hl|col}}5a; padding: 2px; color: #fff;
| bodystyle  = background-color: #202020; clear: both; border: 2px solid #525252; border-radius: 12px; margin: 1em auto 0em;
| bodystyle  = background-color: #202020; clear: both; border: 2px solid #525252; border-radius: .35em; margin: 1em auto 0em;
| groupstyle = background-color: #3A3A3A; padding: 2px 10px; width: 1%; white-space: nowrap; font-weight: bold; text-align: right;
| groupstyle = background-color: #3A3A3A; padding: 2px 10px; width: 1%; white-space: nowrap; font-weight: bold; text-align: right;
| liststyle  = border-left: none;
| liststyle  = border-left: none;
Line 65: Line 65:


| group5= {{Seriesbox strings/strings|Related}}
| group5= {{Seriesbox strings/strings|Related}}
| group5style= border-radius: 0 0 0 8px;
| list5 = {{portalserieslinked|2}}
| list5 = {{portalserieslinked|2}}
| list5style= {{#switch:{{{hide3rdparty}}}|#default|false|no|0=background-color: #252525;|true|yes|1=}} border-radius: 0 0 8px 0;
| list5style= {{#switch:{{{hide3rdparty}}}|#default|false|no|0=background-color: #252525;|true|yes|1=}};


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

Revision as of 10:04, 20 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.
Note.pngNote:This template is used to list all games in the Half-Life Half-Life franchise at the bottom of relevant game pages.
Mods and fangames taking place in the Half-Life franchise are also listed if they are notable enough (generally only remakes/remasters and similar, due to prevalence).
Icon-Important.pngImportant:This template does not include games in the Portal franchise, but does include links to the series page; although Portal takes place in the same universe as Half-Life, it is separate franchise, so Template:Portal games should be used instead.

Usage

Put {{Half-life 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
{{{hidecancelled}}} Hide cancelled games if set to true, yes or 1.
| hidecancelled = true
{{{nocat}}} Prevent the page from being added to Category:Half-Life series
| nocat = true

Preview

Default appearance:

Third-party games hidden:

Cancelled games hidden:

Both third-party & cancelled games hidden :

English (en)Español (es)Tiếng Việt (vi)中文 (zh)