Template:Hierarchy/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
Line 1: Line 1:
{{Documentation subpage}}
{{Doc/subpage}} {{Strings notice}}
<!-- 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>, etc.
* {{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}}.
=== 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 39: Line 41:
| &rarr; {{ {{ROOTPAGENAME}} |xash}}
| &rarr; {{ {{ROOTPAGENAME}} |xash}}
|}
|}
<includeonly>{{sandbox other||
 
{{Doc/Sandbox other|
<!-- Categories below this line, please -->
<!-- Categories below this line, please -->


}}</includeonly>
}}

Revision as of 08:39, 3 July 2023

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.
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

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}}.

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|cs}}
{{hierarchy|modscategory}}
{{hierarchy|modscat}}
{{hierarchy|xash}}