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 query"
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{#vardefine:result number|{{#ask: [[Has item type::Equipment]] |
+ | {{#if:{{{name|}}}|[[Has lowercase name::~*{{lc:{{{name}}}}}*]]}} | ||
+ | {{#if:{{{rarity|}}}|[[Has item rarity::{{{rarity}}}]]}} | ||
+ | {{#if:{{{min level|}}}|[[Has level requirement::>{{{min level}}}]]|}} | ||
+ | {{#if:{{{max level|}}}|[[Has level requirement::<{{{max level}}}]]|}} | ||
+ | {{#switch:{{{equipment type|}}} | ||
+ | | Weapon = {{#switch:{{{weapon class|}}} | ||
+ | | Slayer = {{#if:{{{weapon type|}}}|[[Has weapon type::{{{weapon type}}}]]|[[Has weapon type::Short Sword||Katana||Bludgeon||Zanbato||Lightsabre]]}} | ||
+ | | Fighter = {{#if:{{{weapon type|}}}|[[Has weapon type::{{{weapon type}}}]]|[[Has weapon type::Knuckle||Gauntlets||Claw||Boxing Gloves||Tonfa]]}} | ||
+ | | Gunner = {{#if:{{{weapon type|}}}|[[Has weapon type::{{{weapon type}}}]]|[[Has weapon type::Revolver||Auto Gun||Musket||Hand Cannon||Bowgun]]}} | ||
+ | | Mage = {{#if:{{{weapon type|}}}|[[Has weapon type::{{{weapon type}}}]]|[[Has weapon type::Spear||Pole||Rod||Staff||Broomstick]]}} | ||
+ | | Priest = {{#if:{{{weapon type|}}}|[[Has weapon type::{{{weapon type}}}]]|[[Has weapon type::Cross||Rosary||Totem||Scythe||Battle Axe]]}} | ||
+ | | Thief = {{#if:{{{weapon type|}}}|[[Has weapon type::{{{weapon type}}}]]|[[Has weapon type::Dagger||Dual Blade||Wand||Chakra Weapon]]}} | ||
+ | |#default = [[Has equipment slot::Weapon]] | ||
+ | }} | ||
+ | | Armor = {{#switch:{{{armor slot|}}} | ||
+ | | Head/Shoulder | ||
+ | | Top | ||
+ | | Bottom | ||
+ | | Belt | ||
+ | | Shoes = [[Has equipment slot::{{{armor slot}}}]] | ||
+ | |#default = [[Has equipment slot::Top||Head/Shoulder||Bottom||Belt||Shoes]] | ||
+ | }}{{#if:{{{armor weight|}}}|[[Has armor weight class::{{{armor weight}}}]]|}} | ||
+ | | Accessory = {{#switch: {{{accessory slot|}}} | ||
+ | | Necklace = | ||
+ | | Ring = | ||
+ | | Bracelet = [[Has equipment slot::{{{accessory slot}}}]] | ||
+ | |#default = [[Has equipment slot::Necklace||Bracelet||Ring]] | ||
+ | }} | ||
+ | | Special Equipment = {{#switch: {{{special equipment slot|}}} | ||
+ | | Sub Equipment = | ||
+ | | Magic Stone = [[Has equipment slot::{{{accessory slot}}}]] | ||
+ | |#default = [[Has equipment slot::Sub Equipment||Magic Stone]] | ||
+ | }}{{#if:{{{class|}}}|[[Has class requirement::{{{class}}}]]}} | ||
+ | | Title = [[Has equipment slot::Title]] | ||
+ | |#default = | ||
+ | }} | ||
+ | {{#if:{{{base name 1|}}}| | ||
+ | {{#if:{{{base value min 1|}}}|[[Has {{lc:{{{base name 1}}}}}::>{{{base value min 1|}}}]]}} | ||
+ | {{#if:{{{base value max 1|}}}|[[Has {{lc:{{{base name 1}}}}}::<{{{base value max 1|}}}]]}} | ||
+ | }} | ||
+ | {{#if:{{{base name 2|}}}| | ||
+ | {{#if:{{{base value min 2|}}}|[[Has {{lc:{{{base name 2}}}}}::>{{{base value min 2|}}}]]}} | ||
+ | {{#if:{{{base value max 2|}}}|[[Has {{lc:{{{base name 2}}}}}::<{{{base value max 2|}}}]]}} | ||
+ | }} | ||
+ | {{#if:{{{other name 1|}}}| | ||
+ | {{#if:{{{other value min 1|}}}|[[Has {{lc:{{{other name 1}}}}} bonus::>{{{other value min 1|}}}]]}} | ||
+ | {{#if:{{{other value max 1|}}}|[[Has {{lc:{{{other name 1}}}}} bonus::<{{{other value max 1|}}}]]}} | ||
+ | }} | ||
+ | {{#if:{{{other name 2|}}}| | ||
+ | {{#if:{{{other value min 2|}}}|[[Has {{lc:{{{other name 2}}}}} bonus::>{{{other value min 2|}}}]]}} | ||
+ | {{#if:{{{other value max 2|}}}|[[Has {{lc:{{{other name 2}}}}} bonus::<{{{other value max 2|}}}]]}} | ||
+ | }} | ||
+ | {{#if:{{{other name 3|}}}| | ||
+ | {{#if:{{{other value min 3|}}}|[[Has {{lc:{{{other name 3}}}}} bonus::>{{{other value min 3|}}}]]}} | ||
+ | {{#if:{{{other value max 3|}}}|[[Has {{lc:{{{other name 3}}}}} bonus::<{{{other value max 3|}}}]]}} | ||
+ | }} | ||
+ | {{#if:{{{skill class|}}}{{{skill name|}}}|[[Has skill level bonus::{{{skill class|?}}};~*{{{skill name|}}}*;?]]}} | ||
+ | {{#if:{{{all skill class|}}}{{{all skill min|}}}{{{all skill max|}}}| [[Has skill range level bonus::{{{all skill class|?}}};{{#if:{{{all skill min|}}}|<{{{all skill min|}}}}};{{#if:{{{all skill max|}}}|>{{{all skill max|}}}}};?]] }} | ||
+ | {{#if:{{{set|}}}|[[Is part of set::{{{set}}}]]}} | ||
+ | {{#ifeq:{{{aura|}}}|Yes|[[Has aura effect::+]]}} | ||
+ | {{#if:{{{inflict ele|}}}|[[Inflicts elemental damage::{{{inflict ele}}}]]}} | ||
+ | | link = none | ||
+ | | format = count | ||
+ | | default = 0 | ||
+ | }} | ||
+ | }}<!-- end var result number | ||
+ | -->{{#ifexpr:{{#var:result number}} > 0|{{#ifexpr:{{#var:result number}} < {{{offset}}} | The offset selected it too large to display any of the {{#var:result number}} results. | {{#var:result number}} results found. Displaying results {{#expr:{{{offset}}}+1}} to {{#ifexpr: {{#var:result number}} - {{{offset}}} > 200| {{#expr: {{{offset}}} + 200}}| {{#var:result number}} }}. }} | ||
+ | }} | ||
{{#ask: [[Has item type::Equipment]] | {{#ask: [[Has item type::Equipment]] | ||
{{#if:{{{name|}}}|[[Has lowercase name::~*{{lc:{{{name}}}}}*]]}} | {{#if:{{{name|}}}|[[Has lowercase name::~*{{lc:{{{name}}}}}*]]}} | ||
Line 103: | Line 171: | ||
|?Has immobility bonus | |?Has immobility bonus | ||
|?Has jump strength bonus <!-- 42 --> | |?Has jump strength bonus <!-- 42 --> | ||
− | |?Has physical critical | + | |?Has physical critical chance bonus |
− | |?Has magic critical | + | |?Has magic critical chance bonus <!-- 44 --> |
|?Has hit rate bonus | |?Has hit rate bonus | ||
|?Has town movement speed bonus <!-- 46 --> | |?Has town movement speed bonus <!-- 46 --> | ||
Line 150: | Line 218: | ||
|?Has skill range level bonus|+index=4 <!-- 88 --> | |?Has skill range level bonus|+index=4 <!-- 88 --> | ||
|?Has level restriction | |?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 | | link = none | ||
| format = template | | format = template | ||
Line 155: | Line 236: | ||
| intro = {{Equipment list header|show flavor text = n|show type={{#if:{{{weapon type|}}}|n|y}}}} | | intro = {{Equipment list header|show flavor text = n|show type={{#if:{{{weapon type|}}}|n|y}}}} | ||
| outro = {{!}}} | | outro = {{!}}} | ||
− | | sort = Has name | + | | sort = Has level requirement, Has name |
− | | sortorder = ascending | + | | sortorder = ascending, ascending |
− | | searchlabel = | + | | limit = 200 |
+ | | offset = {{{offset}}} | ||
+ | | searchlabel = | ||
| default = No equipment found that satisfy the search criteria. | | default = No equipment found that satisfy the search criteria. | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Line 166: | Line 249: | ||
=== Parameters === | === Parameters === | ||
− | ; | + | ; name : |
− | ; | + | ; min level : |
− | ; | + | ; max level : |
− | ; | + | ; rarity : |
− | ; | + | ; equipment type : |
− | ; | + | ; weapon class : |
− | ; | + | ; armor slot : |
− | ; | + | ; armor weight : |
− | ; | + | ; accessory slot : |
− | ; | + | ; special equipment slot : |
− | ; | + | ; class : |
− | ; | + | ; base name 1 : |
− | ; | + | ; base value min 1 : |
− | ; | + | ; base value max 1 : |
− | ; | + | ; base name 2 : |
− | ; | + | ; base value min 2 : |
− | ; | + | ; base value max 2 : |
− | ; | + | ; other name 1 : |
− | ; | + | ; other value min 1 : |
− | ; | + | ; other value max 1 : |
− | ; | + | ; other name 2 : |
− | ; | + | ; other value min 2 : |
− | ; | + | ; other value max 2 : |
− | ; | + | ; other name 3 : |
− | ; | + | ; other value min 3 : |
− | ; | + | ; other value max 3 : |
− | ; | + | ; skill class : |
− | ; | + | ; skill name : |
− | ; | + | ; all skill class : |
− | ; | + | ; all skill min : |
− | ; | + | ; all skill max : |
− | ; | + | ; set : |
− | ; | + | ; aura : |
− | ; | + | ; inflict ele : |
== See also == | == See also == |
Revision as of 20:04, 7 February 2016
Contents
Description
Template used by Form:Equipment query. Similar to Template:Equipment list in function.
Usage
Parameters
- name
- min level
- max level
- rarity
- equipment type
- weapon class
- armor slot
- armor weight
- accessory slot
- special equipment slot
- class
- base name 1
- base value min 1
- base value max 1
- base name 2
- base value min 2
- base value max 2
- other name 1
- other value min 1
- other value max 1
- other name 2
- other value min 2
- other value max 2
- other name 3
- other value min 3
- other value max 3
- skill class
- skill name
- all skill class
- all skill min
- all skill max
- set
- aura
- inflict ele