Difference between revisions of "Template:Also"

From Valve Developer Community
Jump to: navigation, search
(Added game color detection)
m (Added lang.)
 
Line 1: Line 1:
<span style="color:{{Game color|{{{1}}}}}; background-color: #202020; font-weight:bold; padding: 2px; {{border-radius|4px}}">(''also'' in {{{1}}})</span><noinclude>
+
{{lang|Template:Also}}<onlyinclude><span style="color:{{Game color|{{{1}}}}}; background-color: #202020; font-weight:bold; padding: 2px; {{border-radius|4px}}">(''also'' in {{{1}}})</span></onlyinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Add categories to the /doc subpage, not here -->
 
<!-- Add categories to the /doc subpage, not here -->
</noinclude>
 

Latest revision as of 16:19, 15 September 2021

English Русский 日本語 简体中文 한국어 ქართული ენა

(also in {{{1}}})

Template icon Template documentation[view] [edit] [history] [purge]

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 unweldly to work with. The color of the text changes based upon which game is used.

Note.png Note: This template should not be used on its own and should be used in conjunction with {{since}}.

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, but this will result in the default color for the text.

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