Template:Hierarchy: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><onlyinclude>{{#switch:{{{disablestyling}}}|#default|no|false|0=<div style="background: linear-gradient(90deg, rgb({{#switch:{{{1}}}|#default=100,100,100|xbox=155,240,11|ps|playstation|pstemplate|playstationtemplate=0,145,215}},.22) 0%, rgb({{#switch:{{{1}}}|#default=100,100,100|xbox=155,240,11|ps|playstation|pstemplate|playstationtemplate=0,145,215}},.05) 100%); box-shadow: inset 0 0 10px rgb(0 0 0 / 30%); border: 1px solid #{{#switch:{{{1}}}|#default=52525...") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{{#switch:{{{1}}}<!-- Game engines + branch --> | {{#switch:{{{1}}}<!-- Game engines + branch --> | ||
|#default|engine={{idtech2|4}} ▶ {{gldsrc|4}} ▶ {{source|4}} ▶ {{source2|4}} | |#default|engine={{idtech2|4}} ▶ {{gldsrc|4}} ▶ {{source|4}} ▶ {{source2|4}} | ||
|of= {{src13|4}} ▶ {{tf2branch|4}} ▶ {{of|4}} | |||
|allengines=<table style="background:none"><tr><td>{{idtech2|4}} ▶ </td><td>{{gldsrc|4}} ▶ {{source|4}} ▶ {{source2|4}}<div style="padding-top:4px"></div>{{idtech3|4}} ▶ {{idtech4|4}} ▶ {{w|id Tech 5|icon=hide}} ▶ {{w|id Tech 6|icon=hide}} ▶ {{w|id Tech 7|icon=hide}}</td></tr></table> | |allengines=<table style="background:none"><tr><td>{{idtech2|4}} ▶ </td><td>{{gldsrc|4}} ▶ {{source|4}} ▶ {{source2|4}}<div style="padding-top:4px"></div>{{idtech3|4}} ▶ {{idtech4|4}} ▶ {{w|id Tech 5|icon=hide}} ▶ {{w|id Tech 6|icon=hide}} ▶ {{w|id Tech 7|icon=hide}}</td></tr></table> | ||
Line 7: | Line 9: | ||
|srcbranch|branch= {{src04|3}} ▶ {{src06|3}} ▶ {{orangebox|3}} <sup>({{src07|3}}▶ {{src09|3}}/{{srcmp|3|nt=MP}} ▶ {{src13|3}} <sup>({{tf2branch|3|nt=0}}, {{xengine|3}})</sup>)</sup> ▶ {{l4dbranch|3}} ▶ {{asbranch|3}} ▶ {{portal2branch|3}} <sup>({{tfbranch|3}})</sup> ▶ {{csgobranch|3}} <sup>({{strata|3}})</sup> ▶ {{dota2branch|3}}<!-- Simple version of Template:Branch-navbox. --> | |srcbranch|branch= {{src04|3}} ▶ {{src06|3}} ▶ {{orangebox|3}} <sup>({{src07|3}}▶ {{src09|3}}/{{srcmp|3|nt=MP}} ▶ {{src13|3}} <sup>({{tf2branch|3|nt=0}}, {{xengine|3}})</sup>)</sup> ▶ {{l4dbranch|3}} ▶ {{asbranch|3}} ▶ {{portal2branch|3}} <sup>({{tfbranch|3}})</sup> ▶ {{csgobranch|3}} <sup>({{strata|3}})</sup> ▶ {{dota2branch|3}}<!-- Simple version of Template:Branch-navbox. --> | ||
|gsbranch={{goldsrc|3}}<sup>([[Half-Life (PS2) engine branch|PS2]])</sup> ▶ [[GoldSrc|Steam build]]<sup>({{sohl|3.1}})</sup> ▶ [[GoldSrc (SteamPipe)|SteamPipe Update]]<sup>({{svengine|3}})</sup> ▶ [[ | |gsbranch={{goldsrc|3}}<sup>([[vdc:Half-Life (PS2) engine branch|PS2]])</sup> ▶ [[vdc:GoldSrc|Steam build]]<sup>({{sohl|3.1}})</sup> ▶ [[vdc:GoldSrc (SteamPipe)|SteamPipe Update]]<sup>({{svengine|3}})</sup> ▶ [[vdc:GoldSrc_(25th anniversary)|25th Anniversary Update]]</sup> ▶ {{Nightfire|3|addtext= Engine Branch}} ▶ {{csneo|3|addtext= Engine Branch}} ▶ [[vdc:Counter-Strike:_Condition_Zero_engine_branch]] <sup> ([[vdc:Counter-Strike_(Xbox)_engine_branch|Xbox]]) </sup> ({{parhlsdkfork|3}} ▶ {{cofbranch|3}}) | ||
<!-- Game engines + branch --> | <!-- Game engines + branch --> | ||
|hl={{hl|4}} ▶ {{hl2|4}} ▶ {{ep1|4}} ▶ {{ep2|4}} ▶ {{hlalyx|4}} | |hl={{hl|4}} ▶ {{hl2|4}} ▶ {{ep1|4}} ▶ {{ep2|4}} ▶ {{hlalyx|4}} | ||
|gmod={{gmod|4}} ▶ {{S&box|4}} | |gmod={{gmod|4}} ▶ {{S&box|4}} | ||
|portal=<table style="background:none"><tr><td>{{portal|4}} ▶ {{p2|4}} ▶ </td><td>{{Adj|4}}<div style="padding-top:4px"></div>{{handlab|4}}</td></tr></table> | |portal=<table style="background:none"><tr><td>{{portal|4}} ▶ {{p2|4}} ▶ </td><td>{{Adj|4}}<div style="padding-top:4px"></div>{{handlab|4}}</td></tr></table> | ||
|modscategory|modscat={{quake}} '''[[ | |modscategory|modscat={{quake}} '''[[vdc:Category:Quake_mods|{{Hierarchy/strings|modscat_quake}}]]''' ▶ {{gldsrc}} '''[[vdc:Category:GoldSrc mods|{{Hierarchy/strings|modscat_gldsrc}}]]''' ▶ {{src}} '''[[vdc:Category:Source mods|{{Hierarchy/strings|modscat_source}}]]''' ▶ {{source2}} '''[[vdc:Category:Source 2 mods|{{Hierarchy/strings|modscat_source2}}]]''' | ||
|tf2={{qtf|4}} ▶ {{tfc|4}} ▶ {{tf2|4}} | |tf2={{qtf|4}} ▶ {{tfc|4}} ▶ {{tf2|4}} | ||
|hammer={{hammer3|4|nt=3.x}} ▶ {{hammer|4|nt=4.x}} ▶ {{hammer5|4|nt=5.x}} | |hammer={{hammer3|4|nt=3.x}} ▶ {{hammer|4|nt=4.x}} ▶ {{hammer5|4|nt=5.x}} | ||
Line 49: | Line 25: | ||
|hammertemplate='''Hammer icon templates:'''<br>{{hammer3|4|linkto=Template|nt=3.x}} ▶ {{hammer|4|linkto=Template|nt=4.x}} ▶ {{hammer5|4|linkto=Template|nt=5.x}}<br>{{worldcraft|4|linkto=Template}} • {{hammer4|4|linkto=Template}} | |hammertemplate='''Hammer icon templates:'''<br>{{hammer3|4|linkto=Template|nt=3.x}} ▶ {{hammer|4|linkto=Template|nt=4.x}} ▶ {{hammer5|4|linkto=Template|nt=5.x}}<br>{{worldcraft|4|linkto=Template}} • {{hammer4|4|linkto=Template}} | ||
}} | }} | ||
{{#switch:{{{disablestyling}}}|#default|no|false|0=</div>|yes|true|1=}}</onlyinclude></includeonly> | {{#switch:{{{disablestyling}}}|#default|no|false|0=</div>|yes|true|1=}}</onlyinclude></includeonly> | ||
{{doc}} | {{doc}} |
Latest revision as of 07:05, 4 January 2025
Template Documentation [edit]
Usage
Parameters
- {{{1}}} - Optional: The representation, see the examples below. Can be set to:
srcbranch, gmod, tf2
, etc. - {{{suf}}} - Optional: To link to a specific language, set this to the appropriate language suffix, e.g.
:es
, see {{lang}}.
Deprecated:{{{suf}}} has been replaced by
{{Autolang}}
that are used on those icons. It may be kept for backward compatibility with older pages.
Examples

{{hierarchy}}
|
|
{{hierarchy|of}}
|
|
{{hierarchy|allengines}}
|
|
{{hierarchy|srcbranch}}
|
|
{{hierarchy|gsbranch}}
|
|
{{hierarchy|hl}}
|
|
{{hierarchy|gmod}}
|
|
{{hierarchy|portal}}
|
|
{{hierarchy|tf2}}
|
|
{{hierarchy|modscategory}} {{hierarchy|modscat}}
|
|
{{hierarchy|hammer}}
|
|
{{hierarchy|hammertemplate}}
|
Hammer icon templates: |