Difference between revisions of "Template:PersonalCollectionIcon"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Boblers
(adding includeonly blocks)
>Boblers
(moving switch statements into vardefine statements. commented out vardefine box 2 as it is moving the black bar to the top of the icon.)
Line 5: Line 5:
 
|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|}}}
 
  |Adventurer=
 
  |Adventurer=
 
  |Weapon
 
  |Weapon
 
  |Wyrmprint=; border-radius: 0px 0px 9px 9px
 
  |Wyrmprint=; border-radius: 0px 0px 9px 9px
 
  |Dragon=; height: 16px
 
  |Dragon=; height: 16px
}}<!--
+
}}}}<!--
-->{{vardefine:box2}}{{#switch{{{1|}}}<!--
+
--><!--{{#vardefine:box2|{{#switch{{{1|}}}}}}}--><!--
  
  

Revision as of 01:34, 7 April 2020

 

Error: Table Adventurers not found.