Difference between revisions of "Module:Availability/doc"

From Team Fortress Wiki
Jump to: navigation, search
m (Entries)
(Entries)
Line 36: Line 36:
 
|-
 
|-
 
| <code>hauntedgift</code> || {{#invoke:Availability|avail|hauntedgift}}
 
| <code>hauntedgift</code> || {{#invoke:Availability|avail|hauntedgift}}
 +
|-
 +
| <code>keyless-crate</code> || {{#invoke:Availability|avail|keyless-crate}}
 
|-
 
|-
 
| <code>mvm</code> || {{#invoke:Availability|avail|mvm}}
 
| <code>mvm</code> || {{#invoke:Availability|avail|mvm}}

Revision as of 16:20, 16 October 2016

Module:Availability (aka Template:Availability) is used to display and autotranslate the 'Availability' section in {{Item infobox}}. Preferably, the shortcut {{avail}} should be used.

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
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)
keyless-crate Unlocked Cosmetic Crate (Unique and Strange)

Usage

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)