User:Darkid/Sandbox2

From Team Fortress Wiki
< User:Darkid
Revision as of 21:00, 7 January 2018 by Darkid (talk | contribs)
Jump to: navigation, search

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

For future reference, if creating new additions, the key cannot include a number, or it will be parsed out. Thus, if you want to add a string like xmas2015, instead add it to the Multipart strings with xmas and use num to represent the 2015.


Entries

Parameter Output
audition-reel Audition Reel
bread-box Bread Box
chemistryset Chemistry Set
collectors Chemistry Set (Collector's)
contract Contract (Decorated)
contract-unique ConTracker
craft Craft
creepy-crate Unlocked Creepy Crate
directors Director's Cut Reel
distributed Distributed
drop Drop
gift-cauldron Halloween Gift Cauldron
halloween-purchase Purchase
hauntedgift Haunted Halloween Gift (expired)
keyless-crate Unlocked Cosmetic Crate (Unique and Strange)
mvm Lua error: Module:Availability/Sandbox:166: Passed an invalid string to Module:Availability: "mvm".

Please do not translate these strings, they will be translated automatically.

promotional Promotional
purchase Purchase
retired Retired
stock Stock
stockpile Stockpile Crate
trade-up Trade-Up
transmute Halloween Transmute (Untradable)
unavailable Unavailable
unlock Unlock
unusual Uncrate (Unusual)
xmas2015 Lua error: Module:Availability/Sandbox:166: Passed an invalid string to Module:Availability: "xmas".

Please do not translate these strings, they will be translated automatically.

winter2016-strange Lua error: Module:Availability/Sandbox:166: Passed an invalid string to Module:Availability: "winter-strange".

Please do not translate these strings, they will be translated automatically.

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) (expired)
crate4-haunted Uncrate #4 (Haunted) (expired)
strangifier-series-5 Lua error: Module:Availability/Sandbox:166: 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/Sandbox:166: Passed an invalid string to Module:Availability: "strangifier-crate-".

Please do not translate these strings, they will be translated automatically.

unusual-3 Lua error: Module:Availability/Sandbox:166: Passed an invalid string to Module:Availability: "unusual-".

Please do not translate these strings, they will be translated automatically.

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.

Outdated Parameter New Parameter
crate-nice crate36
crate-nice2012 crate53
crate-nice2013 crate79
crate-nice2014 crate89
crate-naughty crate35-festive
crate-naughty2012 crate52-festive
crate-naughty2013 crate78-festive
crate-naughty2014 crate88-festive
store purchase
achievement unlock
strongbox crate81
crate46 crate-scorched
crate74 crate74-haunted
winter2016 crate105

Deprecated Parameters

strangifier || Use (something) instead.
Parameter Deprecation reason