Template:Since/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (documented the color change)
m (→‎top: clean up, replaced: {{Documentation subpage → {{Doc/subpage)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Doc/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 unwieldly 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 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.
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.
== Translations ==
The used strings are on [[Template:Software/strings|strings subpage of "Software" template]]. Please follow the format to add translations for them.


==Examples==
==Examples==
Line 11: Line 14:
: <code><nowiki>{{since|{{l4d}}{{l4d2}}}}</nowiki></code> → {{since|{{l4d}}{{l4d2}}}}
: <code><nowiki>{{since|{{l4d}}{{l4d2}}}}</nowiki></code> → {{since|{{l4d}}{{l4d2}}}}


==See Also==
==See also==
* {{tl2|In}}
* {{tl2|In}}
* {{tl2|Also}}
* {{tl2|Also}}

Latest revision as of 02:17, 12 January 2024

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.

Translations

The used strings are on strings subpage of "Software" template. Please follow the format to add translations for them.

Examples

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

See also