Difference between revisions of "Template:QuAD/list"
m (Added campaign passes.) |
m (Added uncrate, smissmas 2015 gift.) |
||
Line 67: | Line 67: | ||
-->{{#if:{{{transmute|}}}|{{!}}{{dictionary/common strings/halloween transmute}}}}<!-- | -->{{#if:{{{transmute|}}}|{{!}}{{dictionary/common strings/halloween transmute}}}}<!-- | ||
-->{{#if:{{{unlocked-creepy-crate|}}}|{{!}}{{dictionary/items/unlocked creepy crate}}}}<!-- | -->{{#if:{{{unlocked-creepy-crate|}}}|{{!}}{{dictionary/items/unlocked creepy crate}}}}<!-- | ||
+ | -->{{#if:{{{uncrate|}}}|{{!}}{{dictionary/common strings/uncrate}}}}<!-- | ||
-->{{#if:{{{special|}}}|{{!}}{{#switch:{{{special|}}} | -->{{#if:{{{special|}}}|{{!}}{{#switch:{{{special|}}} | ||
|annual saxxy awards = {{dictionary/common strings/annual saxxy awards}} | |annual saxxy awards = {{dictionary/common strings/annual saxxy awards}} | ||
Line 107: | Line 108: | ||
|polycount pack | |polycount pack | ||
|quakecon bundle | |quakecon bundle | ||
+ | |smissmas 2015 festive gift | ||
|strange bacon grease | |strange bacon grease | ||
|tough break campaign pass | |tough break campaign pass |
Revision as of 00:47, 31 October 2022
{{{1}}}
This template is very complex. If you have questions about this template, feel free to ask on the IRC. Darkid has offered to maintain this template, you may contact them if you need further assistance. |
Summary
{{QuAD}}
is used to display the Quality Availability Database. In other words, it will list the ways to get an item in a given quality.
This particular template is a wrapper for {{Dictionary/quad}}
, the Database.
Entries in this dictionary call {{QuAD/list}}
to order the Availability in a fixed order, and passes them as sequentially numbered parameters to {{QuAD/list/core}}
. QuAD/list/core adds punctuation (commas and ampersands) and the result is a nicely readable string. This also makes use of {{QuAD/comma}}
, {{QuAD/ampersand}}
, {{QuAD/p}}
, and {{QuAD/series}}
.
{{Qualitycheck}}
is called with a Quality, and it will format the availability list for the relevant template (such as {{Wqc}}
or the qualities section in {{Item infobox}}
).
{{Wqc/table/core}}
(header/footer), {{Cqc/table/core}}
(header/footer/brace), or {{Quality list}}
call Qualitycheck (or do the formatting themselves) for all the available qualities.
Usage
When new items are added that need qualities, edit the Database, {{Dictionary/quad}}
.
When new availability types are added/needed, edit the Availability, {{QuAD/list}}
.
If there is an item with more than 20 availabilities, update {{QuAD/list/core}}
.
If there are new qualities, edit the Quality lists, {{Wqc/table/core}}
, {{Cqc/table/core}}
, or {{Quality list}}
.