Difference between revisions of "Template:Removed"

From Valve Developer Community
Jump to: navigation, search
(Added game color detection)
m (this is used only in the "removed since" context, so I reworded this)
 
Line 1: Line 1:
<span style="color:{{Game color|{{{1}}}}}; background-color: #202020; font-weight:bold; padding: 2px; {{border-radius|4px}}">(''removed'' in {{{1}}})</span><noinclude>
+
<span style="color:{{Game color|{{{1}}}}}; background-color: #202020; font-weight:bold; padding: 2px; {{border-radius|4px}}">(''removed'' since {{{1}}})</span><noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories to the /doc subpage, not here -->
 
<!-- Add categories to the /doc subpage, not here -->
 
</noinclude>
 
</noinclude>

Latest revision as of 02:02, 17 April 2021

(removed since {{{1}}})

Template icon Template documentation[view] [edit] [history] [purge]

An inline template showcasing the game availability of a keyvalue, material parameter, or other feature. This inline template is meant for parameters that were removed in later branches of the engine. The color of the text changes based upon which game is used.

Usage

This template has one unnamed parameter. The parameter should be a transclusion of a template in Category:Game icons.

Examples

{{removed|{{l4d}}}}(removed since <Left 4 Dead>)

See Also