Template:In

From Valve Developer Community
Revision as of 03:40, 27 January 2022 by Popcorn (talk | contribs) (Created to get rid of redundance with {{since}}, {{removed}}, {{only}}, {{not}} and {{also}}.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Gnome app science.png
This template uses a Testcases subpage
You can test how this page looks with it's different skins and parsers.

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}}}} → <span style="color:{{ Half-Life 2|col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;">(in Half-Life 2)
{{in|{{hl1}}{{hlbs}}}} → <span style="color:{{ Half-LifeHalf-Life: Blue Shift|col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;">(in Half-LifeHalf-Life: Blue Shift)
{{in|{{hl1}}{{hlbs}}|color=#FFFFFF}} → <span style="color:{{ Half-LifeHalf-Life: Blue Shift|col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;">(in Half-LifeHalf-Life: Blue Shift)
{{in|text=in all games since|{{tf2}}}} → <span style="color:{{ Team Fortress 2|col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;">(in all games since Team Fortress 2)
{{in|{{l4dbranch|3.1}}}} → <span style="color:{{ Left 4 Dead engine branch|col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;">(in Left 4 Dead engine branch)
{{in|{{src06}}|suffix=branch}} → <span style="color:{{ Source 2006|col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;">(in Source 2006)
{{in|{{src13|4}}|suffix=branch}} → <span style="color:{{ Source 2013 Source 2013|col}}; background-color: #202020; font-weight:bold; padding: 2px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;">(in Source 2013 Source 2013)

See also