Difference between revisions of "Module:Availability/doc"
Line 9: | Line 9: | ||
|- | |- | ||
| <code>audition-reel</code> || {{#invoke:Availability|avail|audition-reel}} | | <code>audition-reel</code> || {{#invoke:Availability|avail|audition-reel}} | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| <code>bread-box</code> || {{#invoke:Availability|avail|bread-box}} | | <code>bread-box</code> || {{#invoke:Availability|avail|bread-box}} | ||
Line 33: | Line 29: | ||
|- | |- | ||
| <code>hauntedgift</code> || {{#invoke:Availability|avail|hauntedgift}} | | <code>hauntedgift</code> || {{#invoke:Availability|avail|hauntedgift}} | ||
− | |||
− | |||
|- | |- | ||
| <code>mvm</code> || {{#invoke:Availability|avail|mvm}} | | <code>mvm</code> || {{#invoke:Availability|avail|mvm}} | ||
− | |||
− | |||
|- | |- | ||
| <code>promotional</code> || {{#invoke:Availability|avail|promotional}} | | <code>promotional</code> || {{#invoke:Availability|avail|promotional}} | ||
Line 59: | Line 51: | ||
|- | |- | ||
| <code>xmas2015</code> || {{#invoke:Availability|avail|xmas2015}} | | <code>xmas2015</code> || {{#invoke:Availability|avail|xmas2015}} | ||
+ | |- | ||
+ | | colspan="2" | | ||
+ | |- | ||
+ | | <code>mannup</code> || {{#invoke:Availability|avail|mannup}} | ||
+ | |- | ||
+ | | <code>australium</code> || {{#invoke:Availability|avail|australium}} | ||
+ | |- | ||
+ | | <code>botkiller</code> || {{#invoke:Availability|avail|botkiller}} | ||
+ | |- | ||
+ | | <code>mvm-both-types</code> || {{#invoke:Availability|avail|mvm-both-types}} | ||
+ | |- | ||
+ | | colspan="2" | | ||
|- | |- | ||
| <code>crate1</code> || {{#invoke:Availability|avail|crate1}} | | <code>crate1</code> || {{#invoke:Availability|avail|crate1}} | ||
Line 79: | Line 83: | ||
* {{tlx|avail|drop|craft|purchase}} produces {{#invoke:Availability|avail|drop|craft|purchase}} | * {{tlx|avail|drop|craft|purchase}} produces {{#invoke:Availability|avail|drop|craft|purchase}} | ||
* {{tlx|avail|drop|craft|purchase|promotional}} produces {{#invoke:Availability|avail|drop|craft|purchase|promotional}} | * {{tlx|avail|drop|craft|purchase|promotional}} produces {{#invoke:Availability|avail|drop|craft|purchase|promotional}} | ||
− | * {{tlx|avail|drop|craft|purchase|promotional| | + | * {{tlx|avail|drop|craft|purchase|promotional|6=availability=custom}} produces {{#invoke:Availability|avail|drop|craft|purchase|promotional|availability=custom}} |
Revision as of 21:31, 6 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-gift-cauldron |
Lua error: Module:Availability:173: Passed an invalid string to Module:Availability: "creepy-gift-cauldron".
Please do not translate these strings, they will be translated automatically. |
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 |
crate1-strange |
Uncrate #1 (Strange) |
crate1-festive |
Uncrate #1 (Festive) |
crate1-haunted |
Uncrate #1 (Haunted) (expired) |
strangifier-series-1 |
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-1 |
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