Template:Availability/doc
{{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}}
.
drop
produces Template:Dictionary/templatecore/avail-dropcraft
produces Template:Dictionary/templatecore/avail-craftpurchase
produces Template:Dictionary/templatecore/avail-purchaseunlock
produces Template:Dictionary/templatecore/avail-unlockpromotional
produces Template:Dictionary/templatecore/avail-promotionaldistributed
produces Template:Dictionary/templatecore/avail-distributedhauntedgift
produces Template:Dictionary/templatecore/avail-hauntedgiftcrate1
produces Template:Dictionary/templatecore/avail-crate1 (supports all series)crate24-strange
produces Template:Dictionary/templatecore/avail-crate24-strange (supports all series beyond #19 except #22)crate35
orcrate36
produces Template:Dictionary/templatecore/avail-crate35botkiller
produces Template:Dictionary/templatecore/avail-botkilleraustralium
produces Template:Dictionary/templatecore/avail-australiummvm-both-types
produces Template:Dictionary/templatecore/avail-mvm-both-typesmannup
produces Template:Dictionary/templatecore/avail-mannupcrate74-nohaunt
produces Template:Dictionary/templatecore/avail-crate74-nohauntcollectors
produces Template:Dictionary/templatecore/avail-collectorsunusual
produces Template:Dictionary/templatecore/avail-unusualretired
produces Template:Dictionary/templatecore/avail-retiredchemistryset
produces Template:Dictionary/templatecore/avail-chemistrysetstrangifier-series-1
produces Template:Dictionary/templatecore/avail-strangifier-series-1. Tooltips can be translated at Template:Dictionary/common strings#strangifier-series-x, etcstrangifier-crate-82
Template:Dictionary/templatecore/avail-strangifier-crate-82. Tooltips can be translated at Template:Dictionary/common strings#strangifier-series-x, etccontract
produces Template:Dictionary/templatecore/avail-contractxmas2015
produces Template:Dictionary/templatecore/avail-xmas2015
Usage
{{avail|drop|craft|purchase|promotional}}
produces Drop, Craft, Purchase or Promotional{{avail|drop|craft|crate1|crate15}}
produces Drop, Craft, Uncrate #1 or Uncrate #15
To have other entries that are not in the autotranslate list, add them afterward like:
| availability = {{avail|drop|purchase}}, Halloween