Difference between revisions of "Template:Adventurer Tooltip"

From Dragalia Lost Wiki
Jump to navigation Jump to search
imported>Elaeagnifolia
m
imported>Elaeagnifolia
Line 1: Line 1:
 
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{| class="wikitable"
 
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{| class="wikitable"
|+{{InlineIcon|Icon Element|{{{Element|}}}}}{{InlineIcon|Icon Weapon|{{{Weapon|}}}}} {{{Name|}}} ({{{Rarity|}}} {{InlineIcon|Icon Rarity|{{{Rarity|}}}}})
+
|+{{InlineIcon|Icon Element|{{{Element|}}}}}{{InlineIcon|Icon Weapon|{{{Weapon|}}}}} {{{Name|}}} {{{Rarity|}}} {{InlineIcon|Icon Rarity|{{{Rarity|}}}}} - '''HP''': {{#expr:{{{MaxHp|}}}+{{{PlusHp0|}}}+{{{PlusHp1|}}}+{{{PlusHp2|}}}+{{{PlusHp3|}}}+{{{PlusHp4|}}}+{{{McFullBonusHp5|}}}}}&emsp;'''Str''': {{#expr:{{{MaxAtk|}}}+{{{PlusAtk0|}}}+{{{PlusAtk1|}}}+{{{PlusAtk2|}}}+{{{PlusAtk3|}}}+{{{PlusAtk4|}}}+{{{McFullBonusAtk5|}}}}}
! HP || Str || Skills || Abilities
+
! Skills || Abilities
 
|-
 
|-
| {{#expr:{{{MaxHp|}}}+{{{PlusHp0|}}}+{{{PlusHp1|}}}+{{{PlusHp2|}}}+{{{PlusHp3|}}}+{{{PlusHp4|}}}+{{{McFullBonusHp5|}}}}}
 
| {{#expr:{{{MaxAtk|}}}+{{{PlusAtk0|}}}+{{{PlusAtk1|}}}+{{{PlusAtk2|}}}+{{{PlusAtk3|}}}+{{{PlusAtk4|}}}+{{{McFullBonusAtk5|}}}}}
 
 
| <div style="white-space:nowrap;">{{Icon|Skill|{{{Skill1Name|}}}|size=32px}} [[{{{Skill1Name|}}}]]</div><div style="white-space:nowrap;">{{Icon|Skill|{{{Skill2Name|}}}|size=32px}} [[{{{Skill2Name|}}}]]</div>
 
| <div style="white-space:nowrap;">{{Icon|Skill|{{{Skill1Name|}}}|size=32px}} [[{{{Skill1Name|}}}]]</div><div style="white-space:nowrap;">{{Icon|Skill|{{{Skill2Name|}}}|size=32px}} [[{{{Skill2Name|}}}]]</div>
 
| {{#cargo_query:tables=CoAbilities|fields=CONCAT('<div style="white-space:nowrap;">[[File:', AbilityIconName, '.png|32px|link=', _pageName, ']] ', _pageName, '</div>')|where=Id="{{{ExAbilityData5|-}}}"|default=|order by=Id}}{{#cargo_query:tables=Abilities|fields=CONCAT('<div style="white-space:nowrap;">[[File:', AbilityIconName, '.png|32px|link=', _pageName, ']] ', _pageName, '</div>')|where=Id={{{Abilities12|-}}} OR Id={{{Abilities22|-}}}|default=|order by=_pageName|delimiter=}}{{#ifeq:{{{Abilities32|}}} | 0 | {{#cargo_query:tables=Abilities|fields=CONCAT('<div style="white-space:nowrap;">[[File:', AbilityIconName, '.png|32px|link=', _pageName, ']] ', _pageName, '</div>')|where=Id={{{Abilities31|-}}}|default=|order by=_pageName|delimiter=}} | {{#cargo_query:tables=Abilities|fields=CONCAT('<div style="white-space:nowrap;">[[File:', AbilityIconName, '.png|32px|link=', _pageName, ']] ', _pageName, '</div>')|where=Id={{{Abilities32|-}}}|default=|order by=_pageName|delimiter=}} }}
 
| {{#cargo_query:tables=CoAbilities|fields=CONCAT('<div style="white-space:nowrap;">[[File:', AbilityIconName, '.png|32px|link=', _pageName, ']] ', _pageName, '</div>')|where=Id="{{{ExAbilityData5|-}}}"|default=|order by=Id}}{{#cargo_query:tables=Abilities|fields=CONCAT('<div style="white-space:nowrap;">[[File:', AbilityIconName, '.png|32px|link=', _pageName, ']] ', _pageName, '</div>')|where=Id={{{Abilities12|-}}} OR Id={{{Abilities22|-}}}|default=|order by=_pageName|delimiter=}}{{#ifeq:{{{Abilities32|}}} | 0 | {{#cargo_query:tables=Abilities|fields=CONCAT('<div style="white-space:nowrap;">[[File:', AbilityIconName, '.png|32px|link=', _pageName, ']] ', _pageName, '</div>')|where=Id={{{Abilities31|-}}}|default=|order by=_pageName|delimiter=}} | {{#cargo_query:tables=Abilities|fields=CONCAT('<div style="white-space:nowrap;">[[File:', AbilityIconName, '.png|32px|link=', _pageName, ']] ', _pageName, '</div>')|where=Id={{{Abilities32|-}}}|default=|order by=_pageName|delimiter=}} }}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 17:12, 12 February 2019

50px Documentation

Usage

Typically used via Template:TooltipIcon of type 'Adventurer' instead of invoking directly.

{{TooltipIcon|Adventurer|Audric}}
{{TooltipIcon|Adventurer|The Prince}}
{{TooltipIcon|Adventurer|Botan}}

Example

Unknown.png
Error: Table Adventurers not found.
Unknown.png
Error: Table Adventurers not found.
Unknown.png
Error: Table Adventurers not found.