Difference between revisions of "Template:AbilityDisplayTEST"
Jump to navigation
Jump to search
>Canim44 (Changed widget to AbilityDisplayTEST; removed <div class="tabbertab">) |
>Canim44 (AbilityDisplayTab → AbilityDisplayTabTest) |
||
| Line 36: | Line 36: | ||
{{Template:Tab/start|default={{#var:level}}}} | {{Template:Tab/start|default={{#var:level}}}} | ||
{{Template:Tab/header|Lv1}} | {{Template:Tab/header|Lv1}} | ||
| − | {{#invoke:CargoQuery|main|q?tables={{#var:table}}|q?fields=GenericName=Name,AbilityIconName=Icon,Details,PartyPowerWeight=Might,CONCAT('{{{event|0}}}')=Event|q?where=Id='{{{Lv1|}}}'|q?groupBy=_pageName|default=N/A|template= | + | {{#invoke:CargoQuery|main|q?tables={{#var:table}}|q?fields=GenericName=Name,AbilityIconName=Icon,Details,PartyPowerWeight=Might,CONCAT('{{{event|0}}}')=Event|q?where=Id='{{{Lv1|}}}'|q?groupBy=_pageName|default=N/A|template=AbilityDisplayTabTEST}} |
{{#ifexpr: {{#var:level}} >= 2| | {{#ifexpr: {{#var:level}} >= 2| | ||
{{Template:Tab/header|Lv2}} | {{Template:Tab/header|Lv2}} | ||
| − | {{#invoke:CargoQuery|main|q?tables={{#var:table}}|q?fields=GenericName=Name,AbilityIconName=Icon,Details,PartyPowerWeight=Might,CONCAT('{{{event|0}}}')=Event|q?where=Id='{{{Lv2|}}}'|q?groupBy=_pageName|default=N/A|template= | + | {{#invoke:CargoQuery|main|q?tables={{#var:table}}|q?fields=GenericName=Name,AbilityIconName=Icon,Details,PartyPowerWeight=Might,CONCAT('{{{event|0}}}')=Event|q?where=Id='{{{Lv2|}}}'|q?groupBy=_pageName|default=N/A|template=AbilityDisplayTabTEST}} |
}} | }} | ||
{{#ifexpr: {{#var:level}} >= 3| | {{#ifexpr: {{#var:level}} >= 3| | ||
{{Template:Tab/header|Lv3}} | {{Template:Tab/header|Lv3}} | ||
| − | {{#invoke:CargoQuery|main|q?tables={{#var:table}}|q?fields=GenericName=Name,AbilityIconName=Icon,Details,PartyPowerWeight=Might,CONCAT('{{{event|0}}}')=Event|q?where=Id='{{{Lv3|}}}'|q?groupBy=_pageName|default=N/A|template= | + | {{#invoke:CargoQuery|main|q?tables={{#var:table}}|q?fields=GenericName=Name,AbilityIconName=Icon,Details,PartyPowerWeight=Might,CONCAT('{{{event|0}}}')=Event|q?where=Id='{{{Lv3|}}}'|q?groupBy=_pageName|default=N/A|template=AbilityDisplayTabTEST}} |
}} | }} | ||
{{#ifexpr: {{#var:level}} >= 4| | {{#ifexpr: {{#var:level}} >= 4| | ||
{{Template:Tab/header|Lv4}} | {{Template:Tab/header|Lv4}} | ||
| − | {{#invoke:CargoQuery|main|q?tables={{#var:table}}|q?fields=GenericName=Name,AbilityIconName=Icon,Details,PartyPowerWeight=Might,CONCAT('{{{event|0}}}')=Event|q?where=Id='{{{Lv4|}}}'|q?groupBy=_pageName|default=N/A|template= | + | {{#invoke:CargoQuery|main|q?tables={{#var:table}}|q?fields=GenericName=Name,AbilityIconName=Icon,Details,PartyPowerWeight=Might,CONCAT('{{{event|0}}}')=Event|q?where=Id='{{{Lv4|}}}'|q?groupBy=_pageName|default=N/A|template=AbilityDisplayTabTEST}} |
}} | }} | ||
{{#ifexpr: {{#var:level}} >= 5| | {{#ifexpr: {{#var:level}} >= 5| | ||
{{Template:Tab/header|Lv5}} | {{Template:Tab/header|Lv5}} | ||
| − | {{#invoke:CargoQuery|main|q?tables={{#var:table}}|q?fields=GenericName=Name,AbilityIconName=Icon,Details,PartyPowerWeight=Might,CONCAT('{{{event|0}}}')=Event|q?where=Id='{{{Lv5|}}}'|q?groupBy=_pageName|default=N/A|template= | + | {{#invoke:CargoQuery|main|q?tables={{#var:table}}|q?fields=GenericName=Name,AbilityIconName=Icon,Details,PartyPowerWeight=Might,CONCAT('{{{event|0}}}')=Event|q?where=Id='{{{Lv5|}}}'|q?groupBy=_pageName|default=N/A|template=AbilityDisplayTabTEST}} |
}} | }} | ||
{{Template:Tab/end}} | {{Template:Tab/end}} | ||
}} | }} | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 00:10, 24 February 2020
Example
{{AbilityDisplayTEST|isCoability=1|Lv1=101050003|Lv2=101050004|Lv3=101050005|Lv4=101050007|Lv5=101050010}}
{{AbilityDisplayTEST|Lv1=110060004|Lv2=110060005|Lv3=110060006|DisplayCap=1}}
{{AbilityDisplayTEST|Lv1=320000905|Lv2=320000906|DisplayCap=1}} <-- doesn't have a cap, shouldn't display anything
|
Lv1
Lua error: Error: Table CoAbilities not found..
Lv2
Lua error: Error: Table CoAbilities not found..
Lv3
Lua error: Error: Table CoAbilities not found..
Lv4
Lua error: Error: Table CoAbilities not found..
Lv5
Lua error: Error: Table CoAbilities not found..
|
Error: Table Abilities not found. ]]
|
|---|
|
Lv1
Error: Table Abilities not found.
Lv2
Error: Table Abilities not found.
Lv3
Error: Table Abilities not found.
|
Error: Table Abilities not found. ]]
|
|---|
|
Lv1
Error: Table Abilities not found.
Lv2
Error: Table Abilities not found.
|
Mana Spiral Update
Abilities that change family midway (Cassandra's)
{{AbilityDisplayTEST|Lv1=110120003|Lv2=110120004|Lv3=721}}
{{AbilityDisplayTEST|Lv1=110020404|Lv2=110020406|Lv3=682}}
|
Lv1
Lua error: Error: Table Abilities not found..
Lv2
Lua error: Error: Table Abilities not found..
Lv3
Lua error: Error: Table Abilities not found..
|
|
Lv1
Lua error: Error: Table Abilities not found..
Lv2
Lua error: Error: Table Abilities not found..
Lv3
Lua error: Error: Table Abilities not found..
|
Long Names
{{AbilityDisplayTEST|Lv1=584|}}
{{AbilityDisplayTEST|Lv1=585}}
{{AbilityDisplayTEST|Lv1=584|Lv2=585}}
{{AbilityDisplayTEST|Lv1=584|Lv2=585|DisplayCap=2}}
|
Lv1
Lua error: Error: Table Abilities not found..
|
|
Lv1
Lua error: Error: Table Abilities not found..
|
Error: Table Abilities not found. ]]
|
|---|
|
Lv1
Error: Table Abilities not found.
Lv2
Error: Table Abilities not found.
|