Template:EXSkillTable/sandbox: Difference between revisions
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
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}}} - |}}{{{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="summary"
▲|style="
▲|colspan="2" style="position: relative; padding-left:74px
▲<br>'''{{#if:{{{SkillNameJP|}}}|{{{SkillNameJP}}}<span style="color:#a2a9b1; word-spacing: 0.4em;"> &
|- style="color:#ffffff"
!style="background-color:#2d4c72"|Lv.
Line 9 ⟶ 43:
|-
|1
|rowspan="{{#
|{{{SkillDescriptionLv1|}}}
|-
|2
{{#ifexpr: {{#var: rowspan_2 }} > 0 | {{!}} rowspan="{{#var: rowspan_2 }}" style="text-align:center" {{!}} <span style="color:red">{{{SkillCostLv2|}}}</span> }}
|{{{SkillDescriptionLv2|}}}
|-
|3
{{#
|{{{SkillDescriptionLv3|}}}
|-
|4
{{#
|{{{SkillDescriptionLv4|}}}
|-
|5
{{#
|{{{SkillDescriptionLv5|}}}
|}</includeonly><noinclude> <nowiki>{{EXSkillTable
|SkillName=
|SkillNameJP=
|SkillBaseCost=
|
.
.
|SkillCostLv5=
|SkillDamageType=(Explosive/Penetration/Mystic)
|SkillIconType=(Skill icon name)
|SkillDescriptionGeneral=
|SkillDescriptionLv1= To highlight values similar to ingame, use
.
.
.
|SkillDescriptionLv5=
}}</nowiki><noinclude>
See page [[Template:SkillIcon]] for valid skill icons reference
<templatedata>
Line 49 ⟶ 85:
"description": "Cost of skill at level 1.",
"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": {
"description": "Only needs a value if the skill gets a cost reduction at a certain level.",
"deprecated": "Specify SkillCostLv* instead"
},
"SkillUpgradedCostLv": {
"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": {
Line 65 ⟶ 112:
"description": "Skill icon name. Refer to SkillIcon template",
"example": "SKILLICON_AIRI_EXSKILL"
},
▲ "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": {
Line 71 ⟶ 122:
"SkillNameJP": {},
"SkillDescriptionGeneral": {
"description": "A generic description of the skill. Replace the value that changes upon level up with X. Use
"example": "Deal
"required": true
},
"SkillDescriptionLv1": {
"description": "Use
"required":
},
"SkillDescriptionLv2": {
"description": "Use
"required":
},
"SkillDescriptionLv3": {
"description": "Use
"required":
},
"SkillDescriptionLv4": {
"description": "Use
"required":
},
"SkillDescriptionLv5": {
"description": "Use
"required":
}
},
Line 99 ⟶ 150:
}
</templatedata>
▲}}
</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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
SkillBaseCost | SkillBaseCost | Cost of skill at level 1. | Unknown | required |
SkillCostLv2 | SkillCostLv2 | Cost of skill at level 2, if there's a change on given level. | Unknown | optional |
SkillCostLv3 | SkillCostLv3 | Cost of skill at level 3, if there's a change on given level. | Unknown | optional |
SkillCostLv4 | SkillCostLv4 | Cost of skill at level 4, if there's a change on given level. | Unknown | optional |
SkillCostLv5 | SkillCostLv5 | Cost of skill at level 5, if there's a change on given level. | Unknown | optional |
SkillUpgradedCost | SkillUpgradedCost | Only needs a value if the skill gets a cost reduction at a certain level. | Unknown | deprecated |
SkillUpgradedCostLv | SkillUpgradedCostLv | The level at which a skill's cost is reduced. | Unknown | deprecated |
SkillDamageType | SkillDamageType | Explosive, Penetration, Mystic | Unknown | optional |
SkillIconType | SkillIconType | Skill icon name. Refer to SkillIcon template
| Unknown | optional |
SkillIcon | SkillIcon | Filename for skill icon, excluding .png extension, overrides SkillIcon template output set by SkillDamageType/SkillIconType. | Unknown | deprecated |
SkillName | SkillName | no description | Unknown | required |
SkillNameJP | SkillNameJP | no description | Unknown | optional |
SkillDescriptionGeneral | SkillDescriptionGeneral | 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.
| Unknown | required |
SkillDescriptionLv1 | SkillDescriptionLv1 | Use {{SkillValue|text}} to highlight values like in game. Use <span style="color:red">text</span> to highlight major changes after certain levels. | Unknown | optional |
SkillDescriptionLv2 | SkillDescriptionLv2 | Use {{SkillValue|text}} to highlight values like in game. Use <span style="color:red">text</span> to highlight major changes after certain levels. | Unknown | optional |
SkillDescriptionLv3 | SkillDescriptionLv3 | Use {{SkillValue|text}} to highlight values like in game. Use <span style="color:red">text</span> to highlight major changes after certain levels. | Unknown | optional |
SkillDescriptionLv4 | SkillDescriptionLv4 | Use {{SkillValue|text}} to highlight values like in game. Use <span style="color:red">text</span> to highlight major changes after certain levels. | Unknown | optional |
SkillDescriptionLv5 | SkillDescriptionLv5 | Use {{SkillValue|text}} to highlight values like in game. Use <span style="color:red">text</span> to highlight major changes after certain levels. | Unknown | optional |