Difference between revisions of "Template:AbilityDisplayTEST"

From Dragalia Lost Wiki
Jump to navigation Jump to search
>Canim44
m (Spacing)
>Canim44
m (AbilityDisplay)
Line 19: Line 19:
 
--> {| class="skill-table skill-levels"
 
--> {| class="skill-table skill-levels"
 
{{#if:{{{DisplayCap|}}}|
 
{{#if:{{{DisplayCap|}}}|
! {{AbilityDisplayHeaderTEST|icon={{#cargo_query:tables={{#var:table}}|fields=AbilityIconName=icon|where=Id='{{{Lv{{#var:level}}|}}}'|group by=_pageName|named args=yes|limit=1|more results text=|no html}}|name={{#cargo_query:tables={{#var:table}}|fields=GenericName=name|where=Id='{{{Lv{{#var:level}}|}}}'|group by=_pageName|named args=yes|limit=1|more results text=|no html|default={{{Lv{{#var:level}}|}}}}}|event={{{event|0}}}}}
+
! {{AbilityDisplayHeader|icon={{#cargo_query:tables={{#var:table}}|fields=AbilityIconName=icon|where=Id='{{{Lv{{#var:level}}|}}}'|group by=_pageName|named args=yes|limit=1|more results text=|no html}}|name={{#cargo_query:tables={{#var:table}}|fields=GenericName=name|where=Id='{{{Lv{{#var:level}}|}}}'|group by=_pageName|named args=yes|limit=1|more results text=|no html|default={{{Lv{{#var:level}}|}}}}}|event={{{event|0}}}}}
 
|}}
 
|}}
 
|-
 
|-
Line 74: Line 74:
 
|q?groupBy=_pageName
 
|q?groupBy=_pageName
 
|default=N/A
 
|default=N/A
|template=AbilityDisplayTabTEST
+
|template=AbilityDisplayTab
 
}}
 
}}
 
{{#ifexpr: {{#var:level}} >= 2|
 
{{#ifexpr: {{#var:level}} >= 2|
Line 84: Line 84:
 
|q?groupBy=_pageName
 
|q?groupBy=_pageName
 
|default=N/A
 
|default=N/A
|template=AbilityDisplayTabTEST
+
|template=AbilityDisplayTab
 
}}
 
}}
 
|}}
 
|}}
Line 95: Line 95:
 
|q?groupBy=_pageName
 
|q?groupBy=_pageName
 
|default=N/A
 
|default=N/A
|template=AbilityDisplayTabTEST
+
|template=AbilityDisplayTab
 
}}
 
}}
 
|}}
 
|}}
Line 106: Line 106:
 
|q?groupBy=_pageName
 
|q?groupBy=_pageName
 
|default=N/A
 
|default=N/A
|template=AbilityDisplayTabTEST
+
|template=AbilityDisplayTab
 
}}
 
}}
 
|}}
 
|}}
Line 117: Line 117:
 
|q?groupBy=_pageName
 
|q?groupBy=_pageName
 
|default=N/A
 
|default=N/A
|template=AbilityDisplayTabTEST
+
|template=AbilityDisplayTab
 
}}
 
}}
 
|}}
 
|}}

Revision as of 13:01, 17 February 2020

50px Documentation

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

{{#css: .tabbertab .ability-header {

 background-color: #e6f7ff;
 border-bottom: 1px solid skyblue;
 font-size: 14px;
 padding: 5px 10px;
 position: absolute;
 right: 0;
 left: 0;
 top: 0;
 white-space: nowrap;

} /** Hack to expand the header to the right width */ .tabbertab .ability-header-spacer {

 font-size: 14px;
 height: 0px;
 padding: 0 10px;
 visibility: hidden;
 white-space: nowrap;

} }}

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..

Unknown.png
[[
Error: Table Abilities not found.
]]
Lv1
Error: Table Abilities not found.
Lv2
Error: Table Abilities not found.
Lv3
Error: Table Abilities not found.
Unknown.png
[[
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}}

{{#css: .tabbertab .ability-header {

 background-color: #e6f7ff;
 border-bottom: 1px solid skyblue;
 font-size: 14px;
 padding: 5px 10px;
 position: absolute;
 right: 0;
 left: 0;
 top: 0;
 white-space: nowrap;

} /** Hack to expand the header to the right width */ .tabbertab .ability-header-spacer {

 font-size: 14px;
 height: 0px;
 padding: 0 10px;
 visibility: hidden;
 white-space: nowrap;

} }}

Lv1

Lua error: Error: Table Abilities not found..

Lv2

Lua error: Error: Table Abilities not found..

Lv3

Lua error: Error: Table Abilities not found..

{{#css: .tabbertab .ability-header {

 background-color: #e6f7ff;
 border-bottom: 1px solid skyblue;
 font-size: 14px;
 padding: 5px 10px;
 position: absolute;
 right: 0;
 left: 0;
 top: 0;
 white-space: nowrap;

} /** Hack to expand the header to the right width */ .tabbertab .ability-header-spacer {

 font-size: 14px;
 height: 0px;
 padding: 0 10px;
 visibility: hidden;
 white-space: nowrap;

} }}

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}}

{{#css: .tabbertab .ability-header {

 background-color: #e6f7ff;
 border-bottom: 1px solid skyblue;
 font-size: 14px;
 padding: 5px 10px;
 position: absolute;
 right: 0;
 left: 0;
 top: 0;
 white-space: nowrap;

} /** Hack to expand the header to the right width */ .tabbertab .ability-header-spacer {

 font-size: 14px;
 height: 0px;
 padding: 0 10px;
 visibility: hidden;
 white-space: nowrap;

} }}

Lv1

Lua error: Error: Table Abilities not found..

{{#css: .tabbertab .ability-header {

 background-color: #e6f7ff;
 border-bottom: 1px solid skyblue;
 font-size: 14px;
 padding: 5px 10px;
 position: absolute;
 right: 0;
 left: 0;
 top: 0;
 white-space: nowrap;

} /** Hack to expand the header to the right width */ .tabbertab .ability-header-spacer {

 font-size: 14px;
 height: 0px;
 padding: 0 10px;
 visibility: hidden;
 white-space: nowrap;

} }}

Lv1

Lua error: Error: Table Abilities not found..

Unknown.png
[[
Error: Table Abilities not found.
]]
Lv1
Error: Table Abilities not found.
Lv2
Error: Table Abilities not found.