Difference between revisions of "Template:AbilityTooltip"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Caledor92
>Caledor92
Line 1: Line 1:
<noinclude>{{doc}}[[Category:Tooltip Templates]]</noinclude><includeonly>{{TooltipLong|[[{{#cargo_query:tables=Abilities|fields=GenericName|where=Name="{{{1|}}}"|default=Abilities|{{{1|}}}|no html|group by=Name}}]]|{{#ifeq:{{{3|0}}} | 0 |
+
<noinclude>{{doc}}[[Category:Tooltip Templates]]</noinclude><includeonly>{{#ifeq:{{{3|0}}} | 0 |
 +
{{#ifeq: {{{2|0}}} | 0 |{{#vardefine:genericName|{{#cargo_query:tables=Abilities|fields=GenericName|where=Id="{{{1|}}}" OR Name="{{{1|}}}"|default=Ability|{{{1|}}}|no html|group by=Name}}}}|{{#vardefine:genericName|{{#cargo_query:tables=Abilities|fields=GenericName|where=Id="{{{2|}}}" OR Name="{{{2|}}}"|default=Ability|{{{2|}}}|no html|group by=Name}}}} }} |{{#vardefine:genericName|{{#cargo_query:tables=Abilities|fields=GenericName|where=Id="{{{3|}}}" OR Name="{{{3|}}}"|default=Ability|{{{3|}}}|no html|group by=Name}}}} }}<!--
 +
 
 +
-->{{TooltipLong|[[{{#var:genericName}}]]|{{#ifeq:{{{3|0}}} | 0 |
 
{{#ifeq: {{{2|0}}} | 0 |<!--
 
{{#ifeq: {{{2|0}}} | 0 |<!--
--><u>'''Lv. 1'''</u>: {{#cargo_query:tables=Abilities|fields=Details|where=Name="{{{1|}}}"|default=-|group by=Name}}
+
--><u>'''Lv. 1'''</u>: {{#cargo_query:tables=Abilities|fields=Details|where=Id="{{{1|}}}" OR Name="{{{1|}}}"|default=-|group by=Name}}
|<u>'''Lv. 1'''</u>: {{#cargo_query:tables=Abilities|fields=Details|where=Name="{{{1|}}}"|default=-|group by=Name}}<br/><br/><!--
+
|<u>'''Lv. 1'''</u>: {{#cargo_query:tables=Abilities|fields=Details|where=Id="{{{1|}}}" OR Name="{{{1|}}}"|default=-|group by=Name}}<br/><br/><!--
--><u>'''Lv. 2'''</u>: {{#cargo_query:tables=Abilities|fields=Details|where=Name="{{{2|}}}"|default=-|group by=Name}}
+
--><u>'''Lv. 2'''</u>: {{#cargo_query:tables=Abilities|fields=Details|where=Id="{{{2|}}}" OR Name="{{{2|}}}"|default=-|group by=Name}}
 
}}
 
}}
|<u>'''Lv. 1'''</u>: {{#cargo_query:tables=Abilities|fields=Details|where=Name="{{{1|}}}"|default=-|group by=Name}}<br/><br/><!--
+
|<u>'''Lv. 1'''</u>: {{#cargo_query:tables=Abilities|fields=Details|where=Id="{{{1|}}}" OR Name="{{{1|}}}"|default=-|group by=Name}}<br/><br/><!--
--><u>'''Lv. 2'''</u>: {{#cargo_query:tables=Abilities|fields=Details|where=Name="{{{2|}}}"|default=-|group by=Name}}<br/><br/><!--
+
--><u>'''Lv. 2'''</u>: {{#cargo_query:tables=Abilities|fields=Details|where=Id="{{{2|}}}" OR Name="{{{2|}}}"|default=-|group by=Name}}<br/><br/><!--
--><u>'''Lv. 3'''</u>: {{#cargo_query:tables=Abilities|fields=Details|where=Name="{{{3|}}}"|default=-|group by=Name}}
+
--><u>'''Lv. 3'''</u>: {{#cargo_query:tables=Abilities|fields=Details|where=Id="{{{3|}}}" OR Name="{{{3|}}}"|default=-|group by=Name}}
 
}}}}</includeonly>
 
}}}}</includeonly>

Revision as of 13:51, 26 December 2019

50px Documentation

Also see Template:AbilityIconTooltip.


Examples

{{AbilityTooltip|Critical Rate +5%|Critical Rate +6%}}
{{AbilityTooltip|Primed Strength +5%|Primed Strength +8%|Primed Strength +10%}}
* {{AbilityTooltip|Critical Rate +5%|Critical Rate +6%}}
{{AbilityTooltip|Critical Rate +5%|Critical Rate +6%}}
{{AbilityTooltip|Primed Strength +5%|Primed Strength +8%|Primed Strength +10%}}
* {{AbilityTooltip|Critical Rate +5%|Critical Rate +6%}}
* {{AbilityTooltip|Dragon's Claws I|Dragon's Claws II|Dragon's Claws III}}
* {{AbilityTooltip|Paralysis Res +25%|Paralysis Res +50%|Potent Paralysis Res +100%}}
* {{AbilityTooltip|Skill Prep +50%|Skill Prep +100% & Skill Charge}}
[[
Error: Table Abilities not found.
]]Lv. 1:
Error: Table Abilities not found.


Lv. 2:
Error: Table Abilities not found.
[[
Error: Table Abilities not found.
]]Lv. 1:
Error: Table Abilities not found.


Lv. 2:
Error: Table Abilities not found.


Lv. 3:
Error: Table Abilities not found.
  • [[
    Error: Table Abilities not found.
    ]]Lv. 1:
    Error: Table Abilities not found.


    Lv. 2:
    Error: Table Abilities not found.
[[
Error: Table Abilities not found.
]]Lv. 1:
Error: Table Abilities not found.


Lv. 2:
Error: Table Abilities not found.
[[
Error: Table Abilities not found.
]]Lv. 1:
Error: Table Abilities not found.


Lv. 2:
Error: Table Abilities not found.


Lv. 3:
Error: Table Abilities not found.
  • [[
    Error: Table Abilities not found.
    ]]Lv. 1:
    Error: Table Abilities not found.


    Lv. 2:
    Error: Table Abilities not found.
  • [[
    Error: Table Abilities not found.
    ]]Lv. 1:
    Error: Table Abilities not found.


    Lv. 2:
    Error: Table Abilities not found.


    Lv. 3:
    Error: Table Abilities not found.
  • [[
    Error: Table Abilities not found.
    ]]Lv. 1:
    Error: Table Abilities not found.


    Lv. 2:
    Error: Table Abilities not found.


    Lv. 3:
    Error: Table Abilities not found.
  • [[
    Error: Table Abilities not found.
    ]]Lv. 1:
    Error: Table Abilities not found.


    Lv. 2:
    Error: Table Abilities not found.


    Lv. 3:
    Error: Table Abilities not found.
  • [[
    Error: Table Abilities not found.
    ]]Lv. 1:
    Error: Table Abilities not found.


    Lv. 2:
    Error: Table Abilities not found.