Template:BTD6 artifact info: Difference between revisions

mNo edit summary
mNo edit summary
 
(7 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
|colspan="2"|{{#if:{{{introduced|}}}|[[Bloons TD 6 v{{{introduced}}}|Version {{{introduced}}}]]|???}}
|colspan="2"|{{#if:{{{introduced|}}}|[[Update history:Bloons TD 6/Version {{{introduced}}}|Version {{{introduced}}}]]|???}}
|}</div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_artifacts
|}</div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_artifacts
|id={{{id|}}}
|id ={{{id|}}}
|type={{{type|}}}
|type={{{type|}}}


Line 44: Line 47:
|insta_tiers_legendary={{{insta tiers legendary|}}}
|insta_tiers_legendary={{{insta tiers legendary|}}}
|introduced          ={{{introduced|}}}
|introduced          ={{{introduced|}}}
}}[[Category:{{#ifeq:{{{type|}}}|Boost|Boosts|Artifacts}}]]}}{{#seo:
}}[[Category:{{#ifeq:{{{type|}}}|Boost|Boosts|Artifacts}}]]{{#seo:
|image={{{image|}}}
|image={{{image|}}}
|name=BTD6 {{{name|}}}, Rogue Legends {{{name|}}}, Artifact {{{name|}}}
|name=BTD6 {{{name|}}}, Rogue Legends {{{name|}}}, Artifact {{{name|}}}
}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_artifacts
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_artifacts
|id=String
|id =String
|type=String
|type=String