Template:Hierarchy/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(also do the same for xbox.)
Line 31: Line 31:
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|ps}}<br>{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|playstation}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|ps}}<br>{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|playstation}}
| &rarr; {{ {{ROOTPAGENAME}} |ps}}
| &rarr; {{ {{ROOTPAGENAME}} |ps}}
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|xbox}}
| &rarr; {{ {{ROOTPAGENAME}} |xbox}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|modscategory}}<br>{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|modscat}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|modscategory}}<br>{{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|modscat}}

Revision as of 09:59, 8 August 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}}.
    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|srcbranch}}
{{hierarchy|gmod}}
{{hierarchy|tf2}}
{{hierarchy|cs}}
{{hierarchy|sfm}}
{{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}}