Difference between revisions of "Template:Transient extended infobox"

Put the equippable ar template in
(Put the equippable ar template in)
(5 intermediate revisions by the same user not shown)
Line 435: Line 435:
{{#if:{{{skill id 4|}}}|
{{#if:{{{skill id 4|}}}|
{{#vardefine:base skill 4 desc|{{#masterdata:Skill|{{{skill id 4}}}|effects}}}}{{#vardefine:base skill 4 raw desc|{{#replace:{{#tag:strip|{{#var:base skill 4 desc}}}}}}|;|\;}}
{{#vardefine:base skill 4 desc|{{#masterdata:Skill|{{{skill id 4}}}|effects}}}}{{#vardefine:base skill 4 raw desc|{{#replace:{{#tag:strip|{{#var:base skill 4 desc}}}}}}|;|\;}}
}}
{{#ifeq:{{#var:availability|}}|Current|
{{#arraydefine:no restriction ar|{{#ask:
[[Has game context::AR Equipment]]
[[Has restrictions::No restrictions]]
|?Has ID #|mainlabel=-|link=none|headers=hide
}}}}{{#arraydefine:transient ar|{{#ask:
[[Has game context::AR Equipment]]
[[Has restrictions::{{{en name|{{{jp name|?}}}}}}]]
|?Has ID #|mainlabel=-|link=none|headers=hide
}}}}{{#arraydefine:weapon ar|{{#ask:
[[Has game context::AR Equipment]]
[[Has restrictions::{{Weapon type|{{#var:weapon type|?}}}}]]
|?Has ID #|mainlabel=-|link=none|headers=hide
}}}}{{#arraydefine:attribute ar|{{#ask:
[[Has game context::AR Equipment]]
[[Has restrictions::{{Energy|{{#var:energy|?}}}}]]
|?Has ID #|mainlabel=-|link=none|headers=hide
}}}}{{#arrayunion:available ar|no restriction ar|transient ar|weapon ar|attribute ar}}
}}
}}
{{#vardefine:strategy|{{#ifexist:{{{en name|}}}/Strategy|{{{en name|}}}/Strategy|}}}}
{{#vardefine:strategy|{{#ifexist:{{{en name|}}}/Strategy|{{{en name|}}}/Strategy|}}}}
Line 1,013: Line 994:
     </tr>
     </tr>
     {{#ifeq:{{#var:availability|}}|Current|<tr>
     {{#ifeq:{{#var:availability|}}|Current|<tr>
       <td colspan="3"><div class="toccolours mw-collapsible mw-collapsed" style="width:800px; overflow:auto;">
       <td colspan="3">{{Equippable AR Equipment|{{{en name|{{{jp name|?}}}}}};{{Weapon type|{{#var:weapon type|?}}}};{{Energy|{{#var:energy|?}}}}}}</td>
      <div style="font-weight:bold;line-height:1.6;">Show available ARs</div>
      <div class="mw-collapsible-content">
{{#arrayprint:available ar|<br>|@@@@|{{AR Equipment|id=@@@@}}}}
      </div></div></td>
     </tr>}}
     </tr>}}
     </table>
     </table>
Line 1,087: Line 1,064:
<tr>
<tr>
       <th>Gate</th>
       <th>Gate</th>
       <td>[[{{Gate|{{{gate}}}|format=name}}]]</td>
       <td>{{#ifeq:{{{gate|}}}|Unknown|Unknown|[[{{Gate|{{{gate}}}|format=name}}]]}}</td>
</tr>
</tr>
     }}
     }}
trusted
5,894

edits