Difference between revisions of "Template:QuAD/list"
m (Tag: Undo) |
m |
||
(8 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
-->{{#if:{{{promo|}}}|{{!}}{{common string|{{{promo}}}}}}}<!-- | -->{{#if:{{{promo|}}}|{{!}}{{common string|{{{promo}}}}}}}<!-- | ||
-->{{#if:{{{promo2|}}}|{{!}}{{common string|{{{promo2}}}}}}}<!-- | -->{{#if:{{{promo2|}}}|{{!}}{{common string|{{{promo2}}}}}}}<!-- | ||
− | -->{{#if:{{{crate1|}}}|{{!}}{{ | + | -->{{#if:{{{crate1|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply crate}}|{{{crate1}}}}}}}<!-- |
− | -->{{#if:{{{crate2|}}}|{{!}}{{ | + | -->{{#if:{{{crate2|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply crate}}|{{{crate2}}}}}}}<!-- |
− | -->{{#if:{{{crate3|}}}|{{!}}{{ | + | -->{{#if:{{{crate3|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply crate}}|{{{crate3}}}}}}}<!-- |
− | -->{{#if:{{{crate4|}}}|{{!}}{{ | + | -->{{#if:{{{crate4|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply crate}}|{{{crate4}}}}}}}<!-- |
− | -->{{#if:{{{crate5|}}}|{{!}}{{ | + | -->{{#if:{{{crate5|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply crate}}|{{{crate5}}}}}}}<!-- |
− | -->{{#if:{{{crate6|}}}|{{!}}{{ | + | -->{{#if:{{{crate6|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply crate}}|{{{crate6}}}}}}}<!-- |
− | -->{{#if:{{{crate7|}}}|{{!}}{{ | + | -->{{#if:{{{crate7|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply crate}}|{{{crate7}}}}}}}<!-- |
-->{{#if:{{{series6|}}}|{{!}}{{dictionary/items/festive winter crate}}}}<!-- | -->{{#if:{{{series6|}}}|{{!}}{{dictionary/items/festive winter crate}}}}<!-- | ||
-->{{#if:{{{series22|}}}|{{!}}{{dictionary/items/refreshing summer cooler}}}}<!-- | -->{{#if:{{{series22|}}}|{{!}}{{dictionary/items/refreshing summer cooler}}}}<!-- | ||
− | -->{{#if:{{{series30|}}}|{{!}}{{ | + | -->{{#if:{{{series30|}}}|{{!}}{{QuAD/series|{{dictionary/items/salvaged mann co. supply crate}}|30}}}}<!-- |
-->{{#if:{{{series35|}}}|{{!}}{{dictionary/items/naughty winter crate}}}}<!-- | -->{{#if:{{{series35|}}}|{{!}}{{dictionary/items/naughty winter crate}}}}<!-- | ||
-->{{#if:{{{series36|}}}|{{!}}{{dictionary/items/nice winter crate}}}}<!-- | -->{{#if:{{{series36|}}}|{{!}}{{dictionary/items/nice winter crate}}}}<!-- | ||
− | -->{{#if:{{{series40|}}}|{{!}}{{ | + | -->{{#if:{{{series40|}}}|{{!}}{{QuAD/series|{{dictionary/items/salvaged mann co. supply crate}}|40}}}}<!-- |
-->{{#if:{{{series46|}}}|{{!}}{{dictionary/items/scorched crate}}}}<!-- | -->{{#if:{{{series46|}}}|{{!}}{{dictionary/items/scorched crate}}}}<!-- | ||
-->{{#if:{{{series48|}}}|{{!}}{{dictionary/items/fall crate}}}}<!-- | -->{{#if:{{{series48|}}}|{{!}}{{dictionary/items/fall crate}}}}<!-- | ||
− | -->{{#if:{{{series50|}}}|{{!}}{{ | + | -->{{#if:{{{series50|}}}|{{!}}{{QuAD/series|{{dictionary/items/salvaged mann co. supply crate}}|50}}}}<!-- |
-->{{#if:{{{series51|}}}|{{!}}{{dictionary/items/eerie crate}}}}<!-- | -->{{#if:{{{series51|}}}|{{!}}{{dictionary/items/eerie crate}}}}<!-- | ||
-->{{#if:{{{series52|}}}|{{!}}{{dictionary/items/naughty winter crate 2012}}}}<!-- | -->{{#if:{{{series52|}}}|{{!}}{{dictionary/items/naughty winter crate 2012}}}}<!-- | ||
-->{{#if:{{{series53|}}}|{{!}}{{dictionary/items/nice winter crate 2012}}}}<!-- | -->{{#if:{{{series53|}}}|{{!}}{{dictionary/items/nice winter crate 2012}}}}<!-- | ||
-->{{#if:{{{series58|}}}|{{!}}{{dictionary/items/robo community crate}}}}<!-- | -->{{#if:{{{series58|}}}|{{!}}{{dictionary/items/robo community crate}}}}<!-- | ||
− | -->{{#if:{{{series60|}}}|{{!}}{{ | + | -->{{#if:{{{series60|}}}|{{!}}{{QuAD/series|{{dictionary/items/select reserve mann co. supply crate}}|60}}}}<!-- |
-->{{#if:{{{series61|}}}|{{!}}{{dictionary/items/summer appetizer crate}}}}<!-- | -->{{#if:{{{series61|}}}|{{!}}{{dictionary/items/summer appetizer crate}}}}<!-- | ||
-->{{#if:{{{series62|}}}|{{!}}{{dictionary/items/red summer 2013 cooler}}}}<!-- | -->{{#if:{{{series62|}}}|{{!}}{{dictionary/items/red summer 2013 cooler}}}}<!-- | ||
Line 51: | Line 51: | ||
-->{{#if:{{{series79|}}}|{{!}}{{dictionary/items/nice winter crate 2013}}}}<!-- | -->{{#if:{{{series79|}}}|{{!}}{{dictionary/items/nice winter crate 2013}}}}<!-- | ||
-->{{#if:{{{series81|}}}|{{!}}{{dictionary/items/mann co. strongbox}}}}<!-- | -->{{#if:{{{series81|}}}|{{!}}{{dictionary/items/mann co. strongbox}}}}<!-- | ||
− | -->{{#if:{{{series82|}}}|{{!}}{{ | + | -->{{#if:{{{series82|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply munition}}|82}}}}<!-- |
− | -->{{#if:{{{series83|}}}|{{!}}{{ | + | -->{{#if:{{{series83|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply munition}}|83}}}}<!-- |
− | -->{{#if:{{{series84|}}}|{{!}}{{ | + | -->{{#if:{{{series84|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply munition}}|84}}}}<!-- |
− | -->{{#if:{{{series85|}}}|{{!}}{{ | + | -->{{#if:{{{series85|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply munition}}|85}}}}<!-- |
-->{{#if:{{{series86|}}}|{{!}}{{dictionary/items/limited late summer crate}}}}<!-- | -->{{#if:{{{series86|}}}|{{!}}{{dictionary/items/limited late summer crate}}}}<!-- | ||
-->{{#if:{{{series87|}}}|{{!}}{{dictionary/items/end of the line community crate}}}}<!-- | -->{{#if:{{{series87|}}}|{{!}}{{dictionary/items/end of the line community crate}}}}<!-- | ||
-->{{#if:{{{series88|}}}|{{!}}{{dictionary/items/naughty winter crate 2014}}}}<!-- | -->{{#if:{{{series88|}}}|{{!}}{{dictionary/items/naughty winter crate 2014}}}}<!-- | ||
-->{{#if:{{{series89|}}}|{{!}}{{dictionary/items/nice winter crate 2014}}}}<!-- | -->{{#if:{{{series89|}}}|{{!}}{{dictionary/items/nice winter crate 2014}}}}<!-- | ||
− | -->{{#if:{{{series90|}}}|{{!}}{{ | + | -->{{#if:{{{series90|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply munition}}|90}}}}<!-- |
− | -->{{#if:{{{series91|}}}|{{!}}{{ | + | -->{{#if:{{{series91|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply munition}}|91}}}}<!-- |
− | -->{{#if:{{{series92|}}}|{{!}}{{ | + | -->{{#if:{{{series92|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply munition}}|92}}}}<!-- |
− | -->{{#if:{{{series103|}}}|{{!}}{{ | + | -->{{#if:{{{series103|}}}|{{!}}{{QuAD/series|{{dictionary/items/mann co. supply munition}}|103}}}}<!-- |
-->{{#if:{{{reels|}}}|{{!}}{{dictionary/items/mann co. audition reel}}{{!}}{{dictionary/items/mann co. director's cut reel}}}}<!-- | -->{{#if:{{{reels|}}}|{{!}}{{dictionary/items/mann co. audition reel}}{{!}}{{dictionary/items/mann co. director's cut reel}}}}<!-- | ||
-->{{#if:{{{gift|}}}|{{!}}{{dictionary/items/haunted halloween gift}}{{QuAD/p|{{common string|{{{gift}}}}}}}}}<!-- | -->{{#if:{{{gift|}}}|{{!}}{{dictionary/items/haunted halloween gift}}{{QuAD/p|{{common string|{{{gift}}}}}}}}}<!-- | ||
Line 77: | Line 77: | ||
|engineer update = {{dictionary/common strings/engineer update}} | |engineer update = {{dictionary/common strings/engineer update}} | ||
|haunted hallowe'en special = {{dictionary/common strings/haunted hallowe'en special}} | |haunted hallowe'en special = {{dictionary/common strings/haunted hallowe'en special}} | ||
+ | |manniversary update & sale = {{dictionary/common strings/manniversary update & sale}} | ||
|mann up = {{dictionary/common strings/mann up}} | |mann up = {{dictionary/common strings/mann up}} | ||
|mann-conomy update = {{dictionary/common strings/mann-conomy update}} | |mann-conomy update = {{dictionary/common strings/mann-conomy update}} | ||
Line 87: | Line 88: | ||
|steam holiday sale 2013 badge = {{dictionary/common strings/steam holiday sale 2013 badge}} | |steam holiday sale 2013 badge = {{dictionary/common strings/steam holiday sale 2013 badge}} | ||
|stockpile = {{dictionary/items/mann co. stockpile crate}} | |stockpile = {{dictionary/items/mann co. stockpile crate}} | ||
+ | |trade-up = {{dictionary/common strings/trade-up}} | ||
|unavailable = {{dictionary/common strings/unavailable}} | |unavailable = {{dictionary/common strings/unavailable}} | ||
|unusual = {{dictionary/items/mann co. supply crate}} | |unusual = {{dictionary/items/mann co. supply crate}} | ||
Line 98: | Line 100: | ||
|chemistry set | |chemistry set | ||
|dueling mini-game | |dueling mini-game | ||
+ | |festivizer | ||
|gun mettle campaign pass | |gun mettle campaign pass | ||
|halloween gift cauldron | |halloween gift cauldron | ||
Line 113: | Line 116: | ||
|unusualifier | |unusualifier | ||
|war paint | |war paint | ||
+ | |what's in the companion square box? | ||
+ | |what's in the portal 2 soundtrack box? | ||
+ | |what's in the sandvich box? | ||
+ | |what's in the team fortress 2 soundtrack box? | ||
|strangifier = {{item name|{{{special}}}}} | |strangifier = {{item name|{{{special}}}}} | ||
|#default = {{ns:0}}<!-- null --> | |#default = {{ns:0}}<!-- null --> | ||
Line 164: | Line 171: | ||
|138 = {{dictionary/items/scream fortress xiv war paint case}} | |138 = {{dictionary/items/scream fortress xiv war paint case}} | ||
|139 = {{dictionary/items/winter 2022 cosmetic case}} | |139 = {{dictionary/items/winter 2022 cosmetic case}} | ||
+ | |140 = {{dictionary/items/summer 2023 cosmetic case}} | ||
+ | |141 = {{dictionary/items/summer 2023 war paint case}} | ||
+ | |142 = {{dictionary/items/bone-chilling bonanza case}} | ||
+ | |143 = {{dictionary/items/winter 2023 cosmetic case}} | ||
+ | |144 = {{dictionary/items/summer 2024 cosmetic case}} | ||
|#default = {{ns:0}}<!-- null --> | |#default = {{ns:0}}<!-- null --> | ||
}}}}<!-- | }}}}<!-- | ||
-->}}<noinclude>{{Template doc}}</noinclude> | -->}}<noinclude>{{Template doc}}</noinclude> |
Latest revision as of 00:44, 19 July 2024
{{{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}}
.