Difference between revisions of "User:Darkid/Sandbox2"

From Team Fortress Wiki
Jump to: navigation, search
Line 56: Line 56:
 
|-
 
|-
 
| <code>strangifier</code> || {{#invoke:Availability/Sandbox|avail|strangifier}}
 
| <code>strangifier</code> || {{#invoke:Availability/Sandbox|avail|strangifier}}
 +
|-
 +
| <code>trade-up</code> || {{#invoke:Availability/Sandbox|avail|trade-up}}
 +
|-
 +
| <code>transmute</code> || {{#invoke:Availability/Sandbox|avail|transmute}}
 
|-
 
|-
 
| <code>unavailable</code> || {{#invoke:Availability/Sandbox|avail|unavailable}}
 
| <code>unavailable</code> || {{#invoke:Availability/Sandbox|avail|unavailable}}
Line 62: Line 66:
 
|-
 
|-
 
| <code>unusual</code> || {{#invoke:Availability/Sandbox|avail|unusual}}
 
| <code>unusual</code> || {{#invoke:Availability/Sandbox|avail|unusual}}
|-
 
| <code>trade-up</code> || {{#invoke:Availability/Sandbox|avail|trade-up}}
 
 
|-
 
|-
 
| <code>xmas2015</code> || {{#invoke:Availability/Sandbox|avail|xmas2015}}
 
| <code>xmas2015</code> || {{#invoke:Availability/Sandbox|avail|xmas2015}}

Revision as of 05:43, 7 January 2018

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 (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/Sandbox:173: Passed an invalid string to Module:Availability: "strangifier".

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

trade-up Trade-Up
transmute Halloween Transmute (Untradable)
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/Sandbox: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/Sandbox: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

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/Sandbox: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)
winter2016 Uncrate #105 crate105 Uncrate #105