Template:In

From Valve Developer Community
Jump to: navigation, search
English
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 be a super template for the ones listed below. The color of the text changes based upon which game is used.

Usage

Parameters

{{{1}}} This unnamed parameter should be a transclusion of a template in Category:Game icons. Multiple game icon templates can be used, but this will result in the default color for the text.
{{{text}}} The text to be shown on the left of the icon. Default is in.
{{{suffix}}} The text to be shown on the right of the icon. Default is nothing.

Examples

{{in|{{hl2}}}} (in Half-Life 2)
{{in|{{hl1}}{{hl1:bs}}}} (in Half-LifeHalf-Life: Blue Shift)
{{in|text=in all games since|{{tf2}}}} (in all games since Team Fortress 2)
{{in|text=in|{{src06}}|suffix=branch}} (in Source 2006 branch)

See Also