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
(icon categorization)
Line 3: Line 3:
 
<!--
 
<!--
 
     Icon
 
     Icon
-->| align="center" | {{#ifexist:{{{2|}}} | [[{{{2}}}|28px]] | [[Image:No_Icon.png|link={{canonicalurl:Special:Upload|wpDestFile={{urlencode:{{{1}}}.png}}&wpUploadDescription={{urlencode:[[Category:{{#switch: {{lc:{{{5|}}}}}
+
-->| align="center" | {{#if:{{{2|}}} | [[{{{2}}}|28px]] | [[Image:No_Icon.png|link={{canonicalurl:Special:Upload|wpDestFile={{urlencode:{{{1}}}.png}}&wpUploadDescription={{urlencode:[[Category:{{#switch: {{lc:{{{5|}}}}}
 
       | weapon = {{#arraymap:{{{6}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 
       | weapon = {{#arraymap:{{{6}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}|&#32;}}
 
       | head | head/shoulder | shoulder | top | bottom | belt | shoes = {{#switch:{{{7|}}}
 
       | head | head/shoulder | shoulder | top | bottom | belt | shoes = {{#switch:{{{7|}}}
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}}}}{{Stat|@@@|{{#var:@@@}} }} |}}
+
--> {{#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:@@@
 +
| 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

Revision as of 15:07, 14 March 2016

Description

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