Template:Half-Life 2 episodes/doc: Difference between revisions
Jump to navigation
Jump to search
Gaijinviking (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page.) --> == Usage == '''<nowiki>{{{suf|}}}</nowiki>''' works just the same as ...") |
SirYodaJedi (talk | contribs) (→Usage) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Doc/subpage}} | ||
<!-- 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:new icon|normal game icon templates]].<br> | |||
<code><nowiki>{{Hl2episodes|suf=:ru}}</nowiki></code> → {{Hl2episodes|suf=:ru}} | <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}}: | |||
<code><nowiki>{{hl2episodes|only}}</nowiki></code> → {{hl2episodes|only}} | |||
<code><nowiki>{{hl2episodes|not|addtext={{l4d2}}}}</nowiki></code> → {{hl2episodes|not|addtext={{l4d2}}}} | |||
{{todo|this one is broken}} | |||
<code><nowiki>{{hl2episodes|2}}</nowiki></code> → {{hl2episodes|2}} | |||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
[[Category:Software icons]] | |||
[[Category: | |||
}}</includeonly> | }}</includeonly> |
Latest revision as of 09:58, 14 May 2025

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.
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}}
→
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 )
{{hl2episodes|not|addtext={{l4d2}}}}
→ (not in
)
Todo: this one is broken
{{hl2episodes|2}}
→ [[Half-Life 2: Episode One|Half-Life 2: Episode One
]]