Difference between revisions of "Template:Skill extended infobox"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) m (Fixed skill evo display) |
SurtrFan8511 (talk | contribs) |
||
Line 56: | Line 56: | ||
|{{#show: {{#var:evolution skill subobj}} |?Has English name }} | |{{#show: {{#var:evolution skill subobj}} |?Has English name }} | ||
}} | }} | ||
}}--> | }}-->{{#if:{{#var:skill evolution|}}|{{#arraydefine:skill evolution id array|{{#var:skill evolution|}}}} | ||
{{#arraydefine:skill evo list|{{#ask: | }}{{#arraydefine:skill evo list|{{#if:{{#arrayprint:skill evolution id array}} | ||
|{{#arrayprint:skill evolution id array||@@@@|{{#ask: | |||
[[Has game context::Skill]] | |||
[[Has ID::@@@@]] | |||
[[Has effect ID::1]] | |||
|link=none|headers=hide|searchlabel= | |||
}}}} | |||
|{{#ask: | |||
[[Has game context::Skill]] | [[Has game context::Skill]] | ||
[[Has Japanese name::~{{#var:skill jp name|{{{jp name|}}}}}+*]] | [[Has Japanese name::~{{#var:skill jp name|{{{jp name|}}}}}+*]] | ||
[[Has effect ID::1]] | [[Has effect ID::1]] | ||
|link=none | |link=none|headers=hide|searchlabel= | ||
}} }}{{#vardefine:precursor skill subobj| | }} }}{{#vardefine:precursor skill subobj| | ||
{{#if: {{{precursor |}}} | {{#if: {{{precursor |}}} |
Revision as of 04:09, 6 April 2020
Description
This templates creates a formatted string using the skill information as well as a skill subobject using the following properties:
- Has game context
- Has Japanese name
- Has English name
- Has Japanese-English name
- Has lowercase English name
- Has Japanese description
- Has English description
- Has skill trigger timing
- Has skill proc chance
- Has preformatted English description
- Has raw English description
- Has evolved skill
- Has precursor skill
- Has additional skills
Usage
{{Skill infobox | jp name = | en name = | jp-en name = | jp trigger timing = | jp description = | en description = | proc chance = }}
Parameters
- jp name
- Japanese name.
- en name
- English name.
- jp-en name
- Translated English name.
- jp trigger timing
- Activation method in Japanese without parentheses.
- jp description
- Skill description in Japanese.
- en description
- Translated English skill description.
- proc chance
- The skill's chance to activate at skill level 1 in percent.
- evolution
- The skill's evolution
- precursor
- The skill's pre-evolution (base)