Difference between revisions of "Template:Skill infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(maybe)
Line 60: Line 60:
| Has raw English description ={{#var:raw skill desc}}
| Has raw English description ={{#var:raw skill desc}}
| Has evolved skill={{{evolution|}}}
| Has evolved skill={{{evolution|}}}
| Has precursor skill={{{precursor|}}}
}}<!-- end of subobject creation
}}<!-- end of subobject creation
-->
-->
<!-- Grab evolution name -->
<!-- Grab evolution and precursor name -->
{{#vardefine:evolution skill subobj|
{{#vardefine:evolution skill subobj|
  {{#if: {{{evolution|}}}
  {{#if: {{{evolution|}}}
Line 80: Line 81:
  }}
  }}
}}
}}
<table id="skill{{#var:staffmembernumber}}" class="infobox">
{{#vardefine:precursor skill subobj|
{{#if: {{{precursor |}}}
|{{#ask:
  [[Has game context::Skill]]
  [[Has Japanese name::{{{precursor }}}]]
  |link=none
  |limit=1
  |headers=hide
  |searchlabel=
  }}
}}
}}
{{#vardefine:precursor skill en name|
{{#if: {{#var:precursor skill subobj|}}
|{{#show: {{#var:precursor skill subobj}} |?Has English name }}
}}
}}
<table id="skill{{#var:skillnumber}}" class="infobox">
<tr>
<tr>
   <th colspan="2">{{#if:{{{jp-en name}}}|<span title="{{{jp-en name}}}"><u>{{{en name|???}}}</u></span>|{{{en name|???}}}}}</th>
   <th colspan="2">{{#if:{{{jp-en name}}}|<span title="{{{jp-en name}}}"><u>{{{en name|???}}}</u></span>|{{{en name|???}}}}}</th>
Line 107: Line 125:
   <th>Evolution</th>
   <th>Evolution</th>
   <td>{{#if: {{#var:evolution skill subobj|}} | [[{{#var:evolution skill subobj|}}|{{#var:evolution skill en name|{{{evolution}}} }}]] | {{#if:{{{evolution|}}}|{{{evolution}}}|?}} }}</td>
   <td>{{#if: {{#var:evolution skill subobj|}} | [[{{#var:evolution skill subobj|}}|{{#var:evolution skill en name|{{{evolution}}} }}]] | {{#if:{{{evolution|}}}|{{{evolution}}}|?}} }}</td>
</tr>
}}
{{#if:{{{precursor|}}}|
<tr>
  <th>Evolves From</th>
  <td>{{#if: {{#var:precursor skill subobj|}} | [[{{#var:precursor skill subobj|}}|{{#var:precursor skill en name|{{{precursor}}} }}]] | {{#if:{{{precursor|}}}|{{{precursor}}}|?}} }}</td>
</tr>
</tr>
}}
}}
Line 135: Line 159:
* Has raw English description
* Has raw English description
* Has evolved skill
* Has evolved skill
* Has precursor skill


== Usage ==
== Usage ==
Line 157: Line 182:
; proc chance : The skill's chance to activate at skill level 1 in percent.
; proc chance : The skill's chance to activate at skill level 1 in percent.
; evolution : The skill's evolution
; evolution : The skill's evolution
; precursor : The skill's pre-evolution (base)


== Examples ==
== Examples ==

Revision as of 14:46, 12 April 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

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)

Examples

{{Skill infobox
| jp name = 獣の末裔
| en name = Beast Descendant
| jp trigger timing = 移動後
| jp description = 自身に頑強付与
| en description = Apply {{Status effect|頑強}} to Self
| proc chance = 50
}}



Beast Descendant
JP Name 獣の末裔
Trigger timing After MovingAfter this unit is held and released by their player. Triggered and applied before [After Not Moving] effects. Effects of the same timing from same unit are all triggered together before they are applied.
Effect Apply TenacityDEF Up by 0.9x ~ 0.45x for 1 turn (Buff) to Self
Proc Chance 50%