Difference between revisions of "Module:Availability/doc"
m (→Entries: Duplicate) |
|||
Line 61: | Line 61: | ||
|- | |- | ||
| <code>xmas2015</code> || {{#invoke:Availability|avail|xmas2015}} | | <code>xmas2015</code> || {{#invoke:Availability|avail|xmas2015}} | ||
+ | |- | ||
+ | | <code>winter2016</code> || {{#invoke:Availability|avail|winter2016}} | ||
+ | |- | ||
+ | | <code>winter2016-strange</code> || {{#invoke:Availability|avail|winter2016-strange}} | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | |
Revision as of 13:09, 22 December 2016
This module is very complex. If you have questions about this module, feel free to ask on the IRC. Darkid has offered to maintain this module, you may contact them if you need further assistance. |
To update which crate series are linked as active, change the list in Module:Availability/crate. |
Module:Availability (aka Template:Availability) is used to display and autotranslate the 'Availability' section in {{Item infobox}}
. Preferably, the shortcut {{avail}}
should be used.
Contents
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 |
directors |
Director's Cut Reel |
drop |
Drop |
gift-cauldron |
Halloween Gift Cauldron |
halloween-purchase |
Purchase |
hauntedgift |
Haunted Halloween Gift (expired) |
keyless-crate |
Unlocked Cosmetic Crate (Unique and Strange) |
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 |
winter2016 |
Uncrate #105 |
winter2016-strange |
Unlocked Winter 2016 Cosmetic Case (Unique and Strange) |
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. |
unusual-3 |
Uncrate (Unusual) |
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=[[Main Page|Custom]]}}
produces Drop, Craft, Purchase, Promotional or Custom
Backwards compatibility
{{Availability}}
(which used to be {{Dictionary/templatecore}}
) used a few parameters which were sloppily implemented. They will still function in this template, but their use will place the page into Outdated Availability Parameters. Their use is documented here, but only to ensure that the module still works with them. Do not use them!
Outdated Parameter | Output | New Parameter | Output |
---|---|---|---|
crate-nice |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "crate-nice".
Please do not translate these strings, they will be translated automatically. |
crate36 |
Uncrate #36 |
crate-nice2012 |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "crate-nice".
Please do not translate these strings, they will be translated automatically. |
crate53 |
Uncrate #53 |
crate-nice2013 |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "crate-nice".
Please do not translate these strings, they will be translated automatically. |
crate79 |
Uncrate #79 |
crate-nice2014 |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "crate-nice".
Please do not translate these strings, they will be translated automatically. |
crate89 |
Uncrate #89 |
crate-naughty |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "crate-naughty".
Please do not translate these strings, they will be translated automatically. |
crate35-festive |
Uncrate #35 (Festive) |
crate-naughty2012 |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "crate-naughty".
Please do not translate these strings, they will be translated automatically. |
crate52-festive |
Uncrate #52 (Festive) |
crate-naughty2013 |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "crate-naughty".
Please do not translate these strings, they will be translated automatically. |
crate78-festive |
Uncrate #78 (Festive) |
crate-naughty2014 |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "crate-naughty".
Please do not translate these strings, they will be translated automatically. |
crate88-festive |
Uncrate #88 (Festive) |
store |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "store".
Please do not translate these strings, they will be translated automatically. |
purchase |
Purchase |
achievement |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "achievement".
Please do not translate these strings, they will be translated automatically. |
unlock |
Unlock |
strangifier-strange |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "strangifier-strange".
Please do not translate these strings, they will be translated automatically. |
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. |
strongbox |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "strongbox".
Please do not translate these strings, they will be translated automatically. |
crate81 |
Uncrate #81 |
crate46 |
Uncrate #46 | crate-scorched |
Uncrate #46 |
crate74 |
Uncrate #74 (Haunted) (expired) | crate74-haunted |
Uncrate #74 (Haunted) (expired) |