Template:Material

From Stoneshard wiki
Jump to navigation Jump to search
Documentation

This template is created for use on pages of items that can be dismantled.

  • It makes use of the variable Datastring, which is already present on those pages thanks to other Templates such as Template:Armor.
  • If the datastring variable is not defined, the template returns nothing (empty string).

Usage: Copy this code to any item page where you want to display the item's material and the fragments obtained from dismantling:

{{Material}}

Example with Battlemage Mantle:

  • Material: Cloth
  • Dismantling this item will provide you with:
    • Cloth Scraps: 2
    • Reinforced Leather: 1