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...")
 
Line 29: Line 29:
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|tf2}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|tf2}}
| &rarr; {{ {{ROOTPAGENAME}} |tf2}}
| &rarr; {{ {{ROOTPAGENAME}} |tf2}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|modscategory}}<br>{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|modscat}}
| &rarr; {{ {{ROOTPAGENAME}} |modscat}}
|}
|}
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||

Revision as of 14:49, 15 August 2022

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.
  • {{{suf}}} - Optional: To link to a specific language, set this to the appropriate language suffix, e.g. :es, see {{lang}}.

Examples

Note.pngNote:Some of the examples given may lead to non-existent pages.
{{hierarchy}}
{{hierarchy|suf=:zh-cn}}
{{hierarchy|suf=:es}}
{{hierarchy|srcbranch}}
{{hierarchy|srcbranch|suf=:zh-cn}}
{{hierarchy|gmod}}
{{hierarchy|tf2}}
{{hierarchy|modscategory}}
{{hierarchy|modscat}}