Difference between revisions of "Template:Transient extended infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(p)
Line 264: Line 264:
  {{#if: {{#var:base skill 4 subobj|}}
  {{#if: {{#var:base skill 4 subobj|}}
  |{{#replace:{{#tag:strip|{{#show: {{#var:base skill 4 subobj}} |?Has preformatted English description }}}}|;|\;}}
  |{{#replace:{{#tag:strip|{{#show: {{#var:base skill 4 subobj}} |?Has preformatted English description }}}}|;|\;}}
}}
}}
{{#vardefine:charge skill subobj|
{{#if: {{{charge skill|}}}
|{{#ask:
  [[Has game context::Skill]]
  [[Has Japanese name::{{{charge skill|}}}]]
  [[Has effect ID::1]]
  |link=none
  |limit=1
  |headers=hide
  |searchlabel=
  }}
}}
}}
{{#vardefine:charge skill en name|
{{#if: {{#var:charge skill subobj|}}
|{{#show: {{#var:charge skill subobj}} |?Has English name }}
}}
}}
{{#vardefine:charge skill desc|
{{#if: {{#var:charge skill subobj|}}
|{{#show: {{#var:charge skill subobj}} |?Has preformatted English description }}
}}
}}
{{#vardefine:charge skill raw desc|
{{#if: {{#var:charge skill subobj|}}
|{{#replace:{{#tag:strip|{{#show: {{#var:charge skill subobj}} |?Has preformatted English description }}}}|;|\;}}
  }}
  }}
}}
}}
Line 773: Line 805:
     </tr>
     </tr>
     <tr>
     <tr>
<!--
       <th>{{#if:{{{charge skill name|}}}|{{#if:{{{charge skill jp-en name|}}}|<u><span title="{{{charge skill jp-en name}}}">{{{charge skill name}}}</span></u>|{{{charge skill name}}}}}|?}}</th>
       <th>{{#if:{{{charge skill name|}}}|{{#if:{{{charge skill jp-en name|}}}|<u><span title="{{{charge skill jp-en name}}}">{{{charge skill name}}}</span></u>|{{{charge skill name}}}}}|?}}</th>
       <td>{{#if:{{{charge skill name|}}}|{{{charge skill description}}}|?}}</td>
       <td>{{#if:{{{charge skill name|}}}|{{{charge skill description}}}|?}}</td>
-->
      <th>{{#if:{{{charge skill name|}}}|{{#if:{{{charge skill jp-en name|}}}|<u><span title="{{{charge skill jp-en name}}}">{{{charge skill name}}}</span></u>|{{{charge skill name}}}}}|?}}</th>
      <td>{{#var:charge skill desc|{{{charge skill description|?}}}}}</td>
       <td style="width:50px; padding: 0px;">[[File:Weapon Spread {{#var:charge skill weapon|}}.png|50px]]{{#if:{{{charge skill multiplier|}}}|<br><div style='text-align:center'>{{{charge skill multiplier}}}x</div>}}</td>
       <td style="width:50px; padding: 0px;">[[File:Weapon Spread {{#var:charge skill weapon|}}.png|50px]]{{#if:{{{charge skill multiplier|}}}|<br><div style='text-align:center'>{{{charge skill multiplier}}}x</div>}}</td>
     </tr>
     </tr>

Revision as of 20:18, 27 December 2018

Description

This templates creates an infobox and subobject for a Transient. Please do not directly invoke this template.