Template:Since/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Documentation for Template:Since)
 
m (→‎top: clean up, replaced: {{Documentation subpage → {{Doc/subpage)
 
(7 intermediate revisions by 6 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 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 unwieldly 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.
 
== 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}}}}


: <code><nowiki>{{since|{{l4d}}|also={{src13}}}}</nowiki></code> → {{since|{{l4d}}|also={{src13}}}}
==See also==
 
* {{tl2|In}}
==See Also==
* {{tl2|Also}}
{{tl|Only}}
* {{tl2|Only}}
* {{tl2|Since}}
* {{tl2|Removed}}
* {{tl2|Not}}


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

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