crosscode
Template-info Template Documentation

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

Default:
NULL
Example:
Metal Needles
String Required
Chance chance

Percentage change of drop. Percent sign is optional.

Default:
?
Example:
20%
Number + ("%") Recommended
Rank rank

Drop rank

Default:
Rank-D-icon
Example:
S: Rank-S-icon, A: Rank-A-icon, H: HP<80%
["S" | "A" | "B" | "C" | "D" | "H" ] Recommended
Quantity quantity

Drop quantity

Default:
1
Example:
2, 1-2
[ 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Namename

Item name

Example
<code>Metal Needles</code>
Stringrequired
Chancechance

Percentage change of drop. Percent sign is optional.

Default
?
Example
<code>20%</code>
Contentsuggested
Rankrank

Drop rank

Default
[[File:Rank-D-icon.png]]
Example
S: [[File:Rank-S-icon.png]], A: [[File:Rank-A-icon.png]], H: HP<80%
Contentsuggested
Quantityquantity

Drop quantity

Default
1
Example
<code>2</code>, <code>1-2</code>
Contentoptional

Examples

Item Chance Rank
{{ItemDrop/entry|name=Metal Needles|chance=12%|rank=D}}
Trade-bronzeMetal Needles 12%
Rank-D-icon
{{ItemDrop/entry|name=Sandwich|chance=8%|rank=B|quantity=2}}
Item-consumable-whiteSandwich x 2 8%
Rank-B-icon
{{ItemDrop/entry|name=Hi-Sandwich|chance=8%|rank=B|quantity=1}}
Item-consumable-whiteHi-Sandwich 8%
Rank-B-icon
{{ItemDrop/entry|name=Health Pickup|chance=20%|rank=H}}
Health-smallHealth Pickup 20% HP<80%