Template:Item Drops/doc: Difference between revisions

From The Walkscape Walkthrough
Content deleted Content added
Page Creation
 
m Edit
Line 11: Line 11:
| Name =
| Name =
| Image = (Recommended)
| Image = (Recommended)
| Type =
| Skill =
| Level =
| Level =
| Quantity =
| Chance =
}}
}}
}}
}}
Line 23: Line 25:
{{Item Drop
{{Item Drop
| Name =
| Name =
| Image = (Recommended)
| Image =
| Type =
| Skill =
| Level =
| Level =
| Quantity =
| Chance =
}}
}}
}}
}}
Line 47: Line 51:
| Skill = Foraging, Agility
| Skill = Foraging, Agility
| Level = 25, N/A
| Level = 25, N/A
| Quantity = 1-2
| Chance = 13.71/100
}}
}}
}}
}}
Line 60: Line 66:
| Skill = Foraging
| Skill = Foraging
| Level = 25
| Level = 25
| Quantity = 1-2
| Chance = 13.71/100
}} {{Item Drop
}} {{Item Drop
| Image = Forest_foraging.png
| Image = Forest_foraging.png
Line 65: Line 73:
| Skill = Foraging, Agility
| Skill = Foraging, Agility
| Level = 25, N/A
| Level = 25, N/A
| Quantity = 1-2
| Chance = 13.71/100
}}
}}
}}
}}

Revision as of 06:10, 8 March 2024

Parameters

Item Drops

A list of Template:Item Drops templates that detail the drop sources for the item. This is required as it is the only parameter.

Quick Copy

Notated copy

{{Item Drops
| Item Drops = 
  {{Item Drop
  | Name = 
  | Image = (Recommended)
  | Skill = 
  | Level = 
  | Quantity = 
  | Chance =
  }}
}}

Empty copy

{{Item Drops
| Item Drops = 
  {{Item Drop
  | Name = 
  | Image = 
  | Skill = 
  | Level = 
  | Quantity = 
  | Chance =
  }}
}}

Examples

The formatting for an item from both Seashell Searching and Forest Foraging is shown below. Note that one set of Item Drop brackets end on the same line as the next begin. This prevents formatting problems.

{{Item Drops
| Item Drops = 
  {{Item Drop
  | Image = Seashell_searching.png
  | Name = Seashell searching
  | Skill = Foraging
  | Level = 25
  }} {{Item Drop
    | Image = Forest_foraging.png
    | Name = Forest foraging
    | Skill = Foraging, Agility
    | Level = 25, N/A
    | Quantity = 1-2
    | Chance = 13.71/100
    }}
}}

Yields:

Activities

Source Skill(s) Level(s) Quantity Chance Rate
Seashell searching Sprite Seashell searching Foraging 25 1-2 13.71/100 Lua error in Module:1inCalculator at line 6: attempt to perform arithmetic on a nil value.
Forest foraging Sprite Forest foraging Foraging
Agility
25
N/A
1-2 13.71/100 Lua error in Module:1inCalculator at line 6: attempt to perform arithmetic on a nil value.