Ad placeholder

Template:DropTable: Difference between revisions

Jump to navigation Jump to search
Update docs for droptablerow
m (→‎Miscellaneous Test Table: Fix other template link)
(Update docs for droptablerow)
Line 13: Line 13:
=== {{[[DropTableRow]]}} ===
=== {{[[DropTableRow]]}} ===


The meat and potatoes of a drop table, each invocation of this template adds an item row to the drop table.
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.


<pre>{{DropTableRow
<pre>{{DropTableRow
|icon=(optional) The item's icon. No File: prefix required. TODO: Take advantage of Cargo to automatically fetch icons from the item page.
|icon=(optional) The item's icon without a File: prefix.
|icon_override=(optional) The item's icon. This will be included directly into the template, so you will need to format it properly.
|icon_override=(optional) The item's icon. This will be included directly into the template, so you will need to format it properly.
|item=The page name of the item. No square brackets required.
|item=The page name of the item. No square brackets required.

Navigation menu