Template:Since/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Completed links.)
m (documented the color change)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page.) -->
<!-- Please place categories where indicated at the bottom of this page.) -->
An inline template showcasing the game availability of a keyvalue, material parameter, or other feature. It is intended to replace the multiple game add templates with a single template that's less unweldly to work with. The color of the text changes based upon which game is used.
An inline template showcasing the game availability of a keyvalue, material parameter, or other feature. It is intended to replace the multiple game add templates with a single template that's less unwieldly to work with.
==Usage==
==Usage==
This template has one unnamed parameter. The parameter should be a transclusion of a template in [[:Category:Game icons]]. Multiple game icon templates can be used for the parameter, but this will result in the default color for the text.
This template has one unnamed parameter. The parameter should be a transclusion of a template in [[:Category:Game icons]]. Multiple game icon templates can be used for the parameter.


==Examples==
==Examples==
Line 21: Line 21:
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Notice templates]]
[[Category:Notice templates]]}}</includeonly>
}}</includeonly>

Revision as of 16:35, 20 October 2022

Edit-copy.png
This is a documentation subpage for Template:Since.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

An inline template showcasing the game availability of a keyvalue, material parameter, or other feature. It is intended to replace the multiple game add templates with a single template that's less unwieldly to work with.

Usage

This template has one unnamed parameter. The parameter should be a transclusion of a template in Category:Game icons. Multiple game icon templates can be used for the parameter.

Examples

{{since|{{src07}}}}(in all games since Source 2007)
{{since|{{l4d}}{{l4d2}}}}(in all games since Left 4 DeadLeft 4 Dead 2)

See Also