Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!

Difference between revisions of "Template:Equipment list result format"

From DFO World Wiki
Jump to: navigation, search
m
(use new properties, remove Equipment effect retrieval)
Line 1: Line 1:
<includeonly>{{#css:User:Gardios/Compact.css}}{{Equipment effect retrieval|{{{1}}}}}<!--
+
<includeonly>{{#css:User:Gardios/Compact.css}}<!--
 
-->|-
 
-->|-
 
<!--
 
<!--
Line 22: Line 22:
 
}}<!--
 
}}<!--
 
     Base Stats
 
     Base Stats
--> {{#ifeq:{{#var:show base stats}}|y|{{!!}} align="center" {{!}} {{#vardefine:br|}}{{#arraymap:{{lc:{{Stat enumeration|base=only}}}}|,|@@@|{{#if:{{#var:@@@}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#switch:@@@
+
--> {{#ifeq:{{#var:show base stats}}|y|{{!!}} align="center" {{!}} {{{11|}}} }}<!--
| weapon physical attack = P.&nbsp;Atk.
 
| weapon magical attack = M.&nbsp;Atk.
 
| independent attack = I.&nbsp;Atk.
 
| equipment physical defense = P.&nbsp;Def.
 
| equipment magical defense = M.&nbsp;Def.
 
| strength = STR
 
| intelligence = INT
 
| vitality = VIT
 
| spirit = SPR
 
| exorcism = EXO}}&nbsp;{{Stat|@@@|{{#var:@@@}}|format=value}} |}}
 
|}} }}<!--
 
 
     Skill Bonus
 
     Skill Bonus
--> {{#ifeq:{{#var:show skill bonus}}|y|{{!!}} align="left" {{!}}
+
--> {{#ifeq:{{#var:show skill bonus}}|y|{{!!}} align="left" {{!}} {{{13|}}} }}
{{#vardefine:br|}}{{#if:{{#var:skill level bonus}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:skill level bonus}}
 
|}}{{#if:{{#var:skill range level bonus}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:skill range level bonus}}
 
|}}
 
}}
 
 
<!--
 
<!--
 
     Other
 
     Other
 
-->| align="left" | {{#vardefine:br|}}
 
-->| align="left" | {{#vardefine:br|}}
 
<div class="compact">{{#ifeq:{{#var:show base stats}}|other|
 
<div class="compact">{{#ifeq:{{#var:show base stats}}|other|
{{#arraymap:{{lc:{{Stat enumeration|base=only}}}}|,|@@@|
+
{{#if:{{{10|}}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{{10}}} |}}
{{#if:{{#var:@@@}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{Stat|@@@|{{#var:@@@}} }} |}}
+
|}}{{#if:{{{12|}}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{{12}}}
|}}
 
|}}{{#if:{{#var:inflicts elemental damage}}|{{#arraymap:{{#var:inflicts elemental damage}}|,|@@@|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}Inflict @@@ Damage
 
|}}
 
}}{{#arraymap:{{lc:{{Stat enumeration|base=exclude}}}}|,|@@@|
 
{{#if:{{#var:@@@}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{Stat|@@@|{{#var:@@@}} }} |}}
 
 
|}}{{#ifeq:{{#var:show skill bonus}}|other|
 
|}}{{#ifeq:{{#var:show skill bonus}}|other|
{{#if:{{#var:skill level bonus}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:skill level bonus}}
+
{{#if:{{{13|}}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{{13}}}
|}}{{#if:{{#var:skill range level bonus}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:skill range level bonus}}
 
 
|}}
 
|}}
|}}{{#if:{{#var:effect description}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}
+
|}}{{#if:{{{14|}}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}
{{#var:effect description}}
+
{{{14}}}
|}}{{#if:{{#var:flavor text}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}''{{#var:flavor text}}''
+
|}}{{#if:{{{15|}}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}''{{{15}}}''
 
|}}</div>
 
|}}</div>
 
</includeonly><noinclude>== Description ==
 
</includeonly><noinclude>== Description ==

Revision as of 15:37, 30 March 2016

Description

This template creates a table row using query results. Used by Template:Equipment list and Template:Equipment list row.