Difference between revisions of "Template:PersonalCollectionIcon"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>FlareKyn
(Created page with "{{#switch:{{{1|}}} |Adventurer={{#vardefine:Icon|{{#cargo_query:tables=Adventurers|where=_pageName="{{#titleparts:{{{2}}}}}" OR FullName="{{#titleparts:{{{2}}}}}"|fields=CONCA...")
>Boblers
(adding missing curly braces)
Line 3: Line 3:
 
|Wyrmprint={{#vardefine:Icon|{{#cargo_query=Wyrmprint|where=_pageName="{{#titleparts:|{{{2}}} OR FullName="{{#titleparts:{{{2}}}}}"|fields=CONCAT('[[File:', BaseId, ' 0', {{#var:version}}, '.png|link='.{{{link|_pageName}}},']]')|group by=_pagename|limit=1|more results text=|default=}}}}
 
|Wyrmprint={{#vardefine:Icon|{{#cargo_query=Wyrmprint|where=_pageName="{{#titleparts:|{{{2}}} OR FullName="{{#titleparts:{{{2}}}}}"|fields=CONCAT('[[File:', BaseId, ' 0', {{#var:version}}, '.png|link='.{{{link|_pageName}}},']]')|group by=_pagename|limit=1|more results text=|default=}}}}
 
|Dragon={{#vardefine:Icon|{{#cargo_query:tables=Dragons|where=_pageName="{{#titleparts:{{{2}}}}}" OR FullName="{{#titleparts:{{{2}}}}}"|fields=CONCAT('[[File:', BaseId, ' 01.png|{{{size|80px}}}|link=',{{{link|_pageName}}},']]')|group by=_pageName|limit=1|more results text=|default=}}}}
 
|Dragon={{#vardefine:Icon|{{#cargo_query:tables=Dragons|where=_pageName="{{#titleparts:{{{2}}}}}" OR FullName="{{#titleparts:{{{2}}}}}"|fields=CONCAT('[[File:', BaseId, ' 01.png|{{{size|80px}}}|link=',{{{link|_pageName}}},']]')|group by=_pageName|limit=1|more results text=|default=}}}}
|Weapon={{#vardefine:Icon|{{#cargo_query:tables=Weapons|where=_pageName="{{#titleparts:{{{2}}}}}" OR WeaponName="{{#titleparts:{{{2}}}}}"|fields=CONCAT('[[File:', BaseId, ' 01 ', FormId, '.png|{{{size|80px}}}|link=',{{{link|_pageName}}},']]')|group by=_pageName|limit=1|more results text=|default=}}}}<!--
+
|Weapon={{#vardefine:Icon|{{#cargo_query:tables=Weapons|where=_pageName="{{#titleparts:{{{2}}}}}" OR WeaponName="{{#titleparts:{{{2}}}}}"|fields=CONCAT('[[File:', BaseId, ' 01 ', FormId, '.png|{{{size|80px}}}|link=',{{{link|_pageName}}},']]')|group by=_pageName|limit=1|more results text=|default=}}}}}}<!--
 
-->{{#vardefine:version|{{#ifexpr:{{{unbind|}}}>1|2|1}}}}}}<!--
 
-->{{#vardefine:version|{{#ifexpr:{{{unbind|}}}>1|2|1}}}}}}<!--
 
-->{{#vardefine:box}}{{#switch{{{1|}}}
 
-->{{#vardefine:box}}{{#switch{{{1|}}}

Revision as of 01:27, 7 April 2020

{{#switch

|Adventurer=
|Weapon
|Wyrmprint=; border-radius: 0px 0px 9px 9px
|Dragon=; height: 16px

}}Template:Vardefine:box2{{#switch

 

{{#switchAdventurer

|Adventurer=
|Weapon
|Wyrmprint=; border-radius: 0px 0px 9px 9px
|Dragon=; height: 16px

}}Template:Vardefine:box2{{#switchAdventurer

 

Error: Table Adventurers not found.