Module:Availability/doc
This is the documentation page for Module:Availability
This module is very complex. If you have questions about this module, feel free to ask on the IRC. Darkid has offered to maintain this module, 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
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
Parameter | Deprecation reason |
---|---|
strangifier |
Strangifiers do not grant new items, they merely change the quality of existing ones. |
strangifier-series-5 |
Strangifiers do not grant new items, they merely change the quality of existing ones. |
strangifier-crate-6 |
Strangifiers do not grant new items, they merely change the quality of existing ones. |