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"
(icon categorization) |
|||
Line 3: | Line 3: | ||
<!-- | <!-- | ||
Icon | Icon | ||
− | -->| align="center" | {{# | + | -->| 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:@@@}}}}| }} | | weapon = {{#arraymap:{{{6}}}|<nowiki> </nowiki>|@@@|{{ucfirst:{{lc:@@@}}}}| }} | ||
| 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. Atk. | ||
+ | | weapon magical attack = M. Atk. | ||
+ | | independent attack = I. Atk. | ||
+ | | equipment physical defense = P. Def. | ||
+ | | equipment magical defense = M. Def. | ||
+ | | strength = STR | ||
+ | | intelligence = INT | ||
+ | | vitality = VIT | ||
+ | | spirit = SPR | ||
+ | | exorcism = EXO}} {{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.