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:Set list result format"
(use preformatted text properties) |
|||
Line 19: | Line 19: | ||
-->{{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#ifeq:{{#var:show @@@}}|y|{{#vardefine:queryresult| | -->{{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#ifeq:{{#var:show @@@}}|y|{{#vardefine:queryresult| | ||
− | |||
{{#vardefine:br|}} | {{#vardefine:br|}} | ||
− | {{# | + | {{#vardefine:text lookup|{{#show:{{{2}}}#@@@pcseteffect|?Has preformatted base stats text|link=none|default=}} |
− | {{#if:{{#var: | + | }}{{#if:{{#var:text lookup}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:text lookup}} |
− | + | }}{{#vardefine:text lookup|{{#show:{{{2}}}#@@@pcseteffect|?Has preformatted stat bonuses text|link=none|default=}} | |
− | | | + | }}{{#if:{{#var:text lookup}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:text lookup}} |
− | {{#if:{{#var: | + | }}{{#vardefine:text lookup|{{#show:{{{2}}}#@@@pcseteffect|?Has preformatted skill bonuses text|link=none|default=}} |
− | + | }}{{#if:{{#var:text lookup}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:text lookup}} | |
− | + | }}{{#vardefine:text lookup|{{#show:{{{2}}}#@@@pcseteffect|?Has effect description|link=none|default=}} | |
− | + | }}{{#if:{{#var:text lookup}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:text lookup}} | |
− | + | }} | |
− | |||
− | |||
− | }}<!-- end vardefine --> | + | }}<!-- end vardefine --><nowiki></nowiki> |
− | {{ | + | {{!}} {{#if:{{#var:queryresult|}}|<div class="compact">{{#var:queryresult}}</div>|<center>—</center>}} |
}}<!-- end ifeq -->|}} <!-- end arraymap --> | }}<!-- end ifeq -->|}} <!-- end arraymap --> | ||
| <!-- | | <!-- | ||
Line 42: | Line 39: | ||
-->{{!!}} {{#vardefine:seteffectbr|}}{{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#vardefine:queryresult| | -->{{!!}} {{#vardefine:seteffectbr|}}{{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#vardefine:queryresult| | ||
− | |||
{{#vardefine:br|}} | {{#vardefine:br|}} | ||
− | {{# | + | {{#vardefine:text lookup|{{#show:{{{2}}}#@@@pcseteffect|?Has preformatted base stats text|link=none|default=}} |
− | {{#if:{{#var: | + | }}{{#if:{{#var:text lookup}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:text lookup}} |
− | + | }}{{#vardefine:text lookup|{{#show:{{{2}}}#@@@pcseteffect|?Has preformatted stat bonuses text|link=none|default=}} | |
− | | | + | }}{{#if:{{#var:text lookup}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:text lookup}} |
− | {{#if:{{#var: | + | }}{{#vardefine:text lookup|{{#show:{{{2}}}#@@@pcseteffect|?Has preformatted skill bonuses text|link=none|default=}} |
− | + | }}{{#if:{{#var:text lookup}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:text lookup}} | |
− | + | }}{{#vardefine:text lookup|{{#show:{{{2}}}#@@@pcseteffect|?Has effect description|link=none|default=}} | |
− | + | }}{{#if:{{#var:text lookup}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:text lookup}} | |
− | + | }} | |
− | |||
}}<!-- end vardefine --> | }}<!-- end vardefine --> | ||
{{#if:{{#var:queryresult|}}|{{#if:{{#var:seteffectbr}}|<br>|{{#vardefine:seteffectbr|1}}}}<nowiki></nowiki> | {{#if:{{#var:queryresult|}}|{{#if:{{#var:seteffectbr}}|<br>|{{#vardefine:seteffectbr|1}}}}<nowiki></nowiki> | ||
− | '''[@@@]'''<br>{{#var:queryresult}}}} | + | '''[@@@]'''<br><div class="compact">{{#var:queryresult}}</div>}} |
|}} | |}} | ||
}} | }} |
Revision as of 18:36, 26 April 2016
Description
This template creates a table row using query results. Used by Template:Set list and Template:Set list row.