Module:Availability/doc
This is the documentation page for Module:Availability
Module: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
Parameter | Output |
---|---|
audition-reel |
Audition Reel |
bread-box |
Bread Box (Unique and Strange) |
chemistryset |
Chemistry Set |
collectors |
Chemistry Set (Collector's) |
contract |
Contract (Decorated) |
craft |
Craft |
creepy-crate |
Unlocked Creepy Crate |
gift-cauldron |
Halloween Gift Cauldron |
directors |
Director's Cut Reel |
drop |
Drop |
halloween-purchase |
Purchase |
hauntedgift |
Haunted Halloween Gift (expired) |
mvm |
As Mann vs. Machine reward |
promotional |
Promotional |
purchase |
Purchase |
retired |
Retired |
stock |
Stock |
stockpile |
Stockpile Crate |
strangifier |
Lua error: Module:Availability:174: Passed an invalid string to Module:Availability: "strangifier".
Please do not translate these strings, they will be translated automatically. |
unavailable |
Unavailable |
unlock |
Unlock |
unusual |
Uncrate (Unusual) |
xmas2015 |
Smissmas 2015 Festive Gift |
mannup |
Reward |
australium |
Reward (Australium) |
botkiller |
Reward (Botkiller) |
mvm-both-types |
Reward (Botkiller and Australium) |
crate1 |
Uncrate #1 |
crate2-strange |
Uncrate #2 (Strange) |
crate3-festive |
Uncrate #3 (Festive) |
crate4-haunted |
Uncrate #4 (Haunted) (expired) |
strangifier-series-5 |
Lua error: Module:Availability:174: Passed an invalid string to Module:Availability: "strangifier-series-".
Please do not translate these strings, they will be translated automatically. |
strangifier-crate-6 |
Lua error: Module:Availability:174: Passed an invalid string to Module:Availability: "strangifier-crate-".
Please do not translate these strings, they will be translated automatically. |
Usage
{{avail|drop}}
produces Drop{{avail|drop|craft}}
produces Drop or Craft{{avail|drop|craft|purchase}}
produces Drop, Craft or Purchase{{avail|drop|craft|purchase|promotional}}
produces Drop, Craft, Purchase or Promotional{{avail|drop|craft|purchase|promotional|availability=custom}}
produces Drop, Craft, Purchase, Promotional or custom