Difference between revisions of "Template:AdventurerIconWithRarity"

From Dragalia Lost Wiki
Jump to navigation Jump to search
imported>Elaeagnifolia
(Created page with "<noinclude>{{docs}}Category:Templates</noinclude><includeonly><div style="display:inline-block; text-align:center;"{{Icon|Adventurer|{{{1|}}}}}<br/>File:Icon_Rarity_Row_...")
 
>Hypello-gpuser
m
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>{{docs}}[[Category:Templates]]</noinclude><includeonly><div style="display:inline-block; text-align:center;"{{Icon|Adventurer|{{{1|}}}}}<br/>[[File:Icon_Rarity_Row_{{{2|}}}.png|link=|50px]]</includeonly>
+
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><div style="display:inline-block; text-align:center; line-height:1em;">{{#cargo_query:tables=Adventurers|fields=CONCAT("[[File:", Id, " 0", VariationId, " r0{{{2|}}}.png|link=", _pageName, "|80px]]")|where=FullName="{{{1|}}}"}}<br/>[[File:Icon_Rarity_Row_{{{2|}}}.png|link=|50px]]</div></includeonly>

Latest revision as of 22:58, 3 May 2019

50px Documentation

Description

Adventurer icon template which displays specified rarity underneath

Usage

{{AdventurerIconWithRarity|The Prince|4}}
Error: Table Adventurers not found.

Icon Rarity Row 4.png