Template:EXSkillTable/sandbox: Difference between revisions

No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine: max_level_with_cost_reduction | 0 }}
<includeonly>{|class="mw-collapsible mw-collapsed wikitable"; style="width:60%; background-color:#ecf5f9"
{{#vardefine: max_level_cost | {{#ifexpr: {{ #len:{{{SkillBaseCost|}}} }} > 0 | {{{SkillBaseCost|0}}} | 0 }} }}
|style="text-align:center; background-color:#d9edfb; width:10%"|'''EX Skill'''<br>Cost {{{SkillBaseCost}}}{{#if: {{{SkillUpgradedCost|}}} | <br><span style="color:red">(Level{{{SkillUpgradedCostLv}}}+)<br>Cost {{{SkillUpgradedCost}}}</span> | }}
{{#vardefine: i | 1 }}
|colspan="2" style="position: relative; padding-left:74px; text-align:center; background-color:#d9edfb;" |{{#if:{{{SkillIcon|}}}|[[File:{{{SkillIcon|}}}.png|64x64px|left]]|{{SkillIcon/sandbox|{{{SkillDamageType}}}|{{{SkillIconType}}}}}}}
{{#while:
<br>'''{{#if:{{{SkillNameJP|}}}|{{{SkillNameJP}}} -&nbsp;|}}{{{SkillName}}}'''<br>{{{SkillDescriptionGeneral}}}
| {{#ifexpr: {{#var: i }} < 6 | true }}
| {{#if: {{{SkillCostLv{{#var: i }} |}}} | {{#vardefine: max_level_cost | {{{SkillCostLv{{#var: i }} |}}} }} }}{{#vardefine: max_level_with_cost_reduction | {{#var: i }} }}{{#vardefine: i
| {{#expr: {{#var: i }} + 1 }}
}}
}}
{{#vardefine: rowspan_1 | 5 }}
{{#vardefine: rowspan_2 | 0 }}
{{#vardefine: rowspan_3 | 0 }}
{{#vardefine: rowspan_4 | 0 }}
{{#vardefine: rowspan_5 | 0 }}
{{#vardefine: i | 1 }}
{{#while:
| {{#ifexpr: {{#var: i }} < 6 | true }}
|
{{#if: {{{SkillCostLv{{#var: i }} |}}} |
{{#vardefine: j | 1 }}
{{#while:
| {{#ifexpr: {{#var: j }} < {{#var: i }} | true }}
|
{{#ifexpr: {{#var: rowspan_{{#var: j }} }} > {{#expr: {{#var: i }} - {{#var: j }} }} | {{#vardefine: rowspan_{{#var: j }} | {{#expr: {{#var: i }} - {{#var: j }} }} }} }}
{{#vardefine: j | {{#expr: {{#var: j }} + 1 }} }}
}}
{{#vardefine: rowspan_{{#var: i }} | {{#expr: 6 - {{#var: i }} }} }}
{{#ifexpr: {{#expr: {{#var: i }} = 5 }} | {{#vardefine: rowspan_5 | 1 }} }}
}}
{{#vardefine: i | {{#expr: {{#var: i }} + 1 }}
}}
}}
{|class="mw-collapsible mw-collapsed wikitable skilltable"
|- class="summary"
|style="width:10%"|'''EX Skill'''<br>Cost {{{SkillBaseCost|?}}}{{#ifexpr: {{#var: max_level_cost }} != {{#ifexpr: {{ #len:{{{SkillBaseCost|}}} }} > 0 | {{{SkillBaseCost|0}}} | 0 }} | <br><span style="color:red">(Level {{#var: max_level_with_cost_reduction }}+)<br>Cost {{#var: max_level_cost }}</span> | }}
|colspan="2" style="position: relative; padding-left:74px;" |{{#if:{{{SkillIcon|}}}|[[File:{{{SkillIcon|}}}.png|64x64px|left]]|{{SkillIcon|{{{SkillDamageType}}}|{{{SkillIconType}}}}}}}
<br>'''{{#if:{{{SkillNameJP|}}}|{{{SkillNameJP}}}<span style="color:#a2a9b1; word-spacing: 0.4em;"> &bull; </span>|}}{{{SkillName}}}'''<br>{{{SkillDescriptionGeneral}}}
|- style="color:#ffffff"
|- style="color:#ffffff"
!style="background-color:#2d4c72"|Lv.
!style="background-color:#2d4c72"|Lv.
Line 9: Line 43:
|-
|-
|1
|1
|rowspan="{{#if: {{{SkillUpgradedCostLv|}}} | {{#expr: {{{SkillUpgradedCostLv|}}} - 1}} | 5}}" style="text-align:center"| {{{SkillBaseCost}}}
|rowspan="{{#var: rowspan_1 }}" style="text-align:center"| {{{SkillBaseCost|?}}}
|{{{SkillDescriptionLv1}}}
|{{{SkillDescriptionLv1|}}}
|-
|-
|2
|2
{{#ifexpr: {{#var: rowspan_2 }} > 0 | {{!}} rowspan="{{#var: rowspan_2 }}" style="text-align:center" {{!}} <span style="color:red">{{{SkillCostLv2|}}}</span> }}
|{{{SkillDescriptionLv2}}}
|{{{SkillDescriptionLv2|}}}
|-
|-
|3
|3
{{#ifeq: {{{SkillUpgradedCostLv|}}}| 3 | {{!}} rowspan="3" style="text-align:center" {{!}} <span style="color:red">{{{SkillUpgradedCost}}}</span> | }}
{{#ifexpr: {{#var: rowspan_3 }} > 0 | {{!}} rowspan="{{#var: rowspan_3 }}" style="text-align:center" {{!}} <span style="color:red">{{{SkillCostLv3|}}}</span> }}
|{{{SkillDescriptionLv3}}}
|{{{SkillDescriptionLv3|}}}
|-
|-
|4
|4
{{#ifeq: {{{SkillUpgradedCostLv|}}}| 4 | {{!}} rowspan="2" style="text-align:center" {{!}} <span style="color:red">{{{SkillUpgradedCost}}}</span> | }}
{{#ifexpr: {{#var: rowspan_4 }} > 0 | {{!}} rowspan="{{#var: rowspan_4 }}" style="text-align:center" {{!}} <span style="color:red">{{{SkillCostLv4|}}}</span> }}
|{{{SkillDescriptionLv4}}}
|{{{SkillDescriptionLv4|}}}
|-
|-
|5
|5
{{#ifeq: {{{SkillUpgradedCostLv|}}}| 5 | {{!}} rowspan="1" style="text-align:center" {{!}} <span style="color:red">{{{SkillUpgradedCost}}}</span> | }}
{{#ifexpr: {{#var: rowspan_5 }} > 0 | {{!}} rowspan="{{#var: rowspan_5 }}" style="text-align:center" {{!}} <span style="color:red">{{{SkillCostLv5|}}}</span> }}
|{{{SkillDescriptionLv5}}}
|{{{SkillDescriptionLv5|}}}
|}</includeonly><noinclude> <nowiki>{{EXSkillTable
|}</includeonly><noinclude> <nowiki>{{EXSkillTable
|SkillName=
|SkillName=
|SkillNameJP=
|SkillNameJP=
|SkillBaseCost=
|SkillBaseCost=
|SkillUpgradedCost=(only fill in if skill has a cost reduction at later levels)
|SkillCostLv2=(fill in if skill has a cost reduction at given level levels)
.
|SkillUpgradedCostLv=(level at which cost is reduced)
.
|SkillCostLv5=
|SkillDamageType=(Explosive/Penetration/Mystic)
|SkillDamageType=(Explosive/Penetration/Mystic)
|SkillIconType=(Skill icon name)
|SkillIconType=(Skill icon name)
|SkillDescriptionGeneral=
|SkillDescriptionGeneral=
|SkillDescriptionLv1= To highlight values similar to ingame, use <span style="color:#1484fe">text</span>. To highlight major changes, use <span style="color:red">text</span>
|SkillDescriptionLv1= To highlight values similar to ingame, use {{SkillValue|text}}. To highlight major changes, use <span style="color:red">text</span>
.
.
.
.
.
.
|SkillDescriptionLv5=
|SkillDescriptionLv5=
}}</nowiki>
}}</nowiki><noinclude>
<noinclude>
See page [[Template:SkillIcon]] for valid skill icons reference
See page [[Template:SkillIcon]] for valid skill icons reference
<templatedata>
<templatedata>
Line 49: Line 85:
"description": "Cost of skill at level 1.",
"description": "Cost of skill at level 1.",
"required": true
"required": true
},
"SkillCostLv2": {
"description": "Cost of skill at level 2, if there's a change on given level."
},
"SkillCostLv3": {
"description": "Cost of skill at level 3, if there's a change on given level."
},
"SkillCostLv4": {
"description": "Cost of skill at level 4, if there's a change on given level."
},
"SkillCostLv5": {
"description": "Cost of skill at level 5, if there's a change on given level."
},
},
"SkillUpgradedCost": {
"SkillUpgradedCost": {
"description": "Only needs a value if the skill gets a cost reduction at a certain level."
"description": "Only needs a value if the skill gets a cost reduction at a certain level.",
"deprecated": "Specify SkillCostLv* instead"
},
},
"SkillUpgradedCostLv": {
"SkillUpgradedCostLv": {
"description": "The level at which a skill's cost is reduced."
"description": "The level at which a skill's cost is reduced.",
"deprecated": "Specify SkillCostLv* instead"
},
"SkillIcon": {
"description": "Filename for skill icon, excluding .png extension, overrides SkillIcon template output set by SkillDamageType/SkillIconType."
},
},
"SkillDamageType": {
"SkillDamageType": {
Line 65: Line 112:
"description": "Skill icon name. Refer to SkillIcon template",
"description": "Skill icon name. Refer to SkillIcon template",
"example": "SKILLICON_AIRI_EXSKILL"
"example": "SKILLICON_AIRI_EXSKILL"
},
"SkillIcon": {
"description": "Filename for skill icon, excluding .png extension, overrides SkillIcon template output set by SkillDamageType/SkillIconType.",
"deprecated": "Should not be used unless strictly necessary, fill out SkillDamageType and SkillIconType instead"
},
},
"SkillName": {
"SkillName": {
Line 71: Line 122:
"SkillNameJP": {},
"SkillNameJP": {},
"SkillDescriptionGeneral": {
"SkillDescriptionGeneral": {
"description": "A generic description of the skill. Replace the value that changes upon level up with X. Use <span style=\"color:#1484fe\">text</span> to highlight values like in game. Use <span style=\"color:red\">text</span> to highlight major changes after certain levels.",
"description": "A generic description of the skill. Replace the value that changes upon level up with X. Use {{SkillValue|text}} to highlight values like in game. Use <span style=\"color:red\">text</span> to highlight major changes after certain levels.",
"example": "Deal <span style=\"color:#1484fe\">X%</span> damage to an enemy.",
"example": "Deal {{SkillValue|X%}} damage to an enemy.",
"required": true
"required": true
},
},
"SkillDescriptionLv1": {
"SkillDescriptionLv1": {
"description": "Use <span style=\"color:#1484fe\">text</span> to highlight values like in game. Use <span style=\"color:red\">text</span> to highlight major changes after certain levels.",
"description": "Use {{SkillValue|text}} to highlight values like in game. Use <span style=\"color:red\">text</span> to highlight major changes after certain levels.",
"required": true
"required": false
},
},
"SkillDescriptionLv2": {
"SkillDescriptionLv2": {
"description": "Use <span style=\"color:#1484fe\">text</span> to highlight values like in game. Use <span style=\"color:red\">text</span> to highlight major changes after certain levels.",
"description": "Use {{SkillValue|text}} to highlight values like in game. Use <span style=\"color:red\">text</span> to highlight major changes after certain levels.",
"required": true
"required": false
},
},
"SkillDescriptionLv3": {
"SkillDescriptionLv3": {
"description": "Use <span style=\"color:#1484fe\">text</span> to highlight values like in game. Use <span style=\"color:red\">text</span> to highlight major changes after certain levels.",
"description": "Use {{SkillValue|text}} to highlight values like in game. Use <span style=\"color:red\">text</span> to highlight major changes after certain levels.",
"required": true
"required": false
},
},
"SkillDescriptionLv4": {
"SkillDescriptionLv4": {
"description": "Use <span style=\"color:#1484fe\">text</span> to highlight values like in game. Use <span style=\"color:red\">text</span> to highlight major changes after certain levels.",
"description": "Use {{SkillValue|text}} to highlight values like in game. Use <span style=\"color:red\">text</span> to highlight major changes after certain levels.",
"required": true
"required": false
},
},
"SkillDescriptionLv5": {
"SkillDescriptionLv5": {
"description": "Use <span style=\"color:#1484fe\">text</span> to highlight values like in game. Use <span style=\"color:red\">text</span> to highlight major changes after certain levels.",
"description": "Use {{SkillValue|text}} to highlight values like in game. Use <span style=\"color:red\">text</span> to highlight major changes after certain levels.",
"required": true
"required": false
}
}
},
},
Line 99: Line 150:
}
}
</templatedata>
</templatedata>
{{EXSkillTable/sandbox
| SkillName = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
| SkillNameJP = お仕置きの時間です~♣
| SkillIconType = COMMON_SKILLICON_FAN
| SkillDamageType = Penetration
| SkillBaseCost = 5
| SkillDescriptionGeneral = Attack all enemies within a conical area for {{SkillValue|432~821%}} of Nonomi's Attack. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
| SkillDescriptionLv1 = Attack all enemies within a conical area for {{SkillValue|432%}} of Nonomi's Attack.
| SkillDescriptionLv2 = Attack all enemies within a conical area for {{SkillValue|497%}} of Nonomi's Attack.
| SkillDescriptionLv3 = Attack all enemies within a conical area for {{SkillValue|627%}} of Nonomi's Attack.
| SkillDescriptionLv4 = Attack all enemies within a conical area for {{SkillValue|692%}} of Nonomi's Attack.
| SkillDescriptionLv5 = Attack all enemies within a conical area for {{SkillValue|821%}} of Nonomi's Attack.
| SkillDescriptionLv6 = Attack all enemies within a conical area for {{SkillValue|886%}} of Nonomi's Attack.
| SkillDescriptionLv7 = Attack all enemies within a conical area for {{SkillValue|1016%}} of Nonomi's Attack.
| SkillDescriptionLv8 = Attack all enemies within a conical area for {{SkillValue|1081%}} of Nonomi's Attack.
| SkillDescriptionLv9 = Attack all enemies within a conical area for {{SkillValue|1211%}} of Nonomi's Attack.
| SkillDescriptionLv10 = Attack all enemies within a conical area for {{SkillValue|1275%}} of Nonomi's Attack.
}}
</noinclude>
</noinclude>

Latest revision as of 10:24, 26 May 2021

{{EXSkillTable
|SkillName=
|SkillNameJP=
|SkillBaseCost=
|SkillCostLv2=(fill in if skill has a cost reduction at given level levels)
.
.
|SkillCostLv5=
|SkillDamageType=(Explosive/Penetration/Mystic)
|SkillIconType=(Skill icon name)
|SkillDescriptionGeneral=
|SkillDescriptionLv1= To highlight values similar to ingame, use {{SkillValue|text}}. To highlight major changes, use <span style="color:red">text</span>
.
.
.
|SkillDescriptionLv5=
}}

See page Template:SkillIcon for valid skill icons reference

Table for displaying EX Skill information. Use the SkillTable template for the other skills.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
SkillBaseCostSkillBaseCost

Cost of skill at level 1.

Unknownrequired
SkillCostLv2SkillCostLv2

Cost of skill at level 2, if there's a change on given level.

Unknownoptional
SkillCostLv3SkillCostLv3

Cost of skill at level 3, if there's a change on given level.

Unknownoptional
SkillCostLv4SkillCostLv4

Cost of skill at level 4, if there's a change on given level.

Unknownoptional
SkillCostLv5SkillCostLv5

Cost of skill at level 5, if there's a change on given level.

Unknownoptional
SkillUpgradedCostSkillUpgradedCost

Only needs a value if the skill gets a cost reduction at a certain level.

Unknowndeprecated
SkillUpgradedCostLvSkillUpgradedCostLv

The level at which a skill's cost is reduced.

Unknowndeprecated
SkillDamageTypeSkillDamageType

Explosive, Penetration, Mystic

Unknownoptional
SkillIconTypeSkillIconType

Skill icon name. Refer to SkillIcon template

Example
SKILLICON_AIRI_EXSKILL
Unknownoptional
SkillIconSkillIcon

Filename for skill icon, excluding .png extension, overrides SkillIcon template output set by SkillDamageType/SkillIconType.

Unknowndeprecated
SkillNameSkillName

no description

Unknownrequired
SkillNameJPSkillNameJP

no description

Unknownoptional
SkillDescriptionGeneralSkillDescriptionGeneral

A generic description of the skill. Replace the value that changes upon level up with X. Use {{SkillValue|text}} to highlight values like in game. Use <span style="color:red">text</span> to highlight major changes after certain levels.

Example
Deal {{SkillValue|X%}} damage to an enemy.
Unknownrequired
SkillDescriptionLv1SkillDescriptionLv1

Use {{SkillValue|text}} to highlight values like in game. Use <span style="color:red">text</span> to highlight major changes after certain levels.

Unknownoptional
SkillDescriptionLv2SkillDescriptionLv2

Use {{SkillValue|text}} to highlight values like in game. Use <span style="color:red">text</span> to highlight major changes after certain levels.

Unknownoptional
SkillDescriptionLv3SkillDescriptionLv3

Use {{SkillValue|text}} to highlight values like in game. Use <span style="color:red">text</span> to highlight major changes after certain levels.

Unknownoptional
SkillDescriptionLv4SkillDescriptionLv4

Use {{SkillValue|text}} to highlight values like in game. Use <span style="color:red">text</span> to highlight major changes after certain levels.

Unknownoptional
SkillDescriptionLv5SkillDescriptionLv5

Use {{SkillValue|text}} to highlight values like in game. Use <span style="color:red">text</span> to highlight major changes after certain levels.

Unknownoptional