Difference between revisions of "User:Darkid/Sandbox2"
Line 26: | Line 26: | ||
|- | |- | ||
| <code>contract</code> || {{#invoke:Availability/Sandbox|avail|contract}} | | <code>contract</code> || {{#invoke:Availability/Sandbox|avail|contract}} | ||
+ | |- | ||
+ | | <code>contract-unique</code> || {{#invoke:Availability/Sandbox|avail|contract-unique}} | ||
|- | |- | ||
| <code>craft</code> || {{#invoke:Availability/Sandbox|avail|craft}} | | <code>craft</code> || {{#invoke:Availability/Sandbox|avail|craft}} | ||
Line 32: | Line 34: | ||
|- | |- | ||
| <code>directors</code> || {{#invoke:Availability/Sandbox|avail|directors}} | | <code>directors</code> || {{#invoke:Availability/Sandbox|avail|directors}} | ||
+ | |- | ||
+ | | <code>distributed</code> || {{#invoke:Availability/Sandbox|avail|distributed}} | ||
|- | |- | ||
| <code>drop</code> || {{#invoke:Availability/Sandbox|avail|drop}} | | <code>drop</code> || {{#invoke:Availability/Sandbox|avail|drop}} | ||
Line 54: | Line 58: | ||
|- | |- | ||
| <code>stockpile</code> || {{#invoke:Availability/Sandbox|avail|stockpile}} | | <code>stockpile</code> || {{#invoke:Availability/Sandbox|avail|stockpile}} | ||
− | |||
− | |||
|- | |- | ||
| <code>trade-up</code> || {{#invoke:Availability/Sandbox|avail|trade-up}} | | <code>trade-up</code> || {{#invoke:Availability/Sandbox|avail|trade-up}} | ||
Line 68: | Line 70: | ||
|- | |- | ||
| <code>xmas2015</code> || {{#invoke:Availability/Sandbox|avail|xmas2015}} | | <code>xmas2015</code> || {{#invoke:Availability/Sandbox|avail|xmas2015}} | ||
− | |||
− | |||
|- | |- | ||
| <code>winter2016-strange</code> || {{#invoke:Availability/Sandbox|avail|winter2016-strange}} | | <code>winter2016-strange</code> || {{#invoke:Availability/Sandbox|avail|winter2016-strange}} | ||
Line 109: | Line 109: | ||
=== Backwards compatibility === | === Backwards compatibility === | ||
− | {{tl|Availability}} (which used to be {{tl|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 [[:Category:Outdated Availability Parameters|Outdated Availability Parameters]]. | + | {{tl|Availability}} (which used to be {{tl|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 [[:Category:Outdated Availability Parameters|Outdated Availability Parameters]]. |
{| class="wikitable grid" | {| class="wikitable grid" | ||
! class="header" | Outdated Parameter | ! class="header" | Outdated Parameter | ||
− | |||
! class="header" | New Parameter | ! class="header" | New Parameter | ||
− | |||
|- | |- | ||
− | | <code>crate-nice</code> | | + | | <code>crate-nice</code> || <code>crate36</code> |
− | | <code>crate36</code> | ||
|- | |- | ||
− | | <code>crate-nice2012</code> | | + | | <code>crate-nice2012</code> || <code>crate53</code> |
− | | <code>crate53</code> | ||
|- | |- | ||
− | | <code>crate-nice2013</code> | | + | | <code>crate-nice2013</code> || <code>crate79</code> |
− | | <code>crate79</code> | ||
|- | |- | ||
− | | <code>crate-nice2014</code> | | + | | <code>crate-nice2014</code> || <code>crate89</code> |
− | | <code>crate89</code> | ||
|- | |- | ||
− | | <code>crate-naughty</code> | | + | | <code>crate-naughty</code> || <code>crate35-festive</code> |
− | | <code>crate35-festive</code> | ||
|- | |- | ||
− | | <code>crate-naughty2012</code> | | + | | <code>crate-naughty2012</code> || <code>crate52-festive</code> |
− | | <code>crate52-festive</code> | ||
|- | |- | ||
− | | <code>crate-naughty2013</code> | | + | | <code>crate-naughty2013</code> || <code>crate78-festive</code> |
− | | <code>crate78-festive</code> | ||
|- | |- | ||
− | | <code>crate-naughty2014</code> | | + | | <code>crate-naughty2014</code> || <code>crate88-festive</code> |
− | | <code>crate88-festive</code> | ||
|- | |- | ||
− | | | + | | <code>store</code> || <code>purchase</code> |
|- | |- | ||
− | | <code> | + | | <code>achievement</code> || <code>unlock</code> |
− | | <code> | ||
|- | |- | ||
− | | <code> | + | | <code>strongbox</code> || <code>crate81</code> |
− | | <code> | ||
|- | |- | ||
− | | <code> | + | | <code>crate46</code> || <code>crate-scorched</code> |
− | | <code> | ||
|- | |- | ||
− | | <code> | + | | <code>crate74</code> || <code>crate74-haunted</code> |
− | | <code> | ||
|- | |- | ||
− | | <code> | + | | <code>winter2016</code> || <code>crate105</code> |
− | | <code> | + | |} |
− | + | ||
− | + | === Deprecated Parameters === | |
− | | | + | |
+ | {| class="wikitable grid" | ||
+ | ! class="header" | Parameter | ||
+ | ! class="header" | Deprecation reason | ||
|- | |- | ||
− | + | <code>strangifier</code> || Use (something) instead. | |
− | |||
|} | |} |
Revision as of 21:00, 7 January 2018
This user is very complex. If you have questions about this user, feel free to ask on the IRC. Darkid has offered to maintain this user, 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.
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 |
As Mann vs. Machine reward |
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 |
Smissmas 2015 Festive Gift |
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) (expired) |
crate4-haunted |
Uncrate #4 (Haunted) (expired) |
strangifier-series-5 |
Lua error: Module:Availability/Sandbox:178: 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:178: 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.
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 |
---|