Template:Gear/Table
Jump to navigation
Jump to search
Template documentation
- Description
- This template will make a Table to display all Gear of one type.
- Syntax
- To include this template in any page, just type {{Gear/Table}} in the source editor.
- Parameters
{{Gear/Table}} -- By Default it will show a sortable table for Longswords. The collapsible button isn't part of the Table
Just {{Gear/Table}} ▾▾
- gear - To select which type of gear (Axes, Daggers, Shield, etc). By default it's Longswords as seen in the above table. To be Axes, value must be equal to Axes.
{{Gear/Table|gear=Axes}} -- The collapsible button isn't part of the Table
{{Gear/Table|gear=Axes}} ▾▾
- sort - To make table sortable or not. By default it's true as seen in the above tables. To be false, value must be different than: true, True and 1.
{{Gear/Table|gear=Shields|sort=false}} -- The collapsible button isn't part of the Table
{{Gear/Table|gear=Shields|sort=false}} ▾▾
- armour - To make table show extra columns for armour type gear. By default it's false as seen in the above tables. To be true, value must be: true, True or 1.
{{Gear/Table|gear=Shields|armour=true}} -- The collapsible button isn't part of the Table
{{Gear/Table|gear=Shields|armour=true}} ▾▾
- filter - To create a table with just DLC Exclusive items, Lunares Coins items or other time of item. By default it's false as seen in the above tables where it shows all items. For example if you want to filter all capes in Accessories.
{{Gear/Table|gear=Accessories|filter=Capes|armour=true}} -- The collapsible button isn't part of the Table
{{Gear/Table|gear=Accessories|filter=Capes|armour=true}} ▾▾
Picture | Item | Rarity | Level | Defense | Magic Defense | Special Effect | Lives | Gender | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Cape | -- | 2 | 3 | 4 | 5 | 6 | 0 | ------ | All | |||
Long Cape | 5 | 4 | 5 | 6 | 8 | 9 | 0 | ------ | All | |||
Short Cape | 10 | 5 | 6 | 8 | 9 | 11 | 2 | ------ | All | |||
Bat Cape | 10 | 6 | 7 | 9 | 10 | 12 | 6 | ------ | All | |||
Swallow Tail | 5 | 4 | 4 | 4 | 4 | 4 | 4 | Dexterity +2 | All | |||
Companion Cape LC | -- | 15 | 15 | 15 | 15 | 15 | 10 | Friendship growth rate x2 | All | |||
Daemon's Cape LC | 20 | 3 | 3 | 3 | 3 | 3 | 20 | Earth element ++ | All | |||
Princely Cape PWD | 20 | 13 | 13 | 13 | 13 | 13 | 6 | EXP crystal drop rate ++ | All | |||
Doctor's Cape | 30 | 6 | 7 | 9 | 10 | 12 | 10 | Intelligence +4 | ||||
Crusader's Cape | 30 | 10 | 12 | 14 | 16 | 18 | 6 | Max HP +30 | ||||
Odin's Cape LC | 40 | 11 | 11 | 11 | 11 | 11 | 5 | Magic Defence +15 | All | |||
Sacred Cape OI | 60 | 15 | 17 | 20 | 22 | 25 | 18 | Focus +2 | All | |||
Ares Cape OI | 90 | 20 | 23 | 26 | 29 | 32 | 10 | SP recovery speed ++ | ||||
Dark Sultan's Cape LC | 100 | 15 | 15 | 15 | 15 | 15 | 25 | Abnormal status immunity | All | |||
Spirit King's Cape LC | 100 | 18 | 18 | 18 | 18 | 18 | 20 | Abnormal status immunity | All | |||
Sea Lord's Cape LC | 100 | 20 | 20 | 20 | 20 | 20 | 15 | Abnormal status immunity | All | |||
Dragon King's Cape LC | 100 | 23 | 23 | 23 | 23 | 23 | 7 | Abnormal status immunity | All |
- Input Errors
- gear - Gear is the only one that must have a specific value such as (Axes, Daggers, Shield, etc). If is something different, not related to gear or even gear in lower case like axes it creates a Lua script error.
{{Gear/Table|gear=axes}} -- The collapsible button isn't part of the Table
{{Gear/Table|gear=axes}} ▾▾
Lua error in package.lua at line 80: module 'Module:Gear/axes/Data' not found.
- The other three parameters, sort, armour and filter, will always have a value. False by default and as result it will never create a Lua script error even if mistyped.
{{Gear/Table|gear=Bows|sort=Hello|armour=ytgsqnd|filter=jhtgrv}} -- The collapsible button isn't part of the Table
{{Gear/Table|gear=Bows|sort=Hello|armour=ytgsqnd|filter=jhtgrv}} ▾▾
- armour - If armour is set true for a type of gear that isn't armour. It will create a Lua script error.
{{Gear/Table|gear=Bows|armour=true}} -- The collapsible button isn't part of the Table
{{Gear/Table|gear=Bows|armour=true}} ▾▾
Visit Template:Gear/Table/doc to edit this text! (How does this work?)