Template:Half-life games: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(4.1 → 2)
(Undo revision 486845 by NinjaV (talk))
Tag: Undo
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Doc}}
{{Doc}}
{{ulf|en=1|es=1|vi=1|zh=1}}
{{ulf|en=1|es=1|vi=1|zh=1}}
<includeonly><onlyinclude><!--
 
<includeonly>
 
<onlyinclude><!--
-->{{Navbox
-->{{Navbox
| style = width:100%
| style = width:100%
Line 8: Line 11:
| 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: 4px; 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 15: Line 18:
| group1= {{gldsrc|4}}
| group1= {{gldsrc|4}}
| group1style= background-color: {{gldsrc|col}}2a;
| group1style= background-color: {{gldsrc|col}}2a;
| list1= {{hl|2}} {{Autolang
| list1= {{hl|2}} {{#switch: {{language}}
| (also on {{hlps2}}[[Half-Life (PS2)|PS2]])
| #default = (also on {{hlps2}}[[Half-Life (PS2)|PS2]])
| es = (también en {{hlps2}}[[Half-Life (PS2)|PS2]])
| Es = (también en {{hlps2}}[[Half-Life (PS2)|PS2]])
| ru = (также на {{hlps2}}[[Half-Life (PS2)|PS2]])
| Ru = (также на {{hlps2}}[[Half-Life (PS2)|PS2]])
| vi = (cũng có trên {{hlps2}}[[Half-Life (PS2)|PS2]])
| Vi = (cũng có trên {{hlps2}}[[Half-Life (PS2)|PS2]])
| zh = (也在{{hlps2}}[[Half-Life (PS2)|PS2]]上)
| Zh = (也在{{hlps2}}[[Half-Life (PS2)|PS2]]上)
}} {{•}} {{hlfd|2}} {{•}}
}} {{•}} {{hlfd|2}} {{•}}
{{Uplink|2}} {{•}}
{{Uplink|2}} {{•}}  
{{hlop4|2}} {{•}}
{{hlop4|2}} {{•}}  
{{hlbs|2}} {{•}}
{{hlbs|2}} {{•}}
{{dmc|2}} {{•}}
{{hld|2}} {{#switch: {{language}}
{{ricochet|2}} {{•}}
| #default = (only in {{hld}}[[Half-Life: Decay|PS2]])
{{hld|2}} {{Autolang
| Es = (solo en {{hld}}[[Half-Life: Decay|PS2]])
| (only in {{hld}}[[Half-Life: Decay|PS2]])
| Ru = (также на {{hld}}[[Half-Life: Decay|PS2]])
| es = (solo en {{hld}}[[Half-Life: Decay|PS2]])
| Vi = (chỉ có trong {{hld}}[[Half-Life: Decay|PS2]])
| ru = (также на {{hld}}[[Half-Life: Decay|PS2]])
| Zh = (仅在{{hld}}[[Half-Life: Decay|PS2]]上)
| vi = (chỉ có trong {{hld}}[[Half-Life: Decay|PS2]])
}} {{•}}
| zh = (仅在{{hld}}[[Half-Life: Decay|PS2]]上)
{{dmc|2}}  {{#switch:{{{hide3rdparty}}}|#default|false|no|0=
}}  {{#switch:{{{hide3rdparty}}}|#default|false|no|0=
<br>'''''{{Seriesbox strings/strings|Third-party}}''''' {{svencoop|2}}|true|yes|1=}} {{#switch:{{{hidecancelled}}}|#default|false|no|0=
<br>'''''{{Seriesbox strings/strings|Third-party}}''''' {{svencoop|2}}|true|yes|1=}} {{#switch:{{{hidecancelled}}}|#default|false|no|0=
<br>'''''{{Seriesbox strings/strings|Cancelled}}''''' {{hldc|2}} {{•}} [[Wikipedia:Unreleased_Half-Life_games#Half-Life_era_(1998–2004)|More]]|true|yes|1=}}
<br>'''''{{Seriesbox strings/strings|Cancelled}}''''' {{hldc|2}} {{•}} [[Wikipedia:Unreleased_Half-Life_games#Half-Life_era_(1998–2004)|More]]|true|yes|1=}}
Line 40: Line 42:
| group2= {{source|4}}
| group2= {{source|4}}
| group2style= background-color: {{source|col}}2a;
| group2style= background-color: {{source|col}}2a;
| list2= {{hl2|2}} {{Autolang
| list2= {{hl2|2}} {{#switch: {{language}}
| (also on {{hl2xbox}}[[Half-Life 2 (Xbox)|Xbox]])
| #default = (also on {{hl2xbox}}[[Half-Life 2 (Xbox)|Xbox]])
| es = (también en {{hl2xbox}}[[Half-Life 2 (Xbox)|Xbox]])
| Es = (también en {{hl2xbox}}[[Half-Life 2 (Xbox)|Xbox]])
| ru = (также на {{hl2xbox}}[[Half-Life 2 (Xbox)|Xbox]])
| Ru = (также на {{hl2xbox}}[[Half-Life 2 (Xbox)|Xbox]])
| vi = (cũng có trên {{hl2xbox}}[[Half-Life 2 (Xbox)|Xbox]])
| Vi = (cũng có trên {{hl2xbox}}[[Half-Life 2 (Xbox)|Xbox]])
| zh = (也在{{hl2xbox}}[[Half-Life 2 (Xbox)|XBOX]]上)
| Zh = (也在{{hl2xbox}}[[Half-Life 2 (Xbox)|XBOX]]上)
}} {{•}}
}} {{•}}  
{{hl2ep1|2}} {{•}}
{{hl2ep1|2}} {{•}}  
{{hl2ep2|2}} {{•}}
{{hl2ep2|2}} {{•}}  
{{hl2lc|2}} {{•}}
{{hl2lc|2}} {{•}}  
{{hl2dm|2}} {{•}}
{{hl2dm|2}} {{•}}  
{{hls|2}} {{•}}
{{hls|2}} {{•}}  
{{hldms|2}}  {{#switch:{{{hide3rdparty}}}|#default|false|no|0=
{{hldms|2}}  {{#switch:{{{hide3rdparty}}}|#default|false|no|0=
<br>'''''{{Seriesbox strings/strings|Third-party}}''''' {{bms|2}}{{•}} {{hl2rtx|2}} {{•}} {{hl2u|2}} {{•}} {{Synergy|2}} {{•}} {{hl2s|2}} {{•}} {{obm|2}}|true|yes|1=}} {{#switch:{{{hidecancelled}}}|#default|false|no|0=
<br>'''''{{Seriesbox strings/strings|Third-party}}''''' {{bms|2}}{{•}} {{hl2rtx|2}} {{•}} {{hl2u|2}} {{•}} {{Synergy|2}} {{•}} {{hl2s|2}} {{•}} {{obm|2}}|true|yes|1=}} {{#switch:{{{hidecancelled}}}|#default|false|no|0=
Line 66: Line 68:


| group5= {{Seriesbox strings/strings|Related}}
| group5= {{Seriesbox strings/strings|Related}}
| group5style= border-radius: 0 0 0 8px;
| list5 = {{portalserieslinked|2}} {{•}} {{tob|2}}
| list5 = {{portalserieslinked|2}}
| list5style= {{#switch:{{{hide3rdparty}}}|#default|false|no|0=background-color: #252525;|true|yes|1=}};
| list5style= {{#switch:{{{hide3rdparty}}}|#default|false|no|0=background-color: #252525;|true|yes|1=}} border-radius: 0 0 8px 0;
 
}}{{#if:{{{nocat|}}}||{{ACategory|Half-Life series}}}}</onlyinclude>
 
</includeonly>


}} {{#if:{{{nocat|}}}
[[Category:Seriesbox templates]]
|
[[Category:Navbox templates]]
| [[Category:Half-Life series]]
}} </onlyinclude></includeonly>[[Category:Seriesbox templates]] [[Category:Navbox templates]]</noinclude>

Latest revision as of 03:12, 15 August 2025

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)