Template:Fl/doc

From Valve Developer Community
Jump to: navigation, search
Edit-copy.png
This is a documentation subpage for Template:Fl.
Don't forget to purge the contents of the base page upon creating or editing this subpage.  

This template is used to generate Flag definitions on entity pages.

Usage

{{Fl|<value>|<name>|<description>}}

Note.pngNote:Don't forget to use Template:= to escape any "=" characters in the text.

Examples and Parameters

Parameter Description Example Preview
deprecated This flag is deprecated and should no longer be used. {{Fl|1|I'm deprecated|deprecated=1}}
{{Fl|2|I'm deprecated too!|Really, don't use me anymore!|deprecated=1}}
  •  [1] : I'm deprecated Obsolete
  •  [2] : I'm deprecated too! Obsolete
       Deprecated. Really, don't use me anymore!
nofgd This flag isn't available in the official FGD. {{Fl|4|Add me to the FGD||nofgd=1}}
{{Fl|8|Add me to the FGD too!|Because I'm not there!|nofgd=1}}
  •  [4] : Add me to the FGD !FGD
  •  [8] : Add me to the FGD too! !FGD
       Because I'm not there!
since This flag is available since this game. Can use either {{<game> add}} or {{Since}} templates. {{Fl|16|I like Alien Swarm|since={{as}}}}
{{Fl|32|I like Alien Swarm too!|I'm available in Portal 2, too!|since={{as}}}}
  •  [16] : I like Alien Swarm (in all games since Alien Swarm)
  •  [32] : I like Alien Swarm too! (in all games since Alien Swarm)
       I'm available in Portal 2, too!
also This flag is also available in this game. Can use either {{<game> also}} or {{Also}} templates. {{Fl|16|I like Alien Swarm|since={{as}}|also={{GMOD}}}}
{{Fl|32|I like Alien Swarm too!|I'm available in Portal 2, too! But also in GMOD!|since={{as}}|also={{GMOD}}}}
  •  [16] : I like Alien Swarm (in all games since Alien Swarm) (also in Garry's Mod)
  •  [32] : I like Alien Swarm too! (in all games since Alien Swarm) (also in Garry's Mod)
       I'm available in Portal 2, too! But also in GMOD!
only This flag is available only in this game. Can use either {{<game> only}} or {{Only}} templates. {{Fl|64|I love Alien Swarm|only={{as}}}}
{{Fl|128|I love Alien Swarm too!|I'm only available in Alien Swarm!|only={{as}}}}
  •  [64] : I love Alien Swarm (only in Alien Swarm)
  •  [128] : I love Alien Swarm too! (only in Alien Swarm)
       I'm only available in Alien Swarm!
not This flag is not available just in this game. Only uses the template {{Not}}. {{Fl|16|I like Alien Swarm!|since={{as}}|not={{csgo}}}}
{{Fl|32|I like Alien Swarm too!|I'm available in Portal 2 too, but not in CS:GO|since={{as}}|not={{csgo}}}}
  •  [16] : I like Alien Swarm (in all games since Alien Swarm) (not in Counter-Strike: Global Offensive)
  •  [32] : I like Alien Swarm too! (in all games since Alien Swarm) (not in Counter-Strike: Global Offensive)
       I'm available in Portal 2 too, but not in CS:GO
removed This flag was removed in this game onwards. Only uses the template {{Removed}}. {{Fl|16|I like Alien Swarm|since={{as}}|removed={{portal2}}}}
{{Fl|32|I like Alien Swarm too!|Actually... I'm not here anymore since Portal 2, including CS:GO...|since={{as}}|removed={{portal2}}}}
  •  [16] : I like Alien Swarm (in all games since Alien Swarm) (removed since Portal 2)
  •  [32] : I like Alien Swarm too! (in all games since Alien Swarm) (removed since Portal 2)
       Actually... I'm not here anymore since Portal 2, including CS:GO...

See also