Template:Also/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (documented the color change)
mNo edit summary
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 also 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 also templates with a single template that's less unwieldly to work with.
{{note|This template should not be used on its own and should be used in conjunction with {{tl2|since}}.}}
{{ModernNote|This template should not be used on its own and should be used in conjunction with {{tl2|since}}.}}
==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.


==Examples==
== Examples ==
: <code><nowiki>{{also|{{GMOD}}}}</nowiki></code> → {{also|{{GMOD}}}}
: <code><nowiki>{{also|{{GMOD}}}}</nowiki></code> → {{also|{{GMOD}}}}


: <code><nowiki>{{since|{{l4d}}}}{{also|{{GMOD}}}}</nowiki></code> → {{since|{{l4d}}}}{{also|{{GMOD}}}}
: <code><nowiki>{{since|{{l4d}}}}{{also|{{GMOD}}}}</nowiki></code> → {{since|{{l4d}}}}{{also|{{GMOD}}}}


==See Also==
== See Also ==
* {{tl2|In}}
* {{tl2|In}}
* {{tl2|Also}}
* {{tl2|Also}}
Line 21: Line 22:
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Notice templates]]}}</includeonly>
[[Category:Notice templates]]
}}</includeonly>

Revision as of 21:26, 4 April 2023

Edit-copy.png
This is a documentation subpage for Template:Also.
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 also templates with a single template that's less unwieldly to work with. Template:ModernNote

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

{{also|{{GMOD}}}}(also in Garry's Mod)
{{since|{{l4d}}}}{{also|{{GMOD}}}}(in all games since Left 4 Dead)(also in Garry's Mod)

See Also