Template:Half-Life series/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
<!-- Please place categories where indicated at the bottom of this page.) -->
<!-- Please place categories where indicated at the bottom of this page.) -->
== Usage ==
== Usage ==
'''<nowiki>{{{suf|}}}</nowiki>''' works just the same as [[Template:new icon|normal game icon templates]].<br>
'''<nowiki>{{{suf|}}}</nowiki>''' works just the same as [[Template:Software|normal game icon templates]].<br>
<code><nowiki>{{hlseries|suf=:ru}}</nowiki></code> → {{hlseries|suf=:ru}}
<code><nowiki>{{hlseries}}</nowiki></code> → {{hlseries}}


'''<nowiki>{{{games|}}}</nowiki>''' can be set to <code>1</code> to have the template be more comprehensive, <code>gld</code> to have it show GoldSource games, or <code>src</code> to have it show Source games.
'''<nowiki>{{{games|}}}</nowiki>''' can be set to <code>1</code> to have the template be more comprehensive, <code>gld</code> to have it show GoldSource games, or <code>src</code> to have it show Source games.

Revision as of 01:33, 25 September 2025

Edit-copy.png
This is a documentation subpage for Template:Half-Life series.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Usage

{{{suf|}}} works just the same as normal game icon templates.
{{hlseries}}Half-Life Half-Life 2 Half-Life: Alyx

{{{games|}}} can be set to 1 to have the template be more comprehensive, gld to have it show GoldSource games, or src to have it show Source games.

{{hlseries|games=1}}Half-Life Half-Life (PS2) Half-Life: Blue Shift Half-Life: Opposing Force Deathmatch Classic Ricochet Half-Life 2 Half-Life 2: Episode One Half-Life 2: Episode Two Half-Life 2: Lost Coast Half-Life 2: Deathmatch Half-Life: Source Half-Life Deathmatch: Source Half-Life: Alyx

{{hlseries|games=gld}}Half-Life Half-Life: Blue Shift Half-Life: Opposing Force Half-Life 1 series

{{{fan|}}} can be set to 1 to have it show Black Mesa and Synergy as well. {{hlseries|games=1|fan=1}}Half-Life Half-Life (PS2) Half-Life: Blue Shift Half-Life: Opposing Force Deathmatch Classic Ricochet Half-Life 2 Half-Life 2: Episode One Half-Life 2: Episode Two Half-Life 2: Lost Coast Half-Life 2: Deathmatch Half-Life: Source Half-Life Deathmatch: SourceBlack Mesa Synergy Half-Life: Alyx

{{hlseries|games=src|fan=1|suf=:es}}Half-Life 2 Half-Life 2: Deathmatch Half-Life 2: Lost Coast Half-Life 2: Episode One Half-Life 2: Episode Two Half-Life 2 series Black Mesa Synergy


This template can be used in inline note templates, KV templates, and such, just as if the individual icons were being used.
{{also:es|{{hlseries|suf=:es|games=1}}}}Template:Also:es

{{KV|Fee|intn=fee|string|Fi, fo, fum.|only={{hlseries}}}}

Fee (fee) <string> (only in Half-Life Half-Life 2 Half-Life: Alyx)
Fi, fo, fum.