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"

From DFO World Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#if: {{#arraymap:{{#var:checked set}}|,|@@@|{{#ifeq:@@@|{{{2}}}|checked|}}|}} |<!-- set already listed, do nothing --> |<!-- set not yet listed, display it -->{...")
 
Line 6: Line 6:
 
     Set Name
 
     Set Name
 
-->{{!}} [[{{{2}}}|{{#show:{{{2}}}|?Has name}}]]
 
-->{{!}} [[{{{2}}}|{{#show:{{{2}}}|?Has name}}]]
{{#if: {{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#ifeq:{{#var:show @@@}}|y|y}}|}}
+
<!--
| <!-- columns set -->{{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#ifeq:{{#var:show @@@}}|y| {{!!}} {{#ask:
+
    Effect Columns
[[Is set effect of set::{{{2}}}]]
+
-->{{#if: {{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#ifeq:{{#var:show @@@}}|y|y}}|}}
[[Has required number of set pieces::@@@]]
+
| <!--
|?
+
    Effect Columns: columns set
|?
+
-->{{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#ifeq:{{#var:show @@@}}|y| {{!!}} {{#vardefine:queryresult|
|?
+
 
|?
+
{{Equipment effect retrieval|{{{2}}}#@@@pcseteffect}}
|?
+
{{#vardefine:br|}}
|?
+
{{#arraymap:{{lc:{{Stat enumeration|base=only}}}}|,|@@@|
|?
+
{{#if:{{#var:@@@}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{Stat|@@@|{{#var:@@@}} }} |}}
|?
+
|}}{{#if:{{#var:inflicts elemental damage}}|{{#arraymap:{{#var:inflicts elemental damage}}|,|@@@|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}Inflict @@@ Damage|}}
|?Has weapon physical attack <!-- 10 -->
+
|}}{{#arraymap:{{lc:{{Stat enumeration|base=exclude}}}}|,|@@@|
|?Has weapon magical attack
+
{{#if:{{#var:@@@}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{Stat|@@@|{{#var:@@@}} }} |}}
|?Has independent attack <!-- 12 -->
+
|}}{{#if:{{#var:skill level bonus}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:skill level bonus}}
|?Has equipment physical defense
+
|}}{{#if:{{#var:skill range level bonus}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:skill range level bonus}}
|?Has equipment magical defense <!-- 14 -->
+
|}}{{#if:{{#var:aura effect}}|{{#arraymap:{{#var:aura effect}}|;|@@@|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}@@@|}}
|?Has strength
+
|}}{{#if:{{#var:effect description}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}
|?Has intelligence <!-- 16 -->
+
{{#var:effect description}}
|?Has vitality
+
|}}{{#if:{{#var:flavor text}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:flavor text}}
|?Has spirit <!-- 18 -->
+
|}}
|?Has exorcism
+
 
|?Has hp maximum bonus <!-- 20 -->
+
}}
|?Has mp maximum bonus
+
{{#if:{{#var:queryresult|}}|{{#var:queryresult}}|<center>&mdash;</center>}}
|?Has hp recovery bonus <!-- 22 -->
+
}}<!-- end if -->| }} <!-- end arraymap -->
|?Has mp recovery bonus
+
| <!--
|?Has attack speed bonus <!-- 24 -->
+
    Effect Columns: no column set
|?Has movement speed bonus
+
-->{{!!}} {{#vardefine:seteffectbr|}}{{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#vardefine:queryresult|
|?Has casting speed bonus <!-- 26 -->
+
 
|?Has all elemental resistances bonus
+
{{Equipment effect retrieval|{{{2}}}#@@@pcseteffect}}
|?Has fire resist bonus <!-- 28 -->
+
{{#vardefine:br|}}
|?Has water resist bonus
+
{{#arraymap:{{lc:{{Stat enumeration|base=only}}}}|,|@@@|
|?Has light resist bonus <!-- 30 -->
+
{{#if:{{#var:@@@}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{Stat|@@@|{{#var:@@@}} }} |}}
|?Has shadow resist bonus
+
|}}{{#if:{{#var:inflicts elemental damage}}|{{#arraymap:{{#var:inflicts elemental damage}}|,|@@@|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}Inflict @@@ Damage|}}
|?Has all elemental damage bonus <!-- 32 -->
+
|}}{{#arraymap:{{lc:{{Stat enumeration|base=exclude}}}}|,|@@@|
|?Has fire damage bonus
+
{{#if:{{#var:@@@}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{Stat|@@@|{{#var:@@@}} }} |}}
|?Has water damage bonus <!-- 34 -->
+
|}}{{#if:{{#var:skill level bonus}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:skill level bonus}}
|?Has light damage bonus
+
|}}{{#if:{{#var:skill range level bonus}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:skill range level bonus}}
|?Has shadow damage bonus <!-- 36 -->
+
|}}{{#if:{{#var:aura effect}}|{{#arraymap:{{#var:aura effect}}|;|@@@|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}@@@|}}
|?Inflicts elemental damage
+
|}}{{#if:{{#var:effect description}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}{{#var:effect description}}
|?Has evasion rate bonus <!-- 38 -->
+
|}}{{#if:{{#var:flavor text}}|{{#if:{{#var:br}}|<br>|{{#vardefine:br|1}}}}''{{#var:flavor text}}''
|?Has inventory weight limit bonus
+
|}}
|?Has hit recovery bonus <!-- 40 -->
+
 
|?Has immobility bonus
+
}}
|?Has jump strength bonus <!-- 42 -->
+
{{#if:{{#var:queryresult|}}|{{#if:{{#var:seteffectbr}}|<br>|{{#vardefine:seteffectbr|1}}}}<nowiki></nowiki>
|?Has physical critical chance bonus
+
 
|?Has magic critical chance bonus <!-- 44 -->
+
'''[@@@]'''<br>{{#var:queryresult}}}}
|?Has hit rate bonus
+
|}}
|?Has town movement speed bonus <!-- 46 -->
 
|?Has poison damage bonus
 
|?Has poison level bonus <!-- 48 -->
 
|?Has poison tolerance bonus
 
|?Has burn damage bonus <!-- 50 -->
 
|?Has burn level bonus
 
|?Has burn tolerance bonus <!-- 52 -->
 
|?Has bleeding damage bonus
 
|?Has bleeding level bonus <!-- 54 -->
 
|?Has bleeding tolerance bonus
 
|?Has electrocution damage bonus <!-- 56 -->
 
|?Has electrocution level bonus
 
|?Has electrocution tolerance bonus <!-- 58 -->
 
|?Has blind level bonus
 
|?Has blind tolerance bonus <!-- 60 -->
 
|?Has frozen level bonus
 
|?Has frozen tolerance bonus <!-- 62 -->
 
|?Has slow down level bonus
 
|?Has slow down tolerance bonus <!-- 64 -->
 
|?Has immobility level bonus
 
|?Has immobility tolerance bonus <!-- 66 -->
 
|?Has stone curse level bonus
 
|?Has stone curse tolerance bonus <!-- 68 -->
 
|?Has stun level bonus
 
|?Has stun tolerance bonus <!-- 70 -->
 
|?Has sleep level bonus
 
|?Has sleep tolerance bonus <!-- 72 -->
 
|?Has confuse level bonus
 
|?Has confuse tolerance bonus <!-- 74 -->
 
|?Has curse level bonus
 
|?Has curse tolerance bonus <!-- 76 -->
 
|?Has all abnormal status resist bonus
 
|?Has effect description <!-- 78 -->
 
|?Has flavor text
 
|?Has skill level bonus|+index=1 <!-- 80 -->
 
|?Has skill level bonus|+index=2
 
|?Has skill level bonus|+index=3 <!-- 82 -->
 
|?Has aura effect
 
|?Has slow down duration <!-- 84 -->
 
|?Has skill range level bonus|+index=1
 
|?Has skill range level bonus|+index=2 <!-- 86 -->
 
|?Has skill range level bonus|+index=3
 
|?Has skill range level bonus|+index=4 <!-- 88 -->
 
|?Has level restriction
 
|?Has stone curse damage bonus <!-- 90 -->
 
|?Has poison duration
 
|?Has burn duration <!-- 92 -->
 
|?Has bleeding duration
 
|?Has electrocution duration <!-- 94 -->
 
|?Has blind duration
 
|?Has frozen duration <!-- 96 -->
 
|?Has immobility duration
 
|?Has stone curse duration <!-- 98 -->
 
|?Has stun duration
 
|?Has sleep duration <!-- 100 -->
 
|?Has confuse duration
 
|?Has curse duration <!-- 102 -->
 
| link = none
 
| format = template
 
| template = Set effects
 
| default =
 
}} <!-- end ask -->}}| }}
 
| <!-- no column set -->{{!!}} {{#arraymap:1,2,3,4,5,6,7,8,9,10,11|,|@@@|{{#vardefine:queryresult|{{#ask:
 
[[{{{2}}}#@@@pcseteffect]]
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?
 
|?Has weapon physical attack <!-- 10 -->
 
|?Has weapon magical attack
 
|?Has independent attack <!-- 12 -->
 
|?Has equipment physical defense
 
|?Has equipment magical defense <!-- 14 -->
 
|?Has strength
 
|?Has intelligence <!-- 16 -->
 
|?Has vitality
 
|?Has spirit <!-- 18 -->
 
|?Has exorcism
 
|?Has hp maximum bonus <!-- 20 -->
 
|?Has mp maximum bonus
 
|?Has hp recovery bonus <!-- 22 -->
 
|?Has mp recovery bonus
 
|?Has attack speed bonus <!-- 24 -->
 
|?Has movement speed bonus
 
|?Has casting speed bonus <!-- 26 -->
 
|?Has all elemental resistances bonus
 
|?Has fire resist bonus <!-- 28 -->
 
|?Has water resist bonus
 
|?Has light resist bonus <!-- 30 -->
 
|?Has shadow resist bonus
 
|?Has all elemental damage bonus <!-- 32 -->
 
|?Has fire damage bonus
 
|?Has water damage bonus <!-- 34 -->
 
|?Has light damage bonus
 
|?Has shadow damage bonus <!-- 36 -->
 
|?Inflicts elemental damage
 
|?Has evasion rate bonus <!-- 38 -->
 
|?Has inventory weight limit bonus
 
|?Has hit recovery bonus <!-- 40 -->
 
|?Has immobility bonus
 
|?Has jump strength bonus <!-- 42 -->
 
|?Has physical critical chance bonus
 
|?Has magic critical chance bonus <!-- 44 -->
 
|?Has hit rate bonus
 
|?Has town movement speed bonus <!-- 46 -->
 
|?Has poison damage bonus
 
|?Has poison level bonus <!-- 48 -->
 
|?Has poison tolerance bonus
 
|?Has burn damage bonus <!-- 50 -->
 
|?Has burn level bonus
 
|?Has burn tolerance bonus <!-- 52 -->
 
|?Has bleeding damage bonus
 
|?Has bleeding level bonus <!-- 54 -->
 
|?Has bleeding tolerance bonus
 
|?Has electrocution damage bonus <!-- 56 -->
 
|?Has electrocution level bonus
 
|?Has electrocution tolerance bonus <!-- 58 -->
 
|?Has blind level bonus
 
|?Has blind tolerance bonus <!-- 60 -->
 
|?Has frozen level bonus
 
|?Has frozen tolerance bonus <!-- 62 -->
 
|?Has slow down level bonus
 
|?Has slow down tolerance bonus <!-- 64 -->
 
|?Has immobility level bonus
 
|?Has immobility tolerance bonus <!-- 66 -->
 
|?Has stone curse level bonus
 
|?Has stone curse tolerance bonus <!-- 68 -->
 
|?Has stun level bonus
 
|?Has stun tolerance bonus <!-- 70 -->
 
|?Has sleep level bonus
 
|?Has sleep tolerance bonus <!-- 72 -->
 
|?Has confuse level bonus
 
|?Has confuse tolerance bonus <!-- 74 -->
 
|?Has curse level bonus
 
|?Has curse tolerance bonus <!-- 76 -->
 
|?Has all abnormal status resist bonus
 
|?Has effect description <!-- 78 -->
 
|?Has flavor text
 
|?Has skill level bonus|+index=1 <!-- 80 -->
 
|?Has skill level bonus|+index=2
 
|?Has skill level bonus|+index=3 <!-- 82 -->
 
|?Has aura effect
 
|?Has slow down duration <!-- 84 -->
 
|?Has skill range level bonus|+index=1
 
|?Has skill range level bonus|+index=2 <!-- 86 -->
 
|?Has skill range level bonus|+index=3
 
|?Has skill range level bonus|+index=4 <!-- 88 -->
 
|?Has level restriction
 
|?Has stone curse damage bonus <!-- 90 -->
 
|?Has poison duration
 
|?Has burn duration <!-- 92 -->
 
|?Has bleeding duration
 
|?Has electrocution duration <!-- 94 -->
 
|?Has blind duration
 
|?Has frozen duration <!-- 96 -->
 
|?Has immobility duration
 
|?Has stone curse duration <!-- 98 -->
 
|?Has stun duration
 
|?Has sleep duration <!-- 100 -->
 
|?Has confuse duration
 
|?Has curse duration <!-- 102 -->
 
| link = none
 
| format = template
 
| template = Set effects
 
| default =
 
 
}}
 
}}
}}{{#if:{{#var:queryresult|}}|'''[@@@]'''<br>{{#var:queryresult}}}}
+
<!--
|<br>}}
+
    Equipment
}} {{#ifeq:{{#var:show equipment}}|y|{{!!}} {{#ask:[[Has item type::Equipment]] [[Is part of set::{{{2}}}]]
+
-->{{#ifeq:{{#var:show equipment}}|y|{{!!}} {{#ask:[[Has item type::Equipment]] [[Is part of set::{{{2}}}]]
 
|?Has name
 
|?Has name
 
| format = ul
 
| format = ul
Line 235: Line 66:
 
}} <!-- end ask -->
 
}} <!-- end ask -->
 
}}
 
}}
}}</includeonly><noinclude>== Description ==
+
}}
 +
</includeonly><noinclude>== Description ==
  
 
This template creates a table row using query results. Used by [[Template:Set list]] and [[Template:Set list row]].
 
This template creates a table row using query results. Used by [[Template:Set list]] and [[Template:Set list row]].

Revision as of 19:48, 12 March 2016

Description

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