Difference between revisions of "Template:PersonalCollectionIcon"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Boblers
(adding missing curly braces)
>Boblers
(adding includeonly blocks)
Line 1: Line 1:
{{#switch:{{{1|}}}
+
<includeonly>{{#switch:{{{1|}}}
 
|Adventurer={{#vardefine:Icon|{{#cargo_query:tables=Adventurers|where=_pageName="{{#titleparts:{{{2}}}}}" OR FullName="{{#titleparts:{{{2}}}}}"|fields=CONCAT('[[File:', Id, ' 0', VariationId, ' r0', {{{rarity|Rarity}}}, '.png|link=',{{{link|_pageName}}},']]')|group by=_pageName|limit=1|more results text=|default=}}}}
 
|Adventurer={{#vardefine:Icon|{{#cargo_query:tables=Adventurers|where=_pageName="{{#titleparts:{{{2}}}}}" OR FullName="{{#titleparts:{{{2}}}}}"|fields=CONCAT('[[File:', Id, ' 0', VariationId, ' r0', {{{rarity|Rarity}}}, '.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=}}}}
 
|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=}}}}
Line 20: Line 20:
 
| y2=121
 
| y2=121
 
{{#var:box2}}
 
{{#var:box2}}
}}<noinclude>{{PersonalCollectionIcon|Adventurer|The Prince}}</noinclude>
+
}}</includeonly><noinclude>{{PersonalCollectionIcon|Adventurer|The Prince}}</noinclude>

Revision as of 01:30, 7 April 2020

{{#switchAdventurer

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

}}Template:Vardefine:box2{{#switchAdventurer

 

Error: Table Adventurers not found.