Data

From Stoneshard wiki
Revision as of 13:42, 25 June 2021 by old>Realpsojed
Jump to navigation Jump to search

Page for all Stoneshard data.

The plan is to use our Parser to convert data from game data into the switch format we use on the wiki. Different templates then transclude data from this page and display it elsewhere on the wiki.

Currently this is in testing phase with templates {{Skill test}} and {{Armor test}}.

Option 1 - Keeping the Switch, transcluding individual attributes. {{:Data|Ornate Sallet|ArmorType}} produces:


Headgear

Option 2 - Removing the Switch, transcluding all attributes at once as plaintext. {{:Data|Peasant Hatchet}} produces:


{{#switch: {{{2}}} <!-- Updated with Weapon Parser V 1.01 --> |WeaponType = Axe |Damage1 = 21 |DamageType1 = Slashing |Properties1 = Armor Penetration |Values1 = {{pos|+10%}} |Properties2 = Bodypart Damage |Values2 = {{pos|+10%}} |Properties3 = Fumble Chance |Values3 = {{pos|-1%}} |Properties4 = Skills Energy Cost |Values4 = {{neg|+15%}} |Properties5 = Spells Energy Cost |Values5 = {{neg|+15%}} |Durability = 85 |Description = The only thing this axe is decent at is chopping wood. |Price = 25 |#default = }}

Option 2 seems like it won't work