Difference between revisions of "Template:QuAD/list"
m |
m (Added new case) |
||
(5 intermediate revisions by the same user not shown) | |||
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 113: | Line 115: | ||
|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 170: | ||
|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}} | ||
|#default = {{ns:0}}<!-- null --> | |#default = {{ns:0}}<!-- null --> | ||
}}}}<!-- | }}}}<!-- | ||
-->}}<noinclude>{{Template doc}}</noinclude> | -->}}<noinclude>{{Template doc}}</noinclude> |
Revision as of 00:50, 8 December 2023
{{{1}}}
![]() | This template is very complex. Please, sandbox any changes before making them. 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}}
and {{QuAD/ampersand}}
.
{{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}}
, {{Cqc/table/core}}
, or {{Quality list}}
call Qualitycheck (or do the formatting themselves) for all the available qualities.
Other templates: {{QuAD/p}}
and {{QuAD/series}}
.
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}}
.