Difference between revisions of "Template:TooltipIcon"

From Dragalia Lost Wiki
Jump to navigation Jump to search
imported>Elaeagnifolia
(Created page with "<noinclude>{{doc}}Category:Templates</noinclude><includeonly><div style="display:inline-block; text-align:center;">{{#switch:{{{1|}}} |Adventurer= |Dragon= |Weapon= |Wyrmp...")
imported>Elaeagnifolia
Line 1: Line 1:
 
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><div style="display:inline-block; text-align:center;">{{#switch:{{{1|}}}
 
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><div style="display:inline-block; text-align:center;">{{#switch:{{{1|}}}
|Adventurer=
+
|Adventurer={{Tooltip|{{Icon|Adventurer|{{{2|}}}}}| {{#invoke:CargoQuery|main|q?tables=Adventurers|q?fields=_pageName=Link,FullName=Name,ElementalType=Element,WeaponType=Weapon,Rarity,MaxHp,PlusHp0,PlusHp1,PlusHp2,PlusHp3,PlusHp4,McFullBonusHp5,MaxAtk,PlusAtk0,PlusAtk1,PlusAtk2,PlusAtk3,PlusAtk4,McFullBonusAtk5,Abilities11,Abilities12,Abilities21,Abilities22,Abilities31,Abilities32,Skill1Name,Skill2Name,ExAbilityData5|q?where=FullName="{{{2|}}}"|q?groupBy=_pageName|template=Adventurer Tooltip}} |line=false}}<br/>{{#cargo_query:tables=Adventurers|fields=_pageName|where=Name="{{{2|}}}"|group by=_pageName}}
 
|Dragon=
 
|Dragon=
 
|Weapon=
 
|Weapon=
|Wyrmprint={{Tooltip|{{Icon|Wyrmprint|{{{2|}}}}}| {{#cargo_query:tables=Wyrmprints|fields=_pageName=Name,MaxHp,MaxAtk,Abilities12,Abilities22,Abilities32|where=Name="{{{2|}}}"|format=template|template=Wyrmprint Tooltip|named args=yes|group by=_pageName}} |line=false}}<br/>{{#cargo_query:tables=Wyrmprints|fields=_pageName|where=Name="{{{2|}}}"|group by=_pageName}}
+
|Wyrmprint={{Tooltip|{{Icon|Wyrmprint|{{{2|}}}}}| {{#invoke:CargoQuery|main|q?tables=Wyrmprints|q?fields=_pageName=Name,MaxHp,MaxAtk,Abilities12,Abilities22,Abilities32|q?where=Name="{{{2|}}}"|q?groupBy=_pageName|template=Wyrmprint Tooltip}} |line=false}}<br/>{{#cargo_query:tables=Wyrmprints|fields=_pageName|where=Name="{{{2|}}}"|group by=_pageName}}
 
|Facility=
 
|Facility=
 
}}</includeonly>
 
}}</includeonly>

Revision as of 17:08, 12 February 2019

50px Documentation

Current Items Icon Template Works With

  • Adventurer
Error: Table Adventurers not found.
Lua error: Error: Table Adventurers not found..

Error: Table Adventurers not found.
Error: Table Adventurers not found.
Lua error: Error: Table Adventurers not found..

Error: Table Adventurers not found.
Error: Table Adventurers not found.
Lua error: Error: Table Adventurers not found..

Error: Table Adventurers not found.
Error: Table Adventurers not found.
Lua error: Error: Table Adventurers not found..

Error: Table Adventurers not found.
  • Dragon
  • Weapon
  • Wyrmprint
Lua error: Error: Table Wyrmprints not found.. Lua error: Error: Table Wyrmprints not found..
Error: Table Wyrmprints not found.
Lua error: Error: Table Wyrmprints not found.. Lua error: Error: Table Wyrmprints not found..
Error: Table Wyrmprints not found.
Lua error: Error: Table Wyrmprints not found.. Lua error: Error: Table Wyrmprints not found..
Error: Table Wyrmprints not found.
Lua error: Error: Table Wyrmprints not found.. Lua error: Error: Table Wyrmprints not found..
Error: Table Wyrmprints not found.

Examples

{{TooltipIcon|Adventurer|Lily}}
Error: Table Adventurers not found.
Lua error: Error: Table Adventurers not found..

Error: Table Adventurers not found.
{{TooltipIcon|Dragon|Phoenix}}
{{TooltipIcon|Weapon|Roaring Weald}}