Template:This is a/category: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Separated cut and internal categories from normal categories.)
No edit summary
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!--  
<!--
     Category for cut entities
 
    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=[[Category:Cut {{ucfirst:{{{in}}} }}<!--
     |yes={{ACategory|Cut {{ucfirst:{{{in}}} }}<!--
--> {{#switch:{{{1}}}
--> {{#switch:{{{1}}}
     |#default = {{{1}}}s
     |#default = {{{1}}}s
     |point entity = point entities
     |point entity|brush entity|model entity|logical entity|mesh entity|path entity|entity = entities
    |brush entity = brush entities
}}}}
    |mesh entity = mesh entities
    |path = path entities
}}]]
}}<!--  
}}<!--  


Line 15: Line 27:


-->{{yesno|{{{internal|no}}}
-->{{yesno|{{{internal|no}}}
    |yes=[[Category:Internal {{ucfirst:{{{in}}} }}<!--
|yes={{ACategory|Internal {{ucfirst:{{{in}}} }} entities}}
--> {{#switch:{{{1}}}
|no={{#if:{{{no-non-int|}}}{{{semi-internal|}}}|| {{#ifeq:{{{1}}}|point entity|{{ACategory|Non-internal {{ucfirst:{{{in|}}} }} entities}}|}} }}
     |#default = {{{1}}}s
}}<!--  
     |point entity = point entities
 
     |brush entity = brush entities
    Category for semi-internal entities
    |mesh entity = mesh entities
 
    |path = path 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 two)
     Main category (may coexist with the other 3)


-->[[Category:{{ucfirst:{{{in}}} }}<!--
-->{{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
}}<!--
}}<!--


Line 67: Line 88:
     |$z = z
     |$z = z
}}<!--
}}<!--
-->]]
-->}}

Latest revision as of 07:37, 22 May 2025

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