Template:BTD6 artifact info: Difference between revisions

mNo edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
<includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!--
--><div class="head">{{{name}}}</div>
--><div class="head">{{{name}}}</div>
{|class="subtable main centered"
{|class="subtable main centered"
Line 5: Line 5:
|}
|}
{|class="subtable"
{|class="subtable"
!Type
|colspan="2"|{{{type}}}
|-
{{#if:{{{description common|}}}|!Common
{{#if:{{{description common|}}}|!Common
{{!}}colspan="2"{{!}}{{{description common|}}}}}
{{!}}colspan="2"{{!}}{{{description common|}}}}}
Line 14: Line 17:
{{!}}colspan="2"{{!}}{{{description legendary|}}}}}
{{!}}colspan="2"{{!}}{{{description legendary|}}}}}
|-
|-
![[Hero]] parties
{{#ifeq:{{{type|}}}|Boost||![[Hero]] parties
|colspan="2"|{{#cargo_query:tables=btd6_hero_skins
{{!}}colspan="2"{{!}}{{#cargo_query:tables=btd6_hero_skins
|fields=CONCAT("[[", _pageName, "|", name, "]] (", rl_artifact_rarity, ")") = text
|fields=CONCAT("[[", _pageName, "|", name, "]] (", rl_artifact_rarity, ")<br>") = text
|where=rl_artifact = "{{{name}}}" AND NOT xd_only
|where=rl_artifact = "{{{name}}}" AND NOT xd_only
|order by=numeric_id
|order by=numeric_id
|default=—
|default=—
|format=list
|format=list
|delimiter=<br>
|delimiter=
}}
}}}}
|-
|-
!Introduced
!Introduced