Template:Since/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Updated documentation)
(Updated documentation to reflect changes)
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.
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.
==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.
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.


==Examples==
==Examples==

Revision as of 18:37, 23 April 2020

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 unweldly to work with. 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. Multiple game icon templates can be used for the parameter, but this will result in the default color for the text.

Examples

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

See Also

  • {{Also}}
  • {{Only}}
  • {{Removed}}