Template:Gear/Table

From Fantasy Life Wiki
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}}
Picture Item Rarity Skill Level Normal Good Quality.png Great Quality.png Top Quality.png Divine Quality.png Special Effect Lives


  • 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}}
Picture Item Rarity Skill Level Normal Good Quality.png Great Quality.png Top Quality.png Divine Quality.png Special Effect Lives


  • 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}}
Picture Item Rarity Skill Level Defense Good Quality.png Great Quality.png Top Quality.png Divine Quality.png Special Effect Lives


  • 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}}
Picture Item Rarity Skill Level Defense Good Quality.png Great Quality.png Top Quality.png Divine Quality.png Magic Defense Special Effect Lives


  • 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 Good Quality.png Great Quality.png Top Quality.png Divine Quality.png Magic Defense Special Effect Lives Gender
Cape.png
Cape 0 Stars.png -- 2 3 4 5 6 0 ------ All
Long Cape.png
Long Cape 1 Stars.png 5 4 5 6 8 9 0 ------ All
Short Cape.png
Short Cape 2 Stars.png 10 5 6 8 9 11 2 ------ All
Bat Cape.png
Bat Cape 3 Stars.png 10 6 7 9 10 12 6 ------ All
Swallow Tail.png
Swallow Tail 4 Stars.png 5 4 4 4 4 4 4 Dexterity +2 All
Companion Cape.png
Companion Cape LC 5 Stars.png -- 15 15 15 15 15 10 Friendship growth rate x2 All
Daemon's Cape.png
Daemon's Cape LC 5 Stars.png 20 3 3 3 3 3 20 Earth element ++ All
Princely Cape.png
Princely Cape PWD 5 Stars.png 20 13 13 13 13 13 6 EXP crystal drop rate ++ All
Doctor's Cape.png
Doctor's Cape 5 Stars.png 30 6 7 9 10 12 10 Intelligence +4 Alchemist icon 1.png
Crusader's Cape.png
Crusader's Cape 5 Stars.png 30 10 12 14 16 18 6 Max HP +30 Paladin icon 1.png
Odin's Cape.png
Odin's Cape LC 5 Stars.png 40 11 11 11 11 11 5 Magic Defence +15 All
Sacred Cape.png
Sacred Cape OI 5 Stars.png 60 15 17 20 22 25 18 Focus +2 All
Ares Cape.png
Ares Cape OI 5 Stars.png 90 20 23 26 29 32 10 SP recovery speed ++ Paladin icon 1.pngMercenary icon 1.pngMiner icon 1.pngWoodcutter icon 1.pngBlacksmith icon 1.pngCarpenter icon 1.png
Dark Sultan's Cape.png
Dark Sultan's Cape LC 5 Stars.png 100 15 15 15 15 15 25 Abnormal status immunity All
Spirit King's Cape.png
Spirit King's Cape LC 5 Stars.png 100 18 18 18 18 18 20 Abnormal status immunity All
Sea Lord's Cape.png
Sea Lord's Cape LC 5 Stars.png 100 20 20 20 20 20 15 Abnormal status immunity All
Dragon King's Cape.png
Dragon King's Cape LC 5 Stars.png 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}}
Picture Item Rarity Skill Level Normal Good Quality.png Great Quality.png Top Quality.png Divine Quality.png Special Effect Lives


  • 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}}
Picture Item Rarity Level Defense Good Quality.png Great Quality.png Top Quality.png Divine Quality.png Magic Defense Special Effect Lives Gender



Visit Template:Gear/Table/doc to edit this text! (How does this work?)