Template:Hierarchy: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(added tree version of source branch template.)
Line 1: Line 1:
{{Hierarchy|srcbranch_tree}}
<includeonly><onlyinclude>{{#switch:{{{disablestyling}}}|#default|no|false|0=<div style="background: linear-gradient(90deg, rgb({{#switch:{{{1}}}|#default=100,100,100|xbox=155,240,11|ps|playstation|pstemplate|playstationtemplate=0,145,215}},.22) 0%, rgb({{#switch:{{{1}}}|#default=100,100,100|xbox=155,240,11|ps|playstation|pstemplate|playstationtemplate=0,145,215}},.05) 100%); box-shadow: inset 0 0 10px rgb(0 0 0 / 30%); border: 1px solid #{{#switch:{{{1}}}|#default=525252|xbox=9bf00b|ps|playstation|pstemplate|playstationtemplate=0091d7}}; border-radius: .3em; box-sizing: border-box; padding: 6px 0px 4px 10px; margin-bottom: 10px; font-size: 12px">|yes|true|1=}}
<includeonly><onlyinclude>{{#switch:{{{disablestyling}}}|#default|no|false|0=<div style="background: linear-gradient(90deg, rgb({{#switch:{{{1}}}|#default=100,100,100|xbox=155,240,11|ps|playstation|pstemplate|playstationtemplate=0,145,215}},.22) 0%, rgb({{#switch:{{{1}}}|#default=100,100,100|xbox=155,240,11|ps|playstation|pstemplate|playstationtemplate=0,145,215}},.05) 100%); box-shadow: inset 0 0 10px rgb(0 0 0 / 30%); border: 1px solid #{{#switch:{{{1}}}|#default=525252|xbox=9bf00b|ps|playstation|pstemplate|playstationtemplate=0091d7}}; border-radius: .3em; box-sizing: border-box; padding: 6px 0px 4px 10px; margin-bottom: 10px; font-size: 12px">|yes|true|1=}}
{{#switch:{{{1}}}<!-- Game engines + branch -->
{{#switch:{{{1}}}<!-- Game engines + branch -->
Line 6: Line 8:


|srcbranch|branch= {{src04|3}} ▶ {{src06|3}} ▶ {{orangebox|3}} <sup>({{src07|3}}▶ {{src09|3}}/{{srcmp|3|nt=MP}} ▶ {{src13|3}} <sup>({{tf2branch|3|nt=0}}, {{xengine|3}})</sup>)</sup> ▶ {{l4dbranch|3}} ▶ {{asbranch|3}} ▶ {{portal2branch|3}} <sup>({{tfbranch|3}})</sup> ▶ {{csgobranch|3}} <sup>({{strata|3}})</sup> ▶ {{dota2branch|3}}<!-- Simple version of Template:Branch-navbox. -->
|srcbranch|branch= {{src04|3}} ▶ {{src06|3}} ▶ {{orangebox|3}} <sup>({{src07|3}}▶ {{src09|3}}/{{srcmp|3|nt=MP}} ▶ {{src13|3}} <sup>({{tf2branch|3|nt=0}}, {{xengine|3}})</sup>)</sup> ▶ {{l4dbranch|3}} ▶ {{asbranch|3}} ▶ {{portal2branch|3}} <sup>({{tfbranch|3}})</sup> ▶ {{csgobranch|3}} <sup>({{strata|3}})</sup> ▶ {{dota2branch|3}}<!-- Simple version of Template:Branch-navbox. -->
|srcbranch_tree= <table style="background:none"><tr><td>{{src04|4}} ▶ {{src06|4}} ▶ {{src07|4}} ▶ </td><td> {{src09|4}} ▶ {{src13sp|4}} <!--
--><div style="padding-top:4px"></div>{{srcmp|4}} ▶ {{src13mp|4}} <sup>({{xengine|3}})</sup> ▶ {{tf2branch|4}} <div style="padding-top:4px"></div>{{l4dbranch|4}} ▶ {{asbranch|4}} ▶ {{p2branch|4}}<sup>({{tfbranch|3}})</sup> ▶ {{csgobranch|4}} <sup>({{strata|3}})</sup> ▶ {{dota2|4}}</td></tr></table>


|gsbranch={{goldsrc|3}} <sup>({{Nightfire|3|addtext=‎ branch|nt=1}})</sup> ▶ [[GoldSrc|Steam build]] <sup>({{cofbranch|3|nt=0}})</sup> ▶ [[GoldSrc (SteamPipe)|SteamPipe]]<sup>({{svengine|3}})</sup> ▶ [[GoldSrc (25th anniversary)|25th Anniversary]]</sup> ▶ {{csneo|3|addtext=‎ Engine Branch}}
|gsbranch={{goldsrc|3}} <sup>({{Nightfire|3|addtext=‎ branch|nt=1}})</sup> ▶ [[GoldSrc|Steam build]] <sup>({{cofbranch|3|nt=0}})</sup> ▶ [[GoldSrc (SteamPipe)|SteamPipe]]<sup>({{svengine|3}})</sup> ▶ [[GoldSrc (25th anniversary)|25th Anniversary]]</sup> ▶ {{csneo|3|addtext=‎ Engine Branch}}

Revision as of 01:24, 24 February 2025

Source 2004 Source 2004Source 2006 Source 2006Source 2007 Source 2007 Source 2009 Source 2009Source 2013 Singleplayer Source 2013 Singleplayer
Source Multiplayer Source MultiplayerSource 2013 Multiplayer Source 2013 Multiplayer (Xengine)Team Fortress 2 branch Team Fortress 2 branch
Left 4 Dead engine branch Left 4 Dead engine branchAlien Swarm engine branch Alien Swarm engine branchPortal 2 engine branch Portal 2 engine branch(Titanfall branch)CS:GO engine branch CS:GO engine branch (Strata Source)Dota 2 Dota 2


English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
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|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}}