Template:Only/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Documentation for Template:Only)
 
m (Updated documentation)
Line 12: Line 12:


==See Also==
==See Also==
{{tl|Since}}
* {{tl|Also}}
* {{tl|Removed}}
* {{tl|Since}}
 


<includeonly>{{sandbox other||
<includeonly>{{sandbox other||

Revision as of 18:43, 22 April 2020

Edit-copy.png
This is a documentation subpage for Template:Only.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

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 unweldly 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.

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

  • {{Also}}
  • {{Removed}}
  • {{Since}}