Template:Drops table header: Difference between revisions
Jump to navigation
Jump to search
Cryebunnie (talk | contribs) No edit summary |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
{| {{STDT|sortable item}} | {| {{STDT|sortable partial-collapsible item}} | ||
|- | |- | ||
! {{#if:{{{width|}}}|style="width:{{#iferror:{{#expr:{{{width}}}}}|250|{{{width}}}}}px;" {{!}} | }} Name !! Type !! Item Level !! Rarity !! Quantity {{#ifeq:{{#vardefineecho:item_drop_show_levels|{{{show-levels|{{#iferror:{{#ifexpr:{{#show:{{PAGENAME}}|?Has NPC level|default=0}}>0}}|y|n}} }}}}}|y|!! Creature level<!-- | ! {{#if:{{{width|}}}|style="width:{{#iferror:{{#expr:{{{width}}}}}|250|{{{width}}}}}px;" {{!}} | }} Name !! Type !! Item Level !! Rarity !! Quantity {{#ifeq:{{#vardefineecho:item_drop_show_levels|{{{show-levels|{{#iferror:{{#ifexpr:{{#show:{{PAGENAME}}|?Has NPC level|default=0}}>0}}|y|n}} }}}}}|y|!! Creature level<!-- | ||
Revision as of 07:48, 23 May 2026
| Name | Type | Item Level | Rarity | Quantity |
|---|---|---|---|---|
Description
To be used in conjunction with {{Drops table row}}.
Parameters
- levels
- Optional. Defines the default level range that is used by entries. Defaults to Property:Has NPC level.
- show-levels
- Optional. Adds a column header for Creature level. Default is hidden if there is only one level for the creature.
- width
- Optional. Limits the Name column to the parameter value in pixels. Defaults to 250px if no number is given.