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"
m |
|||
Line 7: | Line 7: | ||
-->| align="center" | [[{{{1}}}|{{Rarity|{{{4|}}}|{{{3|}}}}}]] {{#ifeq:{{#var:show type}}|n||{{!!}} align="center" {{!}} {{#if:{{{7|}}}|{{{7}}} {{{5|}}}|{{#ifeq:{{{5|}}}|Weapon|{{{6|}}}|{{{5|}}}}} }} | -->| align="center" | [[{{{1}}}|{{Rarity|{{{4|}}}|{{{3|}}}}}]] {{#ifeq:{{#var:show type}}|n||{{!!}} align="center" {{!}} {{#if:{{{7|}}}|{{{7}}} {{{5|}}}|{{#ifeq:{{{5|}}}|Weapon|{{{6|}}}|{{{5|}}}}} }} | ||
}} {{#ifeq:{{#var:show lv}}|n||{{!!}} align="center" {{!}} {{{8|}}} | }} {{#ifeq:{{#var:show lv}}|n||{{!!}} align="center" {{!}} {{{8|}}} | ||
− | }} {{#ifeq:{{#var:show phys | + | }} {{#ifeq:{{#var:show phys attack}}|y|{{!!}} align="center" {{!}} {{{10|}}} |
− | }} {{#ifeq:{{#var:show mag | + | }} {{#ifeq:{{#var:show mag attack}}|y|{{!!}} align="center" {{!}} {{{11|}}} |
− | }} {{#ifeq:{{#var:show | + | }} {{#ifeq:{{#var:show independent attack}}|y|{{!!}} align="center" {{!}} {{{12|}}} |
}} {{#ifeq:{{#var:show phys defense}}|y|{{!!}} align="center" {{!}} {{{13|}}} | }} {{#ifeq:{{#var:show phys defense}}|y|{{!!}} align="center" {{!}} {{{13|}}} | ||
}} {{#ifeq:{{#var:show mag defense}}|y|{{!!}} align="center" {{!}} {{{14|}}} | }} {{#ifeq:{{#var:show mag defense}}|y|{{!!}} align="center" {{!}} {{{14|}}} | ||
Line 17: | Line 17: | ||
}} {{#ifeq:{{#var:show spirit}}|y|{{!!}} align="center" {{!}} {{{18|}}} | }} {{#ifeq:{{#var:show spirit}}|y|{{!!}} align="center" {{!}} {{{18|}}} | ||
}} {{#ifeq:{{#var:show exorcism}}|y|{{!!}} align="center" {{!}} {{{19|}}} | }} {{#ifeq:{{#var:show exorcism}}|y|{{!!}} align="center" {{!}} {{{19|}}} | ||
− | }} {{#ifeq:{{#var:show attributes}}|n||{{#ifeq:{{#var:counter}}|0||{{!!}} align="center" {{!}} {{#vardefine:br|}}{{#if:{{{10|}}}|{{#if:{{#var:show phys | + | }} {{#ifeq:{{#var:show attributes}}|n||{{#ifeq:{{#var:counter}}|0||{{!!}} align="center" {{!}} {{#vardefine:br|}}{{#if:{{{10|}}}|{{#if:{{#var:show phys attack}}||{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|phys attack|{{{10}}}}}}} |
− | }}{{#if:{{{11|}}}|{{#if:{{#var:show mag | + | }}{{#if:{{{11|}}}|{{#if:{{#var:show mag attack}}||{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|mag attack|{{{11}}}}}}} |
− | }}{{#if:{{{12|}}}|{{#if:{{#var:show | + | }}{{#if:{{{12|}}}|{{#if:{{#var:show independent attack}}||{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|independent attack|{{{12}}}}}}} |
}}{{#if:{{{13|}}}|{{#if:{{#var:show phys defense}}||{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|pdef|{{{13}}}}}}} | }}{{#if:{{{13|}}}|{{#if:{{#var:show phys defense}}||{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|pdef|{{{13}}}}}}} | ||
}}{{#if:{{{14|}}}|{{#if:{{#var:show mag defense}}||{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|mdef|{{{14}}}}}}} | }}{{#if:{{{14|}}}|{{#if:{{#var:show mag defense}}||{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|mdef|{{{14}}}}}}} | ||
Line 31: | Line 31: | ||
<!-- | <!-- | ||
Other | Other | ||
− | -->| align="left" | {{#vardefine:br|}}{{#ifeq:{{#var: show phys | + | -->| align="left" | {{#vardefine:br|}}{{#ifeq:{{#var: show phys attack}}|other| {{#if:{{{10|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|phys attack|{{{10}}}}}}}|{{#if:{{#var: show phys attack}}||{{#ifeq:{{#var: show attributes}}|n| {{#if:{{{10|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|phys attack|{{{10}}}}}}} |}}}} |
− | }}{{#ifeq:{{#var: show mag | + | }}{{#ifeq:{{#var: show mag attack}}|other| {{#if:{{{11|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|mag attack|{{{11}}}}}}}|{{#if:{{#var: show mag attack}}||{{#ifeq:{{#var: show attributes}}|n| {{#if:{{{11|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|mag attack|{{{11}}}}}}} |}}}} |
− | }}{{#ifeq:{{#var: show | + | }}{{#ifeq:{{#var: show independent attack}}|other| {{#if:{{{12|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|independent attack|{{{12}}}}}}}|{{#if:{{#var: show independent attack}}||{{#ifeq:{{#var: show attributes}}|n| {{#if:{{{12|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|independent attack|{{{12}}}}}}} |}}}} |
}}{{#ifeq:{{#var: show phys defense}}|other| {{#if:{{{13|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|phys defense|{{{13}}}}}}}|{{#if:{{#var: show phys defense}}||{{#ifeq:{{#var: show attributes}}|n| {{#if:{{{13|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|phys defense|{{{13}}}}}}} |}}}} | }}{{#ifeq:{{#var: show phys defense}}|other| {{#if:{{{13|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|phys defense|{{{13}}}}}}}|{{#if:{{#var: show phys defense}}||{{#ifeq:{{#var: show attributes}}|n| {{#if:{{{13|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|phys defense|{{{13}}}}}}} |}}}} | ||
}}{{#ifeq:{{#var: show mag defense}}|other| {{#if:{{{14|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|mag defense|{{{14}}}}}}}|{{#if:{{#var: show mag defense}}||{{#ifeq:{{#var: show attributes}}|n| {{#if:{{{14|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|mag defense|{{{14}}}}}}} |}}}} | }}{{#ifeq:{{#var: show mag defense}}|other| {{#if:{{{14|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|mag defense|{{{14}}}}}}}|{{#if:{{#var: show mag defense}}||{{#ifeq:{{#var: show attributes}}|n| {{#if:{{{14|}}}|{{#if:{{#var:br}}|{{#var:br}}|{{#vardefine:br|<br>}}}}{{attribute|mag defense|{{{14}}}}}}} |}}}} |
Revision as of 10:53, 29 January 2016
Description
This template creates a table row using query results. Used by Template:Equipment list and Template:Equipment list row.