70,989
edits
m
no edit summary
(Fix template names) |
HiddenDragon (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
=== {{[[Drop table start]]}} === | === {{[[Template:Drop table start]]}} === | ||
This template starts a table. | This template starts a table. | ||
Line 11: | Line 11: | ||
<pre>{{Drop table start|caption=An optional caption to head the table.|skip_chance=If non-empty will hide the Chance column.}}</pre> | <pre>{{Drop table start|caption=An optional caption to head the table.|skip_chance=If non-empty will hide the Chance column.}}</pre> | ||
=== {{[[Drop table row]]}} === | === {{[[Template:Drop table row]]}} === | ||
The meat and potatoes of a drop table, each invocation of this template adds an item row to the drop table. If an icon or icon_override is specified, that icon is used. Otherwise, the icon is automatically fetched and included, if one exists. | The meat and potatoes of a drop table, each invocation of this template adds an item row to the drop table. If an icon or icon_override is specified, that icon is used. Otherwise, the icon is automatically fetched and included, if one exists. | ||
Line 17: | Line 17: | ||
<pre>{{Drop table row | <pre>{{Drop table row | ||
|item=The page name of the item. No square brackets required. | |item=The page name of the item. No square brackets required. | ||
|uid=The UID of the item. If specified, looks up the item instead by its UID. | |||
|quantity=How many of the item is dropped. It can be a range (e.g. 3 - 5) or a set of possibilities (1;3;5). | |quantity=How many of the item is dropped. It can be a range (e.g. 3 - 5) or a set of possibilities (1;3;5). | ||
|rarity=The weight of the item in the drop table, specified as a fraction. Write "Always" for guaranteed drops. | |rarity=The weight of the item in the drop table, specified as a fraction. Write "Always" for guaranteed drops. | ||
Line 56: | Line 57: | ||
<pre>{{Droptable nothing|chance=}}</pre> | <pre>{{Droptable nothing|chance=}}</pre> | ||
=== {{[[Drop table end]]}} === | === {{[[Template:Drop table end]]}} === | ||
No parameters. It ends the table. | No parameters. It ends the table. | ||
Line 69: | Line 70: | ||
{{Drop table row|item=Potion of Superior Healing|quantity=2|rarity=1/25}} | {{Drop table row|item=Potion of Superior Healing|quantity=2|rarity=1/25}} | ||
{{Drop table row|item=Potion of Superior Healing|alias=Definitely Not a Healing Potion|quantity=2|rarity=1/25}} | {{Drop table row|item=Potion of Superior Healing|alias=Definitely Not a Healing Potion|quantity=2|rarity=1/25}} | ||
{{Droptable nothing|chance= | {{Droptable nothing|chance=3/25}} | ||
{{Drop table reroll|chance=1/25}} | |||
{{Drop table end}} | {{Drop table end}} | ||