Difference between revisions of "Template:Skill extended infobox"
Jump to navigation
Jump to search
(test) |
|||
Line 117: | Line 117: | ||
}}<table id="skill{{#var:skillnumber}}" class="skill-infobox" style="{{#ifeq:{{{floats|true}}}|true|float: right;}}"> | }}<table id="skill{{#var:skillnumber}}" class="skill-infobox" style="{{#ifeq:{{{floats|true}}}|true|float: right;}}"> | ||
<tr> | <tr> | ||
<!-- <th colspan="2">{{#if:{{{jp-en name|}}}|<abbr title="{{{jp-en name}}}"><u>{{#var:skill en name|{{{en name|{{#var: skill jp name|???}}}}}}}</u></abbr>|{{#var:skill en name|{{{en name|{{#var:skill jp name|???}}}}}}}}}</th> --> | |||
{{#vardefine:skill display name|{{#ifeq:{{#var:skill en name|}}|{{{en name|{{#var: skill jp name|{{{jp name|???}}}}}}}}} | |||
<th colspan="2">{{#if:{{{jp-en name|}}}|<abbr title="{{{jp-en name}}}"><u>{{#var:skill display name|}}</u></abbr>|{{#var:skill display name|}}}} | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 220: | Line 222: | ||
== Examples == | == Examples == | ||
<!-- | |||
<pre>{{Skill infobox | <pre>{{Skill infobox | ||
| jp name = 獣の末裔 | | jp name = 獣の末裔 | ||
Line 237: | Line 240: | ||
| proc chance = 50 | | proc chance = 50 | ||
}} | }} | ||
--> | |||
[[Category:Infobox templates]] [[Category:Subobject templates]] | [[Category:Infobox templates]] [[Category:Subobject templates]] | ||
</noinclude> | </noinclude> |
Revision as of 20:01, 28 December 2018
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)