Template:Item Source/doc

From The Walkscape Walkthrough

Parameters

Name

The name of the item source.

Image

The image of the item source. This is recommended. If not provided, the template will try to find the item as Name.png

Level

The level of the creature that drops the item. This is optional.

Quantity

The number of the item that is provided.

Chance

The odds of acquiring the item as a drop. This should be provided as a fraction. e.g. 1/12

Quick Copy

Notated copy

{{Item Source
| Name = 
| Image = (Recommended)
| Level = (Optional)
| Quantity = 
| Chance = 
}}

Empty copy

{{Item Source
| Name = 
| Image = 
| Level = 
| Quantity = 
| Chance = 
}}

To Do

  • Rarity should probably be pulled out as its own template to make it more digestible and useable elsewhere. The values should also be converted to hex values as named colors are probably not very accurate.
  • Check if this works for crafted items also (I think it will) and then rename it if it does to be more ambiguous. Maybe something like Infobox Item


Examples

The formatting for Agility Chests is as follows:

{{Item Source
| Image = Agility_chest.png
| Name = Agility Chests
| Level = N/A
| Quantity = 1
| Chance = 1/40
}}

Yields:

Agility Chests Sprite Agility Chests N/A 1 1/40 (2.50%)