Difference between revisions of "Template:L4d series brush"

From Valve Developer Community
Jump to: navigation, search
(Allow automatic categorization of Left 4 Dead 2 Entities, as well. I don't think this is the most elegant way. Please edit if better way is known!)
(Added basic documentation, added the template to Entity Templates category)
 
Line 1: Line 1:
{{brush ent|{{{1|}}}|series=Left 4 Dead|icon=l4ds}}
+
{{brush ent|{{{1|}}}|series=Left 4 Dead|icon=l4ds}}<noinclude>
[[Category:Left 4 Dead 2 Entities]]
+
==Documentation==
 +
When used in an entity article, this template displays the above text, with the defined parameter (which should be the entity's name) replacing 'This', and automatically adds the article to [[:Category:Left 4 Dead Entities]], [[:Category:Left 4 Dead 2 Entities]], [[:Category:Brush Entities]] and [[:Category:Entities]].
 +
[[Category:Entity Templates]]
 +
</noinclude>
 +
<includeonly>[[Category: Left 4 Dead 2 Entities]]</includeonly>

Latest revision as of 02:03, 16 January 2020

<Left 4 Dead> <Left 4 Dead 2> This is a brush entity available in the Left 4 Dead series.

Documentation

When used in an entity article, this template displays the above text, with the defined parameter (which should be the entity's name) replacing 'This', and automatically adds the article to Category:Left 4 Dead Entities, Category:Left 4 Dead 2 Entities, Category:Brush Entities and Category:Entities.