Template:Half-Life 2 episodes/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 ==
{{param|suf}} works just the same as [[Template:Software|normal game icon templates]].<br>
<code><nowiki>{{Hl2episodes|suf=:ru}}</nowiki></code> → {{Hl2episodes|suf=:ru}}
so do {{param|addtext}} and {{param|1}}, except that <code>1</code>, <code>2</code>, <code>3</code>, and <code>4</code> don't work for {{param|1}} (they show {{tlx|hl2ep1|<nowiki>{{{1}}}</nowiki>}}), and the text color is that of {{tl|hl2ep1}}:
so do {{param|addtext}} and {{param|1}}, except that <code>1</code>, <code>2</code>, <code>3</code>, and <code>4</code> don't work for {{param|1}} (they show {{tlx|hl2ep1|<nowiki>{{{1}}}</nowiki>}}), and the text color is that of {{tl|hl2ep1}}:



Latest revision as of 01:35, 25 September 2025

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

Usage

so do {{{addtext}}} and {{{1}}}, except that 1, 2, 3, and 4 don't work for {{{1}}} (they show {{hl2ep1|{{{1}}}}}), and the text color is that of {{hl2ep1}}:

{{hl2episodes|only}}(only in Half-Life 2: Episode OneHalf-Life 2: Episode Two)

{{hl2episodes|not|addtext={{l4d2}}}}(not in Half-Life 2: Episode OneHalf-Life 2: Episode Two Left 4 Dead 2)

Todo: this one is broken

{{hl2episodes|2}}Half-Life 2: Episode One [[Half-Life 2: Episode One|Half-Life 2: Episode OneHalf-Life 2: Episode Two]]