Template:ItemDrop: Difference between revisions

From CrossCode Wiki
Jump to navigation Jump to search
mNo edit summary
(Move documentation to /doc)
Line 1: Line 1:
<noinclude>
<noinclude>{{doc}}</noinclude>
{{Enemy_Card|name=Flamin' Hillkat
|sprite=File:Red-meerkat-sprite.png
|location=[[Autumn's Rise]]
|level=10
|type=Organic
|subtype=Mammal
|MaxHP=390
|Atk=44
|Def=39
|Foc=46
|HeatResist=50%
|ColdResist=-50%
|EXP=45
|Credit=47
|Drops=
{{ItemDrop|{{ItemDrop/entry|name=Headphone Scraps|chance=12%|rank=D}}{{ItemDrop/entry|name=Hi-Sandwich|chance=8%|rank=B}}
}}
}}
This template is for the [[Template:Enemy_Card|Enemy_Card]] Template. Here's how you can use it:
<pre>
|Drops=
{{ItemDrop|{{ItemDrop/entry|name=Headphone Scraps|chance=12%|rank=D}}{{ItemDrop/entry|name=Hi-Sandwich|chance=8%|rank=B}}
}}
</pre>
[[Items|List of all Items]]
</noinclude>
<includeonly>
<includeonly>
{| class="wikitable sortable" style="margin: 0px;" width="100%"
{| class="wikitable sortable" style="margin: 0px;" width="100%"

Revision as of 20:33, 23 February 2016

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 {{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

Example

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


Item Chance Rank
Headphone Scraps 12%
Hi-Sandwich 8%