Template:Hierarchy/doc: Difference between revisions
Jump to navigation
Jump to search
Note:Some of the examples given may lead to non-existent pages.
1416006136 (talk | contribs) mNo edit summary |
|||
Line 3: | Line 3: | ||
== 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}}. | ||
=== Examples === | === Examples === |
Revision as of 11:41, 17 August 2022

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

{{hierarchy}}
|
→ |
{{hierarchy|suf=:zh-cn}}
|
→ |
{{hierarchy|suf=:es}}
|
→ |
{{hierarchy|srcbranch}}
|
→ |
{{hierarchy|srcbranch|suf=:zh-cn}}
|
→ |
{{hierarchy|gmod}}
|
→ |
{{hierarchy|tf2}}
|
→ |
{{hierarchy|modscategory}} {{hierarchy|modscat}}
|
→ |