From Dark and Darker Wiki
(falvourtext to description variable name change) |
m (fixed bug where item data had only 1 value per list) |
||
(25 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{lc:{{{1|}}}}} | <includeonly>{{#switch:{{lc:{{{1|}}}}} | ||
|alllists={{#switch:{{lc:{{{2|}}}}} | |||
|types={{#switch:{{lc:{{{3|}}}}} | |||
|armor={{#switch:{{lc:{{{4|}}}}} | |||
|uncraftable={{#switch:{{lc:{{{5|}}}}} | |||
|leather=Adventurer Boots,Buckled Boots,Dark Leather Leggings,Darkgrove Hood,Darkleaf Boots,Dashing Boots,Elkwood Crown,Elkwood Gloves,Feathered Hat,Forest Boots,Gloves of Utility,Heavy Boots,Heavy Leather Leggings,Laced Turnshoe,Leather Bonnet,Leather Cap,Leather Chausses,Leather Gloves,Leather Leggings,Lightfoot Boots,Low Boots,Marauder Outfit,Occultist Boots,Padded Leggings,Rawhide Gloves,Reinforced Gloves,Riveted Gloves,Rugged Boots,Runestone Gloves,Stitched Turnshoe,Studded Leather,Troubadour Outfit,Turnshoe,Warden Outfit,Wizard Shoes | |||
|cloth=Adventurer Cloak,Adventurer Tunic,Bardic Pants,Chaperon,Cloth Pants,Darkgrove Robe,Doublet,Forest Hood,Frock,Grand Brigandine,Heavy Gambeson,Light Aketon,Loose Trousers,Mercurial Cloak,Mystic Gloves,Mystic Vestments,Occultist Hood,Occultist Pants,Occultist Robe,Occultist Tunic,Old Shoes,Oracle Robe,Ornate Jazerant,Padded Tunic,Poupoint,Radiant Cloak,Ranger Hood,Regal Gambeson,Ritual Robe,Rogue Cowl,Shadow Hood,Shadow Mask,Splendid Cloak,Straw Hat,Tattered Cloak,Vigilant Cloak,Wanderer Attire,Watchman Cloak,Wizard Hat | |||
|plate=Armet,Barbuta Helm,Champion Armor,Chapel De Fer,Crusader Armor,Crusader Helm,Dark Cuirass,Dark Plate Armor,Fine Cuirass,Gjermundbu,Great Helm,Heavy Gauntlets,Hounskull,Kettle Hat,Light Gauntlets,Norman Nasal Helm,Northern Full Tunic,Open Sallet,Plate Boots,Plate Pants,Sallet,Spangenhelm,Templar Armor,Topfhelm,Viking Helm,Visored Barbuta Helm,Visored Sallet | |||
|all=Leather,Cloth,Plate | |||
}} | |||
|craftable={{#switch:{{lc:{{{5|}}}}} | |||
|cloth=Brave Hunter's Pants,Cloak of Darkness,Cobalt Frock,Cobalt Hood,Cobalt Regal Gambeson,Cobalt Trousers,Copperlight Attire,Copperlight Outfit,Copperlight Pants,Copperlight Shadow Hood,Copperlight Straw Hat,Copperlight Tunic,Cowl of Darkness,Dread Hood,Golden | |||
</noinclude> | </noinclude> |
Latest revision as of 21:58, 4 April 2024
Usage
{{alllist|<variable1>|<variable2>|...}}
Variables
- <item_name>
- stats
- <stat_name>
- allstats
- abilities
- <ability_type>
- <ability_name>
- <ability_attribute>
- <ability_name>
- <ability_type>
- types
- <type>
- hitbox
- height
- width
- height
- rarities
- handtype
- slottype
- artifactname
- artifactpower
- invslots
- invwidth
- invheight
- hitslow
- hitslowduration
- flavortext
- maxammocount
- maxcount
- maxcontentscount
- reloadtime
- wearingdelaytime
- equiptime
- unequiptime
- ap
- <rarity>
- xp
- <rarity>
- initialspeed
- damagefalloff
- piercecount
- classes
- impactresistance
- interactiontime
- interactiontimescaling
- stats
Global
All attributes that are shared between all other attributes in the same layer are moved to a global layer
For example, if all |movementmultiplier's under Abilities|Primary| are the same, they will be moved to Abilities|Primary|global
See Example 2 for more information
All
All sub-layers can also call |all for a list of all unique attributes For example,
{{alllist|all}}
will output a list of all items
For example,
{{alllist|<itemname>|all}}
will output a list of all attributes of a particular
See example 1 and 6 for more information
Examples
Note, some variables may not be applicable to all item categories. The below examples are for the Arming Sword, which only exists in Weapon_Data. Other item categories, like Misc_Data, may have different variables, and obviously don't have others, like abilities
Example 1
All stats of the Arming Sword
{{alllist|Arming Sword|stats|all}}
Outputs Template:Alllist
Example 2
All shared attributes for Primary attacks of Arming Sword
{{alllist|Arming Sword|abilities|Primary|global}}
Outputs Template:Alllist
Example 3
Damagefalloff widget of Longbow
{{alllist|Longbow|damagefalloff}}
Outputs Template:Alllist
Example 4
All non-artifact rarities of the Arming Sword
{{alllist|Arming Sword|rarities}}
Outputs Template:Alllist
Example 5
Invslots size image of Arming Sword
{{alllist|Arming Sword|invslots}}
Outputs Template:Alllist
Example 6
All attributes of primary abilities of Arming Sword
{{alllist|Arming Sword|abilities|Primary|all}}
Outputs Template:Alllist