Welcome to the New Wiki
Please let us know if anything looks out of place.
Template:Item Source/doc: Difference between revisions
From Walkscape Walkthrough
wswiki>Bonez565 mNo edit summary |
m 1 revision imported |
(No difference)
|
Latest revision as of 10:47, 22 December 2024
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 Chest | N/A | 1 | 2.5% | ~1 in 40 |