trusted
5,920
edits
SurtrFan8511 (talk | contribs) m (Fixed skill evo display) |
SurtrFan8511 (talk | contribs) (Undo revision 43392 by SurtrFan8511 (talk)) |
||
(30 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 41: | Line 41: | ||
{{#vardefine:skill effect num|{{{effect|1}}}}} | {{#vardefine:skill effect num|{{{effect|1}}}}} | ||
{{#vardefine:skill id|{{{id|{{#masterdata:Skill|{{#var:skill jp name|}}|id:name}}}}}}} | {{#vardefine:skill id|{{{id|{{#masterdata:Skill|{{#var:skill jp name|}}|id:name}}}}}}} | ||
{{#ifexpr:{{#var:skill id|}}< | {{#ifexpr:{{#var:skill id|}}<1|{{#vardefine:skill id|}}}} | ||
}}<!-- Grab evolution and precursor name --> | }}<!-- Grab evolution and precursor name --> | ||
<!--{{#vardefine:evolution skill subobj| | <!--{{#vardefine:evolution skill subobj| | ||
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::{{formatnum:@@@@|R}}]] | |||
[[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 |}}} | ||
|{{#ask: | |{{#ask: | ||
Line 77: | 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 83: | Line 89: | ||
| Has lowercase English name ={{lc:{{#var: skill en name|{{{en name|}}}}}}} | | Has lowercase English name ={{lc:{{#var: skill en name|{{{en name|}}}}}}} | ||
| Has Japanese description ={{{jp description|}}} | | Has Japanese description ={{{jp description|}}} | ||
| Has English description ={{{en description|}}} | | Has English description = <!--{{{en description|}}}--> | ||
| Has skill trigger timing ={{{jp trigger timing|}}} | | Has skill trigger timing ={{{jp trigger timing|}}} | ||
| Has skill proc chance ={{{proc chance|0}}} | | Has skill proc chance ={{{proc chance|0}}} | ||
| Has preformatted English description ={{#var:skill desc}}|+sep=<br> | | Has preformatted English description = <!--{{#var:skill desc}}|+sep=<br>--> | ||
| Has raw English description ={{#var:raw skill desc}}|+sep=<br> | | Has raw English description ={{#var:raw skill desc}}|+sep=<br> | ||
| Has evolved skill={{#arrayprint:skill evo list}}|+sep=, | | Has evolved skill={{#arrayprint:skill evo list}}|+sep=, | ||
Line 95: | Line 101: | ||
}}<!-- end of subobject creation | }}<!-- end of subobject creation | ||
-->{{#ifexpr:{{#var:skill effect num|1}} > 1|[[Category:Skill with additional effects]]{{#if:{{#pos:{{{jp description|}}}|Hidden:}}||{{#subobject:{{#explode:{{#ask: [[Has game context::Skill]] [[Has ID::{{#var:skill id|}}]] [[Has effect ID::1]] |link=none |limit=1 |headers=hide |searchlabel=}}|#|1}} | -->{{#ifexpr:{{#var:skill effect num|1}} > 1|[[Category:Skill with additional effects]]{{#if:{{#pos:{{{jp description|}}}|Hidden:}}||{{#subobject:{{#explode:{{#ask: [[Has game context::Skill]] [[Has ID::{{#var:skill id|}}]] [[Has effect ID::1]] |link=none |limit=1 |headers=hide |searchlabel=}}|#|1}} | ||
| Has preformatted English description = {{#var:skill desc}} | <!--| Has preformatted English description = {{#var:skill desc}} | ||
| Has raw English description = {{#var:raw skill desc}} | | Has raw English description = {{#var:raw skill desc}}--> | ||
}}}}}}{{#vardefine:precursor skill en name| | }}}}}}{{#vardefine:precursor skill en name| | ||
{{#if: {{#var:precursor skill subobj|}} | {{#if: {{#var:precursor skill subobj|}} | ||
Line 108: | 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 121: | Line 127: | ||
<th>Effect</th> | <th>Effect</th> | ||
<td>{{#if: {{{en description|}}} | <td>{{#if: {{{en description|}}} | ||
|{{{en description}}} | |{{#if:{{Skill trigger timing|{{{jp trigger timing|?}}}}}<!--defining variables-->}} {{#masterdata:SkillDescription|{{#var:skill id|0}}|effect={{{effect|1}}}}} <!--{{{en description}}}--> | ||
|{{{jp description|?}}} | |{{{jp description|?}}} | ||
}}</td> | }}</td> | ||
Line 132: | Line 138: | ||
<tr> | <tr> | ||
<th>Evolution(s)</th> | <th>Evolution(s)</th> | ||
<td>{{#arrayprint:skill evo list|, |@@@@|[[@@@@|{{#show:@@@@|?Has English name}}]]}}</td> | <td>{{#arrayprint:skill evo list|, |@@@@|[[@@@@|{{#if:{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has English name}}|{{#show:@@@@|?Has Japanese name}}}}]]}}</td> | ||
<!--<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> | </tr> | ||
Line 160: | 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 | ||
|keywords=tokyo,afterschool,summoners,housamo,wiki,「東京放課後サモナーズ」,東京放課後サモナーズ,{{#var:skill en name|{{{en name|}}}}},{{#var:skill jp name|{{{jp name|}}}}} | |keywords=tokyo,afterschool,summoners,housamo,wiki,「東京放課後サモナーズ」,東京放課後サモナーズ,{{#var:skill en name|{{{en name|}}}}},{{#var:skill jp name|{{{jp name|}}}}} | ||
|og:title={{#var:skill en name|{{{en name|{{#var:skill jp name|{{{jp name|}}}}}}}}}} - Tokyo Afterschool Summoners Wiki | |og:title={{#var:skill en name|{{{en name|{{#var:skill jp name|{{{jp name|}}}}}}}}}} - Tokyo Afterschool Summoners Wiki | ||
}}}}}}}}</includeonly><noinclude | }}}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude> | ||
}} | |||
</noinclude> |