Template:In

来自Valve Developer Community
跳转到导航 跳转到搜索
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Icon-translate.png Available doc translations
Info.png
文档页面 Template:In/doc/zh 不存在。
模板将改为显示英文文档。如果此消息后没有任何内容,则很可能该文档甚至不存在英文版本。


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.

Translations

The used strings are on strings subpage of "Software" template. Please follow the format to add translations for them.

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.
{{{color}}} The color of the text. Defaults to the color of the game icon used.

Examples

{{in|{{hl2}}}} (存在于 半衰期2)
{{in|{{hl1}}{{hlbs}}}} (存在于 Half-LifeHalf-Life: Blue Shift)
{{in|{{hl1}}{{hlbs}}|color=#FFFFFF}} (存在于 Half-LifeHalf-Life: Blue Shift)
{{in|text=in all games since|{{tf2}}}} (in all games since Team Fortress 2)
{{in|{{l4dbranch|3.1}}}} (存在于 Left 4 Dead engine branch)
{{in|{{src06}}|suffix=branch}} (存在于 Source 2006 branch)
{{in|{{src13|4}}|suffix=branch}} (存在于 Source 2013 Source 2013 branch)

See also