Difference between revisions of "Template:UnitIcon"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Mornsta-gpuser
(Created page with "<noinclude>{{doc}}Category:Templates</noinclude><includeonly><div style="display:inline-block; text-align:center; margin:4px;">{{#switch:{{{1|{{{Type|}}}}}} |Adventurer={{...")
 
>Mornsta-gpuser
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><div style="display:inline-block; text-align:center; margin:4px;">{{#switch:{{{1|{{{Type|}}}}}}
+
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><div style="display:inline-block; vertical-align:top; width:80px; text-align:center; padding:4px;">{{#switch:{{{1|{{{Type|}}}}}}
 
|Adventurer={{#if:{{#cargo_query:tables=Adventurers|where=_pageName="{{{2|{{{Name|}}}}}}" OR FullName="{{{2|{{{Name|}}}}}}"|fields=_pageName|group by=_pageName|limit=1|more results text=|no html|default=}}|{{Icon|Adventurer|{{{2|{{{Name|}}}}}}}}<br>[[{{{2|{{{Name|}}}}}}]]|[[File:Unknown.png|80px|link={{{2|{{{Name|}}}}}}]]<br/>[[{{{2|{{{Name|}}}}}}]]}}
 
|Adventurer={{#if:{{#cargo_query:tables=Adventurers|where=_pageName="{{{2|{{{Name|}}}}}}" OR FullName="{{{2|{{{Name|}}}}}}"|fields=_pageName|group by=_pageName|limit=1|more results text=|no html|default=}}|{{Icon|Adventurer|{{{2|{{{Name|}}}}}}}}<br>[[{{{2|{{{Name|}}}}}}]]|[[File:Unknown.png|80px|link={{{2|{{{Name|}}}}}}]]<br/>[[{{{2|{{{Name|}}}}}}]]}}
 
|Dragon={{#if:{{#cargo_query:tables=Dragons|where=_pageName="{{{2|{{{Name|}}}}}}" OR FullName="{{{2|{{{Name|}}}}}}"|fields=_pageName|group by=_pageName|limit=1|more results text=|no html|default=}}|{{Icon|Dragon|{{{2|{{{Name|}}}}}}}}<br>[[{{{2|{{{Name|}}}}}}]]|[[File:Unknown.png|80px|link={{{2|{{{Name|}}}}}}]]<br/>[[{{{2|{{{Name|}}}}}}]]}}
 
|Dragon={{#if:{{#cargo_query:tables=Dragons|where=_pageName="{{{2|{{{Name|}}}}}}" OR FullName="{{{2|{{{Name|}}}}}}"|fields=_pageName|group by=_pageName|limit=1|more results text=|no html|default=}}|{{Icon|Dragon|{{{2|{{{Name|}}}}}}}}<br>[[{{{2|{{{Name|}}}}}}]]|[[File:Unknown.png|80px|link={{{2|{{{Name|}}}}}}]]<br/>[[{{{2|{{{Name|}}}}}}]]}}
 
|Wyrmprint={{#if:{{#cargo_query:tables=Wyrmprints|where=_pageName="{{{2|{{{Name|}}}}}}" OR Name="{{{2|{{{Name|}}}}}}"|fields=_pageName|group by=_pageName|limit=1|more results text=|no html|default=}}|{{Icon|Wyrmprint|{{{2|{{{Name|}}}}}}}}<br>[[{{{2|{{{Name|}}}}}}]]|[[File:Unknown.png|80px|link={{{2|{{{Name|}}}}}}]]<br/>[[{{{2|{{{Name|}}}}}}]]}}
 
|Wyrmprint={{#if:{{#cargo_query:tables=Wyrmprints|where=_pageName="{{{2|{{{Name|}}}}}}" OR Name="{{{2|{{{Name|}}}}}}"|fields=_pageName|group by=_pageName|limit=1|more results text=|no html|default=}}|{{Icon|Wyrmprint|{{{2|{{{Name|}}}}}}}}<br>[[{{{2|{{{Name|}}}}}}]]|[[File:Unknown.png|80px|link={{{2|{{{Name|}}}}}}]]<br/>[[{{{2|{{{Name|}}}}}}]]}}
 
}}</div></includeonly>
 
}}</div></includeonly>

Latest revision as of 11:49, 22 March 2019