Template:This is a/category: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(fix for capitalization of engine names, this shouldn't effect games)
No edit summary
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:<!--
<!--
 
    Entity categories, they have further subcategories that separate them but should list all entities that are in the subcategories too
 
-->{{#switch: {{{1}}}
    |#default =
    |point entity = {{ACategory|Entities}}{{ACategory|Point entities}}
    |logical entity = {{ACategory|Entities}}{{ACategory|Logical entities}}
    |model entity = {{ACategory|Entities}}{{ACategory|Model entities}}
    |brush entity = {{ACategory|Entities}}{{ACategory|Brush entities}}
    |mesh entity = {{ACategory|Entities}}{{ACategory|Mesh entities}}
    |path entity = {{ACategory|Entities}}{{ACategory|Path entities}}
    |entity = {{ACategory|Entities}}{{ACategory|Unspecified type entities}}
}}<!--  
 
    Category for cut entries
 
-->{{yesno|{{{cut|no}}}
-->{{yesno|{{{cut|no}}}
     |yes=cut
     |yes={{ACategory|Cut {{ucfirst:{{{in}}} }}<!--
}} <!--
--> {{#switch:{{{1}}}
    |#default = {{{1}}}s
    |point entity|brush entity|model entity|logical entity|mesh entity|path entity|entity = entities
}}}}
}}<!--  
 
    Category for internal entities
 
-->{{yesno|{{{internal|no}}}
-->{{yesno|{{{internal|no}}}
     |yes=internal
|yes={{ACategory|Internal {{ucfirst:{{{in}}} }} entities}}
}} <!--
|no={{#if:{{{no-non-int|}}}{{{semi-internal|}}}|| {{#ifeq:{{{1}}}|point entity|{{ACategory|Non-internal {{ucfirst:{{{in|}}} }} entities}}|}} }}
-->{{ucfirst:{{{in}}} }}<!--
}}<!--
 
     Category for semi-internal entities
 
-->{{yesno|{{{semi-internal|no}}}|yes={{ACategory|Semi-internal {{ucfirst:{{{in|}}} }} entities}}|no=
}}<!--
 
    Category for game entities that doesn't specify type
 
-->{{#switch:{{{1}}}
    |#default =
    |point entity|logical entity|model entity|brush entity|mesh entity|path entity|entity = {{ACategory|{{ucfirst:{{{in}}} }} entities}}
}}<!--
 
    Main category (may coexist with the other 3)
 
-->{{ACategory|{{ucfirst:{{{in}}} }}<!--
--> {{#switch:{{{1}}}
--> {{#switch:{{{1}}}
     |#default = {{{1}}}s
     |#default = {{{1}}}s
     |point entity = point entities
     |point entity = point entities
    |logical entity = logical entities
    |model entity = model entities
     |brush entity = brush entities
     |brush entity = brush entities
     |mesh entity = mesh entities
     |mesh entity = mesh entities
     |path = path entities
     |path entity = path entities
    |entity = entities
}}<!--
 
    Sort key for QC commands and shader parameters
 
-->|{{#switch:{{padright:|2|{{PAGENAME}} }}
    |#default={{PAGENAME}}
    |$a = a
    |$b = b
    |$c = c
    |$d = d
    |$e = e
    |$f = f
    |$g = g
    |$h = h
    |$i = i
    |$j = j
    |$k = k
    |$l = l
    |$m = m
    |$n = n
    |$o = o
    |$p = p
    |$q = q
    |$r = r
    |$s = s
    |$t = t
    |$u = u
    |$v = v
    |$w = w
    |$x = x
    |$y = y
    |$z = z
}}<!--
}}<!--
-->]]
-->}}

Latest revision as of 07:37, 22 May 2025

[[Category:{{{in}}} {{{1}}}s|This is a/category]]