Template:Only: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{lang|Template:Only}}
{{doc}}
<onlyinclude><includeonly><!--


-->{{in|{{{1}}}|text={{Software/strings|Only}}| suffix = {{Autolang||zh=之中}}|color=#BB8B2D}}<!--
<includeonly>


--></includeonly></onlyinclude>
<onlyinclude><!--
{{doc}}
 
<!-- Add categories to the /doc subpage, not here -->
-->{{in
| 1 = {{{1}}}
| text={{Software/strings|Only}}
| suffix = {{#ifeq: {{ROOTPAGENAME}}|Zh|之中}}
| color=#BB8B2D
}}<!--
 
--></onlyinclude>
 
</includeonly>

Latest revision as of 14:11, 31 July 2024

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

An inline template showcasing the game availability of a keyvalue, material parameter, or other feature. It is intended to replace the multiple game only templates with a single template that's less unwieldly to work with.

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.

Translations

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

Examples

{{only|{{l4ds}}}}(only in Left 4 Dead seriesLeft 4 Dead series)
{{only|{{tf2}}{{csgo}}{{GMOD}}}}(only in Team Fortress 2Counter-Strike: Global OffensiveGarry's Mod)

See also