Template:Availability
From Team Fortress Wiki
(Redirected from Template:Item availability)
Documentation for Availability
{{availability}} is used to display and autotranslate the 'Availability' section in {{Item infobox}}. Preferably, the shortcut {{avail}} should be used.
Note: strings for 'Drop', 'Craft', etc, can be translated at Template:Dictionary/common strings.
Entries
Defined in Template:Dictionary/templatecore (no translatable strings). Please do not create one-off or special case availability strings there, only the most common should be added (see the method in Usage below). To alter the separator (i.e. the comma) per language, edit {{availability/sep}}.
-
dropproduces Drop -
craftproduces Craft -
purchaseproduces Purchase -
unlockproduces Unlock -
promotionalproduces Promotional -
distributedproduces Distributed -
hauntedgiftproduces Haunted Halloween Gift -
crate1produces Uncrate #1 (supports all series) -
crate24-strangeproduces Uncrate #24 (Strange) (supports all series beyond #19 except #22)
Usage
-
{{avail|drop|craft|purchase|promotional}}produces Drop, Craft, Purchase, Promotional -
{{avail|drop|craft|crate1|crate15}}produces Drop, Craft, Uncrate #1, Uncrate #15
To have other entries that are not in the autotranslate list, add them afterward like:
| availability = {{avail|drop|purchase}}, Halloween