Template:Half-Life 2 episodes/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎top: clean up, replaced: {{Documentation subpage → {{Doc/subpage)
mNo edit summary
Line 13: Line 13:
<code><nowiki>{{hl2episodes|2}}</nowiki></code> → {{hl2episodes|2}}
<code><nowiki>{{hl2episodes|2}}</nowiki></code> → {{hl2episodes|2}}
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
[[Category:Game icons]]
[[Category:Software icons]]
}}</includeonly>
}}</includeonly>

Revision as of 13:49, 4 May 2024

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

{{{suf}}} works just the same as normal game icon templates.
{{Hl2episodes|suf=:ru}}Half-Life 2: Episode One Half-Life 2: Episode Two

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)

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