Difference between revisions of "Template:SkillTooltip"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Mornsta-gpuser
>Caledor92
(avoid matching Name to _pageName, always. It forces our hand in choosing skill names and makes that entire column redundant)
Line 1: Line 1:
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#ifeq:{{#cargo_query:tables=Skills|where=_pageName="{{{1|{{{Name|}}}}}}"|default=0|no html}} | 0 | None | {{TooltipLong|{{Icon|Skill|{{{1|{{{Name|}}}}}}|size=24px}} [[{{{1|{{{Name|}}}}}}]]|{{#ifeq:{{#cargo_query:tables=Skills|fields=HideLevel3|where=_pageName="{{{1|{{{Name|}}}}}}"|default=0|no html}} | Yes |
+
<includeonly>{{#ifeq:{{#cargo_query:tables=Skills|where=Name="{{{1|{{{Name|}}}}}}"|default=0|no html}} | 0 | None | {{TooltipLong|{{Icon|Skill|{{{1|{{{Name|}}}}}}|size=24px}} [[{{{1|{{{Name|}}}}}}]]|{{#ifeq:{{#cargo_query:tables=Skills|fields=HideLevel3|where=Name="{{{1|{{{Name|}}}}}}"|default=0|no html}} | Yes |
<u>'''Lv. 1'''</u>: {{#cargo_query:tables=Skills|fields=CONCAT('',Description1,' [',Sp,' SP]')|where=_pageName="{{{1|{{{Name|}}}}}}"|default=-}}<br/><br/>
+
<u>'''Lv. 1'''</u>: {{#cargo_query:tables=Skills|fields=CONCAT('',Description1,' [',Sp,' SP]')|where=Name="{{{1|{{{Name|}}}}}}"|default=-}}<br/><br/>
<u>'''Lv. 2'''</u>: {{#cargo_query:tables=Skills|fields=CONCAT('',Description2,' [',SPLv2,' SP]')|where=_pageName="{{{1|{{{Name|}}}}}}"|default=-}}
+
<u>'''Lv. 2'''</u>: {{#cargo_query:tables=Skills|fields=CONCAT('',Description2,' [',SPLv2,' SP]')|where=Name="{{{1|{{{Name|}}}}}}"|default=-}}
 
|
 
|
<u>'''Lv. 1'''</u>: {{#cargo_query:tables=Skills|fields=CONCAT('',Description1,' [',Sp,' SP]')|where=_pageName="{{{1|{{{Name|}}}}}}"|default=-}}<br/><br/>
+
<u>'''Lv. 1'''</u>: {{#cargo_query:tables=Skills|fields=CONCAT('',Description1,' [',Sp,' SP]')|where=Name="{{{1|{{{Name|}}}}}}"|default=-}}<br/><br/>
<u>'''Lv. 2'''</u>: {{#cargo_query:tables=Skills|fields=CONCAT('',Description2,' [',SPLv2,' SP]')|where=_pageName="{{{1|{{{Name|}}}}}}"|default=-}}<br/><br/>
+
<u>'''Lv. 2'''</u>: {{#cargo_query:tables=Skills|fields=CONCAT('',Description2,' [',SPLv2,' SP]')|where=Name="{{{1|{{{Name|}}}}}}"|default=-}}<br/><br/>
<u>'''Lv. 3'''</u>: {{#cargo_query:tables=Skills|fields=CONCAT('',Description3,' [',SPLv2,' SP]')|where=_pageName="{{{1|{{{Name|}}}}}}"|default=-}}
+
<u>'''Lv. 3'''</u>: {{#cargo_query:tables=Skills|fields=CONCAT('',Description3,' [',SPLv2,' SP]')|where=Name="{{{1|{{{Name|}}}}}}"|default=-}}
 
}}}}}}</includeonly>
 
}}}}}}</includeonly>

Revision as of 17:47, 28 October 2019