Template:ItemDrop/entry/doc
< Template:ItemDrop | entry
About
Creates an Item Drop entry.
Parameters
Do not use named parameter for 1
... x
. The first Parameter will be automatically marked as 1
, the second as 2
and so on.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name
|
Item name
|
String | Required |
Chance | chance
|
Percentage change of drop. Percent sign is optional.
|
Number + ("%") | Recommended |
Rank | rank
|
Drop rank |
["S" | "A" | "B" | "C" | "D" | "H" ] | Recommended |
Quantity | quantity
|
Drop quantity
|
[ 1 {NonzeroNumber} + ( "-" + {NonzeroNumber} ) ] | Optional |
See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation
Test of raw TemplateData output:
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Item name
| String | required |
Chance | chance | Percentage change of drop. Percent sign is optional.
| Content | suggested |
Rank | rank | Drop rank
| Content | suggested |
Quantity | quantity | Drop quantity
| Content | optional |
Examples
Item | Chance | Rank | |
---|---|---|---|
{{ItemDrop/entry|name=Metal Needles|chance=12%|rank=D}} | |||
![]() |
12% | ![]() | |
{{ItemDrop/entry|name=Sandwich|chance=8%|rank=B|quantity=2}} | |||
![]() |
8% | ![]() | |
{{ItemDrop/entry|name=Health Pickup|chance=20%|rank=H}} | |||
![]() |
20% | HP<80% |