Template:Item Sources/doc

From The Walkscape Walkthrough
Revision as of 01:05, 7 March 2024 by CptRileyyy (talk | contribs) (Create documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

Item Sources

A list of Template:Item Source templates that detail the sources for the item. This is required as it is the only parameter. This template does not include Level in the table formatting yet. Therefore it is unnecessary in the Template:Item Sources provided to include it as it will break formatting.

Quick Copy

Notated copy

{{Item Sources
| Item Sources = 
}}

Empty copy

{{Item Source
| Item Sources = 
}}

Examples

The formatting for Shovel Axe is as follows:

{{Item Sources
| Item Sources = 
  {{Item Source
  | Image = Mining_chest.png
  | Name = Mining Chests
  | Quantity = 1
  | Chance = 1/1000
  }}{{Item Source
  | Image = Woodcutting_chest.png
  | Name = Woodcutting Chests
  | Quantity = 1
  | Chance = 3/10000
  }}
}}

Yields:

Items

Source Quantity Chance Rate
Mining Chests 1 1/1000 Lua error in Module:1inCalculator at line 6: attempt to perform arithmetic on a nil value.
Woodcutting Chests 1 3/10000 Lua error in Module:1inCalculator at line 6: attempt to perform arithmetic on a nil value.