Template:EXSkillTable: Difference between revisions
LeTrashman (talk | contribs) No edit summary |
(Language tags) |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine: max_level_with_cost_reduction | 0 }}{{#vardefine: max_level_cost | {{#ifexpr: {{ #len:{{{SkillBaseCost|}}} }} > 0 | {{{SkillBaseCost|0}}} | 0 }} }}{{#vardefine: rowspan_1 | 5 }}{{#vardefine: rowspan_2 | 0 }}{{#vardefine: rowspan_3 | 0 }}{{#vardefine: rowspan_4 | 0 }}{{#vardefine: rowspan_5 | 0 }}{{#forargs: SkillCostLv | key | value | |
|||
⚫ | |||
{{#vardefine: max_level_cost | {{#var: value }} }} |
|||
⚫ | |||
{{#vardefine: max_level_with_cost_reduction | {{#var: key }} }} |
|||
⚫ | |||
{{#vardefine: rowspan_{{#var: key }} | {{#expr: 6-{{#var: key }} }} }} |
|||
{{#loop: i |
|||
| 1 |
|||
| {{#expr: {{#var: key }}-1 }} |
|||
| {{#ifexpr: {{#var: rowspan_{{#var: i }} }} > {{#expr: {{#var: key }}-{{#var: i }} }} | {{#vardefine: rowspan_{{#var: i }}| {{#expr: {{#var: key }}-{{#var: i }} }} }} }} |
|||
}} |
|||
⚫ | |||
|- 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> | }} |
||
⚫ | |||
<br>'''{{#if:{{{SkillNameJP|}}}|<span lang="ja">{{{SkillNameJP}}}</span><span style="color:#a2a9b1; word-spacing: 0.4em;"> • </span>|}}<span lang="en">{{{SkillName}}}</span>'''<br>{{{SkillDescriptionGeneral}}} |
|||
|- style="color:#ffffff" |
|- style="color:#ffffff" |
||
!style="background-color:#2d4c72"|Lv. |
!style="background-color:#2d4c72"|Lv. |
||
Line 8: | Line 19: | ||
|- |
|- |
||
|1 |
|1 |
||
|rowspan="{{# |
|rowspan="{{#var: rowspan_1 }}" style="text-align:center"| {{{SkillBaseCost|?}}} |
||
|{{{SkillDescriptionLv1}}} |
|<p style="margin:0">{{{SkillDescriptionLv1|}}}</p> |
||
|- |
|- |
||
|2 |
|2 |
||
{{#ifexpr: {{#var: rowspan_2 }} > 0 | {{!}} rowspan="{{#var: rowspan_2 }}" style="text-align:center" {{!}} <span style="color:red">{{{SkillCostLv2|}}}</span> }} |
|||
|{{{SkillDescriptionLv2}}} |
|<p style="margin:0">{{{SkillDescriptionLv2|}}}</p> |
||
{{#if: {{{SkillUpgradeLv2_1_Name|}}}|<p style="margin:0;margin-top:7px"> |
|||
{{#if: {{{SkillUpgradeLv2_1_Name|}}}|{{ItemCard|{{{SkillUpgradeLv2_1_Name|}}}|quantity={{{SkillUpgradeLv2_1_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv2_2_Name|}}}|{{ItemCard|{{{SkillUpgradeLv2_2_Name|}}}|quantity={{{SkillUpgradeLv2_2_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv2_3_Name|}}}|{{ItemCard|{{{SkillUpgradeLv2_3_Name|}}}|quantity={{{SkillUpgradeLv2_3_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv2_4_Name|}}}|{{ItemCard|{{{SkillUpgradeLv2_4_Name|}}}|quantity={{{SkillUpgradeLv2_4_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv2_5_Name|}}}|{{ItemCard|{{{SkillUpgradeLv2_5_Name|}}}|quantity={{{SkillUpgradeLv2_5_Amount|}}}|text=}}}} |
|||
</p>}} |
|||
|- |
|- |
||
|3 |
|3 |
||
{{# |
{{#ifexpr: {{#var: rowspan_3 }} > 0 | {{!}} rowspan="{{#var: rowspan_3 }}" style="text-align:center" {{!}} <span style="color:red">{{{SkillCostLv3|}}}</span> }} |
||
|{{{SkillDescriptionLv3}}} |
|<p style="margin:0">{{{SkillDescriptionLv3|}}}</p> |
||
{{#if: {{{SkillUpgradeLv3_1_Name|}}}|<p style="margin:0;margin-top:7px"> |
|||
{{#if: {{{SkillUpgradeLv3_1_Name|}}}|{{ItemCard|{{{SkillUpgradeLv3_1_Name|}}}|quantity={{{SkillUpgradeLv3_1_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv3_2_Name|}}}|{{ItemCard|{{{SkillUpgradeLv3_2_Name|}}}|quantity={{{SkillUpgradeLv3_2_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv3_3_Name|}}}|{{ItemCard|{{{SkillUpgradeLv3_3_Name|}}}|quantity={{{SkillUpgradeLv3_3_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv3_4_Name|}}}|{{ItemCard|{{{SkillUpgradeLv3_4_Name|}}}|quantity={{{SkillUpgradeLv3_4_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv3_5_Name|}}}|{{ItemCard|{{{SkillUpgradeLv3_5_Name|}}}|quantity={{{SkillUpgradeLv3_5_Amount|}}}|text=}}}} |
|||
</p>}} |
|||
|- |
|- |
||
|4 |
|4 |
||
{{# |
{{#ifexpr: {{#var: rowspan_4 }} > 0 | {{!}} rowspan="{{#var: rowspan_4 }}" style="text-align:center" {{!}} <span style="color:red">{{{SkillCostLv4|}}}</span> }} |
||
|{{{SkillDescriptionLv4}}} |
|<p style="margin:0">{{{SkillDescriptionLv4|}}}</p> |
||
{{#if: {{{SkillUpgradeLv4_1_Name|}}}|<p style="margin:0;margin-top:7px"> |
|||
{{#if: {{{SkillUpgradeLv4_1_Name|}}}|{{ItemCard|{{{SkillUpgradeLv4_1_Name|}}}|quantity={{{SkillUpgradeLv4_1_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv4_2_Name|}}}|{{ItemCard|{{{SkillUpgradeLv4_2_Name|}}}|quantity={{{SkillUpgradeLv4_2_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv4_3_Name|}}}|{{ItemCard|{{{SkillUpgradeLv4_3_Name|}}}|quantity={{{SkillUpgradeLv4_3_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv4_4_Name|}}}|{{ItemCard|{{{SkillUpgradeLv4_4_Name|}}}|quantity={{{SkillUpgradeLv4_4_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv4_5_Name|}}}|{{ItemCard|{{{SkillUpgradeLv4_5_Name|}}}|quantity={{{SkillUpgradeLv4_5_Amount|}}}|text=}}}} |
|||
</p>}} |
|||
|- |
|- |
||
|5 |
|5 |
||
{{# |
{{#ifexpr: {{#var: rowspan_5 }} > 0 | {{!}} rowspan="{{#var: rowspan_5 }}" style="text-align:center" {{!}} <span style="color:red">{{{SkillCostLv5|}}}</span> }} |
||
|{{{SkillDescriptionLv5}}} |
|<p style="margin:0">{{{SkillDescriptionLv5|}}}</p> |
||
{{#if: {{{SkillUpgradeLv5_1_Name|}}}|<p style="margin:0;margin-top:7px"> |
|||
{{#if: {{{SkillUpgradeLv5_1_Name|}}}|{{ItemCard|{{{SkillUpgradeLv5_1_Name|}}}|quantity={{{SkillUpgradeLv5_1_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv5_2_Name|}}}|{{ItemCard|{{{SkillUpgradeLv5_2_Name|}}}|quantity={{{SkillUpgradeLv5_2_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv5_3_Name|}}}|{{ItemCard|{{{SkillUpgradeLv5_3_Name|}}}|quantity={{{SkillUpgradeLv5_3_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv5_4_Name|}}}|{{ItemCard|{{{SkillUpgradeLv5_4_Name|}}}|quantity={{{SkillUpgradeLv5_4_Amount|}}}|text=}}}} |
|||
{{#if: {{{SkillUpgradeLv5_5_Name|}}}|{{ItemCard|{{{SkillUpgradeLv5_5_Name|}}}|quantity={{{SkillUpgradeLv5_5_Amount|}}}|text=}}}} |
|||
</p>}} |
|||
|}</includeonly><noinclude> <nowiki>{{EXSkillTable |
|}</includeonly><noinclude> <nowiki>{{EXSkillTable |
||
|SkillName= |
|SkillName= |
||
|SkillNameJP= |
|||
|SkillBaseCost= |
|SkillBaseCost= |
||
| |
|SkillCostLv2=(fill in if skill has a cost reduction at given level levels) |
||
. |
|||
|SkillUpgradedCostLv=(level at which cost is reduced) |
|||
. |
|||
⚫ | |||
|SkillCostLv5= |
|||
|SkillIconType=BARRIER/BATTLEITEM/etc, see Template:SkillIcon for full reference table/CHARACTERNAME*) |
|||
⚫ | |||
*for certain unique icons, refer to bottom section of Template:SkillIcon |
|||
|SkillIconType=(Skill icon name) |
|||
|SkillDescriptionGeneral= |
|SkillDescriptionGeneral= |
||
|SkillDescriptionLv1= To highlight values similar to ingame, use |
|SkillDescriptionLv1= To highlight values similar to ingame, use {{SkillValue|text}}. To highlight major changes, use <span style="color:red">text</span> |
||
|SkillUpgradeLv2_1_Name=Item name |
|||
|SkillUpgradeLv2_1_Amount=Item amount |
|||
|SkillUpgradeLv2_2_Name=... |
|||
. |
. |
||
. |
. |
||
. |
. |
||
|SkillDescriptionLv5= |
|SkillDescriptionLv5= |
||
}}</nowiki> |
}}</nowiki><noinclude> |
||
See page [[Template:SkillIcon]] for valid skill icons reference |
|||
<noinclude> |
|||
<templatedata> |
<templatedata> |
||
{ |
{ |
||
Line 47: | Line 92: | ||
"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" |
|||
⚫ | |||
⚫ | |||
⚫ | |||
}, |
}, |
||
"SkillDamageType": { |
"SkillDamageType": { |
||
"description": "Explosive, Penetration, Mystic |
"description": "Explosive, Penetration, Mystic" |
||
}, |
}, |
||
"SkillIconType": { |
"SkillIconType": { |
||
"description": " |
"description": "Skill icon name. Refer to SkillIcon template", |
||
"example": " |
"example": "SKILLICON_AIRI_EXSKILL" |
||
}, |
}, |
||
"SkillIcon": { |
|||
⚫ | |||
"deprecated": "Should not be used unless strictly necessary, fill out SkillDamageType and SkillIconType instead" |
|||
}, |
|||
⚫ | |||
"required": true |
|||
}, |
|||
"SkillNameJP": {}, |
|||
"SkillDescriptionGeneral": { |
"SkillDescriptionGeneral": { |
||
"description": "A generic description of the skill. Replace the value that changes upon level up with X. Use |
"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 |
"example": "Deal {{SkillValue|X%}} damage to an enemy.", |
||
"required": true |
"required": true |
||
}, |
}, |
||
"SkillDescriptionLv1": { |
"SkillDescriptionLv1": { |
||
"description": "Use |
"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": |
"required": false |
||
}, |
}, |
||
"SkillDescriptionLv2": { |
"SkillDescriptionLv2": { |
||
"description": "Use |
"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": |
"required": false |
||
}, |
}, |
||
"SkillDescriptionLv3": { |
"SkillDescriptionLv3": { |
||
"description": "Use |
"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": |
"required": false |
||
}, |
}, |
||
"SkillDescriptionLv4": { |
"SkillDescriptionLv4": { |
||
"description": "Use |
"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": |
"required": false |
||
}, |
}, |
||
"SkillDescriptionLv5": { |
"SkillDescriptionLv5": { |
||
"description": "Use |
"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": |
"required": false |
||
} |
} |
||
}, |
}, |
Latest revision as of 05:03, 29 April 2024
{{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> |SkillUpgradeLv2_1_Name=Item name |SkillUpgradeLv2_1_Amount=Item amount |SkillUpgradeLv2_2_Name=... . . . |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 |