Difference between revisions of "Data"
old>Realpsojed m |
old>Realpsojed m |
||
Line 109: | Line 109: | ||
|Rarity = Unique | |Rarity = Unique | ||
|Image = Ceremonial Cuirass.png | |Image = Ceremonial Cuirass.png | ||
|ArmorType = | |ArmorType = Chestpiece | ||
|ArmorClass = Heavy | |ArmorClass = Heavy | ||
|Protection = 11 | |Protection = 11 |
Revision as of 16:23, 2 July 2021
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