Template:Since/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Documentation for Template:Since)
 
(Updated documentation)
Line 3: Line 3:
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.
==Usage==
==Usage==
This template has two parameters, an unnamed one and a named one, <code>also</code>. Both parameters should be a transclusion of a template in [[:Category:Game icons]]. Multiple game icon templates can be used for the parameters.
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 10: Line 10:


: <code><nowiki>{{since|{{l4d}}{{l4d2}}}}</nowiki></code> → {{since|{{l4d}}{{l4d2}}}}
: <code><nowiki>{{since|{{l4d}}{{l4d2}}}}</nowiki></code> → {{since|{{l4d}}{{l4d2}}}}
: <code><nowiki>{{since|{{l4d}}|also={{src13}}}}</nowiki></code> → {{since|{{l4d}}|also={{src13}}}}


==See Also==
==See Also==
{{tl|Only}}
* {{tl|Also}}
* {{tl|Only}}
* {{tl|Removed}}


<includeonly>{{sandbox other||
<includeonly>{{sandbox other||

Revision as of 18:42, 22 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.

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

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