Template:ItemDrop/doc

From CrossCode Wiki
Jump to navigation Jump to search
File:Template-info.svg Template Documentation

About

Creates an Item Drop table. See Template:ItemDrop/entry for more information about the ItemDrop template.

Parameter

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
Entries 1

Drop list

Default:
NULL
Example:
no example
1 {Template:ItemDrop/entry} Required

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

ParameterDescriptionTypeStatus
Entries1

Drop list

Contentrequired

Examples

Complete example:

Item Chance Rank
Headphone Scraps x 1-2 12%
Hi-Sandwich 8%
{{ItemDrop|{{ItemDrop/entry|name=Headphone Scraps|chance=12%|rank=D|quantity=1-2}}{{ItemDrop/entry|name=Hi-Sandwich|chance=8%|rank=B|quantity=1}}}}