Template:DataQuery/DBField

From Enshrouded Wiki
Jump to navigation Jump to search

Examples:

  • {{DataQuery/DBField| Ingredients | Explosive Barrel | CraftedQuantity }} => 200, 200, 200, 200
  • {{DataQuery/DBField| Ingredients | Shroud Meteor | CraftedQuantity }} => 20, 20, 20, 20, 20
  • {{DataQuery/DBField| Ingredients | Paintings/Flower Vase | CraftedQuantity }} => 1, 1, 1, 1, 1, 1

Usage: Return the value of the field (3rd parameter) of the rows associated to the page (2nd parameter) in the table (1st parameter). Values from multiple rows are separated by comma.

Parameter:

  • 1 = the table to query
  • 2 = the page the data is stored on
  • 3 = the field to return