Template:Also/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}
<!-- 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.
{{ModernNote|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}}.}}
Line 8: Line 7:


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


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


== See Also ==
== See Also ==
Line 21: Line 20:


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

Revision as of 21:32, 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