Difference between revisions of "Module:Availability/doc"
Line 20: | Line 20: | ||
| <code>craft</code> || {{#invoke:Availability|avail|craft}} | | <code>craft</code> || {{#invoke:Availability|avail|craft}} | ||
|- | |- | ||
− | | <code>creepy-gift-cauldron</code> || {{#invoke:Availability|avail| | + | | <code>creepy-crate</code> || {{#invoke:Availability|avail|creepy-crate}} |
+ | |- | ||
+ | | <code>gift-cauldron</code> || {{#invoke:Availability|avail|gift-cauldron}} | ||
|- | |- | ||
| <code>directors</code> || {{#invoke:Availability|avail|directors}} | | <code>directors</code> || {{#invoke:Availability|avail|directors}} | ||
Line 66: | Line 68: | ||
| <code>crate1</code> || {{#invoke:Availability|avail|crate1}} | | <code>crate1</code> || {{#invoke:Availability|avail|crate1}} | ||
|- | |- | ||
− | | <code> | + | | <code>crate2-strange</code> || {{#invoke:Availability|avail|crate2-strange}} |
|- | |- | ||
− | | <code> | + | | <code>crate3-festive</code> || {{#invoke:Availability|avail|crate3-festive}} |
|- | |- | ||
− | | <code> | + | | <code>crate4-haunted</code> || {{#invoke:Availability|avail|crate4-haunted}} |
|- | |- | ||
− | | <code>strangifier-series- | + | | <code>strangifier-series-5</code> || {{#invoke:Availability|avail|strangifier-series-5}} |
|- | |- | ||
− | | <code>strangifier-crate- | + | | <code>strangifier-crate-6 ||</code> {{#invoke:Availability|avail|strangifier-crate-6}} |
|- | |- | ||
|} | |} |
Revision as of 21:29, 7 March 2016
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:173: 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:173: 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:173: 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