Template:BTD6 cosmetic item list by introduced: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if:{{{hide trophy store|}}}|{{generic cargo compact list|tables=btd6_cosmetic_items=items | ||
{{# | |image field=items.image | ||
| | |link field=CONCAT(items._pageName, "#", items.name) | ||
CONCAT(category, " ― [[", _pageName, "|", subcategory, "]]") = Category | |name field=items.name | ||
|where=introduced = "{{{1|}}}" | |||
| | |extra col 1=CONCAT(items.category, " ― [[", items._pageName, "|", items.subcategory, "]]") = Category | ||
|order by=category, name | |center extra cols=y | ||
}} | |||
|where=items.introduced = "{{{1|}}}" {{#if:{{{xd only|}}}|AND xd_only|AND NOT xd_only}} | |||
|order by=items.category, items.subcategory, items.name | |||
}}|{{generic cargo compact list|tables=btd6_cosmetic_items=items, btd6_cosmetic_sources=sources | |||
|image field=items.image | |||
|link field=CONCAT(items._pageName, "#", items.name) | |||
|name field=items.name | |||
|extra col 1=CONCAT(items.category, " ― [[", items._pageName, "|", items.subcategory, "]]") = Category | |||
|extra col 2=IF(GROUP_CONCAT(sources.name) LIKE "%Trophy Store%", "{{Y}}", "{{N}}") = Trophy Store? | |||
|center extra cols=y | |||
|where=items.introduced = "{{{1|}}}" {{#if:{{{xd only|}}}|AND xd_only|AND NOT xd_only}} | |||
|join on =items.id = sources.item | |||
|group by=items._pageName, items.name, items.image, items.category, items.subcategory, items.introduced | |||
|order by=Trophy Store? DESC, items.category, items.subcategory, items.name | |||
}}}}</includeonly><noinclude>{{/doc}}</noinclude> | |||