Template:Hierarchy/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page.) --> == Usage == === Parameters === * {{param|1}} - Optional: The representa...")
 
mNo edit summary
 
(32 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{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 ==
=== Parameters ===
=== Parameters ===
* {{param|1}} - Optional: The representation, see the examples below. Can be set to: <code>srcbranch, gmod, tf2</code>.
* {{param|1}} - Optional: The representation, see the examples below. Can be set to: <code>srcbranch, gmod, tf2</code>, etc.
* {{param|suf}} - Optional: To link to a specific language, set this to the appropriate language suffix, e.g. <code>:es</code>, see {{tl2|lang}}.
* {{param|suf}} - Optional: To link to a specific language, set this to the appropriate language suffix, e.g. <code>:es</code>, see {{tl2|lang}}.<br> {{deprecated|{{param|suf}} has been replaced by {{tl|link=Autolang}} that are used on those icons. It may be kept for backward compatibility with older pages.}}
 
=== Examples ===
=== Examples ===
{{note|Some of the examples given may lead to non-existent pages.}}
{{note|Some of the examples given may lead to non-existent pages.}}
Line 10: Line 12:
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}}}
| &rarr; {{ {{ROOTPAGENAME}} }}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} }}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|allengines}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |allengines}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|srcbranch}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |srcbranch}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|suf{{=}}:zh-cn}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|srcbranch_tree}}
| &rarr; {{{{ROOTPAGENAME}}|suf=:zh-cn}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |srcbranch_tree}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|suf{{=}}:es}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|gsbranch}}
| &rarr; {{{{ROOTPAGENAME}}|suf=:es}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |gsbranch}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|srcbranch}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|hl}}
| &rarr; {{ {{ROOTPAGENAME}} |srcbranch}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |hl}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|srcbranch|suf{{=}}:zh-cn}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|hlexp}}
| &rarr; {{ {{ROOTPAGENAME}} |srcbranch|suf=:zh-cn}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |hlexp}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|gmod}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|gmod}}
| &rarr; {{ {{ROOTPAGENAME}} |gmod}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |gmod}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|as}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |as}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|dota}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |dota}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|portal}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |portal}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|tf2}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|tf2}}
| &rarr; {{ {{ROOTPAGENAME}} |tf2}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |tf2}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|arcade}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |arcade}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|cs}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |cs}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|sfm}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |sfm}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|sin}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |sin}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|ps}}<br>{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|playstation}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |ps}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|xbox}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |xbox}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|modscategory}}<br>{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|modscat}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |modscat}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|hammer}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |hammer}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|radiant}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |radiant}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|bspguy}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |bspguy}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|vtfedittemplate}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |vtfedittemplate}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|hammertemplate}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |hammertemplate}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|defrt}}
| <small>&nbsp;</small> {{ {{ROOTPAGENAME}} |defrt}}
|}
|}
<includeonly>{{sandbox other||
 
{{Doc/Sandbox other|
<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
 
}}
}}</includeonly>

Latest revision as of 01:25, 24 February 2025

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

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}}.
    Obsolete-notext.pngDeprecated:{{{suf}}} has been replaced by {{Autolang}} that are used on those icons. It may be kept for backward compatibility with older pages.

Examples

Note.pngNote:Some of the examples given may lead to non-existent pages.
{{hierarchy}}  
{{hierarchy|allengines}}  
{{hierarchy|srcbranch}}  
{{hierarchy|srcbranch_tree}}  
{{hierarchy|gsbranch}}  
{{hierarchy|hl}}  
{{hierarchy|hlexp}}  
{{hierarchy|gmod}}  
{{hierarchy|as}}  
{{hierarchy|dota}}  
{{hierarchy|portal}}  
{{hierarchy|tf2}}  
{{hierarchy|arcade}}  
{{hierarchy|cs}}  
{{hierarchy|sfm}}  
{{hierarchy|sin}}  
{{hierarchy|ps}}
{{hierarchy|playstation}}
 

PlayStation 1 PS1PlayStation 2 PS2PlayStation 3 PS3PlayStation 4 PS4PlayStation 5 PS5
PlayStation Portable PSPPlayStation Vita PS Vita

{{hierarchy|xbox}}  
{{hierarchy|modscategory}}
{{hierarchy|modscat}}
 
{{hierarchy|hammer}}  
{{hierarchy|radiant}}  

Quake QuakeEdQuake II QuakeEd4Quake II QERadiantQ3Radiant Q3RadiantGtkRadiant GtkRadiantNetRadiant NetRadiantNetRadiant-Custom NetRadiant-Custom

{{hierarchy|bspguy}}  
{{hierarchy|vtfedittemplate}}  

VTFEdit Templates:
VTFEdit VTFEditVTFEdit Reloaded VTFEdit Reloaded

{{hierarchy|hammertemplate}}  

Hammer icon templates:
Hammer 3.x Hammer 3.xHammer Hammer 4.xHammer 5.x Hammer 5.x
Hammer 3.x WorldcraftHammer Hammer 4.x

{{hierarchy|defrt}}