Difference between revisions of "Template:Skill extended infobox"

Jump to navigation Jump to search
Undo revision 43392 by SurtrFan8511 (talk)
(lazy fix)
(Undo revision 43392 by SurtrFan8511 (talk))
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:skillnumber|{{#expr:{{#var:skillnumber|-1}}+1}}}}{{#css:
<includeonly><!--for categorization-->{{#if:{{NAMESPACE}}||{{#vardefine:skill page|true}}}}{{#vardefine:expand tips|left}}{{#vardefine:skillnumber|{{#expr:{{#var:skillnumber|-1}}+1}}}}{{#css:
table.skill-infobox {
table.skill-infobox {
     background-color: #f9f9f9;
     background-color: #f9f9f9;
Line 82: Line 82:
}}<!-- end define vars --><!-- create subobject
}}<!-- end define vars --><!-- create subobject
-->{{#subobject:skill{{#var:skillnumber}}
-->{{#subobject:skill{{#var:skillnumber}}
| Has game context =Skill
| Has game context = Skill
| Has skill type = {{#if:{{#var:ar skill page|}}|AR Skill|{{#if:{{#var:charge skill page|}}|Charge Skill|Base Skill}}}}
| Has Japanese name ={{#var:skill jp name|{{{jp name|}}}}}
| Has Japanese name ={{#var:skill jp name|{{{jp name|}}}}}
| Has English name ={{#var: skill en name|{{{en name|}}}}}
| Has English name ={{#var: skill en name|{{{en name|}}}}}
Line 113: Line 114:
   }}
   }}
}}
}}
     <th colspan="2">{{Skill range graphic|{{{skill range|0 0 0 0}}}}}{{#if:{{{jp-en name|}}}|<abbr title="{{{jp-en name}}}"><u>{{#var:skill display name|}}</u></abbr>|{{#var:skill display name|}}}}</th>
     <th colspan="2">{{Skill range graphic|{{{skill range|0 0 0 0 0 0}}}}}<br>{{#if:{{{jp-en name|}}}|<abbr title="{{{jp-en name}}}"><u>{{#var:skill display name|}}</u></abbr>|{{#var:skill display name|}}}}</th>
</tr>
</tr>
<tr>
<tr>
Line 126: Line 127:
   <th>Effect</th>
   <th>Effect</th>
   <td>{{#if: {{{en description|}}}
   <td>{{#if: {{{en description|}}}
|{{#if:{{Skill trigger timing|{{{jp trigger timing|?}}}}}<!--defining variables-->}}{{{en description}}}
|{{#if:{{Skill trigger timing|{{{jp trigger timing|?}}}}}<!--defining variables-->}} {{#masterdata:SkillDescription|{{#var:skill id|0}}|effect={{{effect|1}}}}} <!--{{{en description}}}-->
|{{#if:{{Skill trigger timing|{{{jp trigger timing|?}}}}}<!--defining variables-->}}{{{jp description|?}}}
|{{{jp description|?}}}
}}</td>
}}</td>
</tr>
</tr>
Line 165: Line 166:
| <!-- don't categorize -->
| <!-- don't categorize -->
|[[Category:Skills]]{{#ifeq:{{#var:skill en name|{{{en name|{{#var:skill jp name|{{{jp name|}}}}}}}}}}|{{#var:skill jp name|{{{jp name|}}}}}|[[Category:Skill that lacks an English name]]}}
|[[Category:Skills]]{{#ifeq:{{#var:skill en name|{{{en name|{{#var:skill jp name|{{{jp name|}}}}}}}}}}|{{#var:skill jp name|{{{jp name|}}}}}|[[Category:Skill that lacks an English name]]}}
}}</includeonly><includeonly>{{#ifeq:{{{empty table|false}}}|true||{{#ifeq:{{PAGENAME}}|Skill infobox||{{#ifeq:{{#var:skillnumber|0}}|0|{{#seo:
}}{{#vardefine:skill page|}}</includeonly><includeonly>{{#ifeq:{{{empty table|false}}}|true||{{#ifeq:{{PAGENAME}}|Skill infobox||{{#ifeq:{{#var:skillnumber|0}}|0|{{#seo:
|title={{#var:skill en name|{{{en name|{{#var:skill jp name|{{{jp name|}}}}}}}}}} - Tokyo Afterschool Summoners Wiki
|title={{#var:skill en name|{{{en name|{{#var:skill jp name|{{{jp name|}}}}}}}}}} - Tokyo Afterschool Summoners Wiki
|titlemode=replace
|titlemode=replace
trusted
5,920

edits

Navigation menu