Difference between revisions of "Template:Skills that use effect"

round 2 mwahahaha
(round 2 mwahahaha)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#vardefine:self-skill|{{Skill list|tag={{{1|}}}|target=self|type=Base Skill|format={{{format|large}}}|show={{{show|}}}}}
<includeonly><onlyinclude>{{Skill list table|format={{{format|small}}}|rows=type|columns=target|tag={{{1|}}}|show={{{show|}}}}}</includeonly></onlyinclude><noinclude>
}}{{#vardefine:ally-skill|{{Skill list|tag={{{1|}}}|target=allies|type=Base Skill|format={{{format|large}}}|show={{{show|}}}}}
}}{{#vardefine:enemy-skill|{{Skill list|tag={{{1|}}}|target=enemies|type=Base Skill|format={{{format|large}}}|show={{{show|}}}}}
}}{{#vardefine:self-cs|{{Skill list|tag={{{1|}}}|target=self|type=Charge Skill|format={{{format|large}}}|show={{{show|}}}}}
}}{{#vardefine:ally-cs|{{Skill list|tag={{{1|}}}|target=allies|type=Charge Skill|format={{{format|large}}}|show={{{show|}}}}}
}}{{#vardefine:enemy-cs|{{Skill list|tag={{{1|}}}|target=enemies|type=Charge Skill|format={{{format|large}}}|show={{{show|}}}}}
}}{{#vardefine:self-ar|{{Skill list|tag={{{1|}}}|target=self|type=AR Skill|format={{{format|large}}}|show={{{show|}}}}}
}}{{#vardefine:ally-ar|{{Skill list|tag={{{1|}}}|target=allies|type=AR Skill|format={{{format|large}}}|show={{{show|}}}}}
}}{{#vardefine:enemy-ar|{{Skill list|tag={{{1|}}}|target=enemies|type=AR Skill|format={{{format|large}}}|show={{{show|}}}}}
}}{{#vardefine:column-1|{{#ifexpr:{{#if:{{#var:self-skill}}|1|0}} = 1 OR {{#if:{{#var:self-cs}}|1|0}} = 1 OR {{#if:{{#var:self-ar}}|1|0}} = 1|true|}}}}{{#vardefine:column-2|{{#ifexpr:{{#if:{{#var:ally-skill}}|1|0}} = 1 OR {{#if:{{#var:ally-cs}}|1|0}} = 1 OR {{#if:{{#var:ally-ar}}|1|0}} = 1|true|}}}}{{#vardefine:column-3|{{#ifexpr:{{#if:{{#var:enemy-skill}}|1|0}} = 1 OR {{#if:{{#var:enemy-cs}}|1|0}} = 1 OR {{#if:{{#var:enemy-ar}}|1|0}} = 1|true|}}}}{{#vardefine:row-1|{{#ifexpr:{{#if:{{#var:self-skill}}|1|0}} = 1 OR {{#if:{{#var:ally-skill}}|1|0}} = 1 OR {{#if:{{#var:enemy-skill}}|1|0}} = 1|true|}}}}{{#vardefine:row-2|{{#ifexpr:{{#if:{{#var:self-cs}}|1|0}} = 1 OR {{#if:{{#var:ally-cs}}|1|0}} = 1 OR {{#if:{{#var:enemy-cs}}|1|0}} = 1|true|}}}}{{#vardefine:row-3|{{#ifexpr:{{#if:{{#var:self-ar}}|1|0}} = 1 OR {{#if:{{#var:ally-ar}}|1|0}} = 1 OR {{#if:{{#var:enemy-ar}}|1|0}} = 1|true|}}}}{{#switch:{{{format|large}}}
| small = <table class="wikitable" style=">
<tr>
<th></th>
{{#if:{{#var:column-1}}|<th>Self</th>
}}{{#if:{{#var:column-2}}|<th>Allies</th>
}}{{#if:{{#var:column-3}}|<th>Enemies</th>}}
</tr>
{{#if:{{#var:row-1}}|<tr>
<th>Base Skills</th>{{#if:{{#var:column-1}}|<td style="vertical-align:top">{{#var:self-skill}}</td>
}}{{#if:{{#var:column-2}}|<td style="vertical-align:top">{{#var:ally-skill}}</td>
}}{{#if:{{#var:column-3}}|<td style="vertical-align:top">{{#var:enemy-skill}}</td>}}
</tr>}}
{{#if:{{#var:row-2}}|<tr>
<th>Charge Skills</th>{{#if:{{#var:column-1}}|<td style="vertical-align:top">{{#var:self-cs}}</td>
}}{{#if:{{#var:column-2}}|<td style="vertical-align:top">{{#var:ally-cs}}</td>
}}{{#if:{{#var:column-3}}|<td style="vertical-align:top">{{#var:enemy-cs}}</td>}}
</tr>}}
{{#if:{{#var:row-3}}|<tr>
<th>AR Skills</th>{{#if:{{#var:column-1}}|<td style="vertical-align:top">{{#var:self-ar}}</td>
}}{{#if:{{#var:column-2}}|<td style="vertical-align:top">{{#var:ally-ar}}</td>
}}{{#if:{{#var:column-3}}|<td style="vertical-align:top">{{#var:enemy-ar}}</td>}}
</tr>}}
</table>
| large = {{#if:{{#var:row-1}}|<h2>Skills</h2>
{{#if:{{#var:self-skill}}|<h3>Self</h3>{{#var:self-skill}}
}}{{#if:{{#var:ally-skill}}|<h3>Allies</h3>{{#var:ally-skill}}
}}{{#if:{{#var:enemy-skill}}|<h3>Enemies</h3>{{#var:enemy-skill}}
}}}}{{#if:{{#var:row-2}}|<h2>Charge Skills</h2>
{{#if:{{#var:self-cs}}|<h3>Self</h3>{{#var:self-cs}}
}}{{#if:{{#var:ally-cs}}|<h3>Allies</h3>{{#var:ally-cs}}
}}{{#if:{{#var:enemy-cs}}|<h3>Enemies</h3>{{#var:enemy-cs}}
}}}}{{#if:{{#var:row-3}}|<h2>AR Skills</h2>
{{#if:{{#var:self-ar}}|<h3>Self</h3>{{#var:self-ar}}
}}{{#if:{{#var:ally-ar}}|<h3>Allies</h3>{{#var:ally-ar}}
}}{{#if:{{#var:enemy-ar}}|<h3>Enemies</h3>{{#var:enemy-ar}}
}}}}
}}</includeonly></onlyinclude><noinclude>
<pre>{{Skills that use effect|Weapon resist Blow|format=small|show=potency}}</pre>
<pre>{{Skills that use effect|Weapon resist Blow|format=small|show=potency}}</pre>
{{Skills that use effect|Weapon resist Blow|format=small|show=potency}}
{{Skills that use effect|Weapon resist Blow|format=small|show=potency}}
Line 51: Line 5:
<pre>{{Skills that use effect|Decrease CP|format=small|show=value}}</pre>
<pre>{{Skills that use effect|Decrease CP|format=small|show=value}}</pre>
{{Skills that use effect|Decrease CP|format=small|show=value}}
{{Skills that use effect|Decrease CP|format=small|show=value}}


<pre>{{Skills that use effect|Add Coin|format=large}}</pre>
<pre>{{Skills that use effect|Add Coin|format=large}}</pre>
{{Skills that use effect|Add Coin|format=large}}
{{Skills that use effect|Add Coin|format=large}}
</noinclude>
</noinclude>
trusted
5,894

edits