trusted
5,922
edits
SurtrFan8511 (talk | contribs) (Undo revision 35616 by SurtrFan8511 (talk) I'll find a different way to test it idk) |
SurtrFan8511 (talk | contribs) (take 2) |
||
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,111: | Line 1,130: | ||
<div>{{#if:{{{skin artwork|}}}|{{#tag:galleryscript|{{#ifexist:File:{{{artwork|}}}.png|{{{artwork}}}|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full|}}}};{{{skin artwork|}}}|number={{#var:transientnumber}}}}|}} | <div>{{#if:{{{skin artwork|}}}|{{#tag:galleryscript|{{#ifexist:File:{{{artwork|}}}.png|{{{artwork}}}|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full|}}}};{{{skin artwork|}}}|number={{#var:transientnumber}}}}|}} | ||
{{#if:{{{cdn skin artwork|}}}|{{#tag:masterdataskins|{{{cdn skin artwork|}}}|selector-chara-relations=#charaRelations{{{chara id|0}}}|voice={{#var:transient voice filename|}}|selector-fg=div.transient{{#var:transientnumber}} > .artwork > img|selector-icon=td.icon.transient{{#var:transientnumber}} > img|flags={{#var:transient voice condition|}}}}{{#vardefine:transient voice filename|}}{{#vardefine:transient voice condition|}}|}}</div> | {{#if:{{{cdn skin artwork|}}}|{{#tag:masterdataskins|{{{cdn skin artwork|}}}|selector-chara-relations=#charaRelations{{{chara id|0}}}|voice={{#var:transient voice filename|}}|selector-fg=div.transient{{#var:transientnumber}} > .artwork > img|selector-icon=td.icon.transient{{#var:transientnumber}} > img|flags={{#var:transient voice condition|}}}}{{#vardefine:transient voice filename|}}{{#vardefine:transient voice condition|}}|}}</div> | ||
</div></div>{{#ifexpr:{{{charge skill id|0}}}>0|{{#masterdata:Skill|{{{charge skill id|0}}}|format=blank}}}}{{#arraydefine:base skill 1 evo|}}{{#arraydefine:base skill 2 evo|}}{{#arraydefine:base skill 3 evo|}}{{#arraydefine:base skill 4 evo|}}{{#vardefine:has skill evo|}}<!-- | </div></div>{{#ifexpr:{{{charge skill id|0}}}>0|{{#masterdata:Skill|{{{charge skill id|0}}}|format=blank}}}}{{#arraydefine:base skill 1 evo|}}{{#arraydefine:base skill 2 evo|}}{{#arraydefine:base skill 3 evo|}}{{#arraydefine:base skill 4 evo|}}{{#vardefine:has skill evo|}}<!--list available ARs at the end I guess-->{|class="mw-collapsible mw-collapsed" | ||
|- | |||
| Show applicable ARs | |||
|- | |||
| {{#arrayprint:available ar|<br>|@@@@|{{AR Equipment|id=@@@@}}}} | |||
|}<!-- | |||
auto categorization | auto categorization |