Jump to content

Template:LootTableRow

From Apogea Wiki
Revision as of 15:07, 3 February 2026 by Quasindro (talk | contribs) (Created page with "<includeonly>{{#cargo_store:_table=ItemSource | item = {{{item|{{{1|}}}}}} | source = {{{monster|{{PAGENAME}}}}} | source_type = Monster | rarity = {{{rarity|common}}} | min = {{{min|1}}} | max = {{{max|}}} }} |- | style="text-align:center;" | {{Sprite|{{{item|{{{1|}}}}}}|x2}} | [[{{{item|{{{1|}}}}}}]] | data-sort-value="{{#if:{{{max}}}|{{{max}}}|{{{min|1}}}}}" | {{#if:{{{min|}}}|{{#if:{{{max}}}|{{#ifexpr:{{{min|1}}} = {{{max}}}|{{{min|1}}}|{{{min|1}}}-{{{max}}}}}|{{{min...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template adds rows to the table "ItemSource", which is declared by the template ItemSource. View table. Stores loot item data to Cargo and outputs a table row. Use with Template:Tl and Template:Tl.

Usage

{{LootTableHeader}}
{{LootTableRow|item=Wood Twigs|rarity=common|max=2}}
{{LootTableRow|Leather Boots|rarity=semirare}}
{{LootTableFooter}}

Parameters

  • item - The item in the drop table (required)
  • sprite - The sprite used for the item (defaults to item name)
  • min - Minimum quantity dropped (defaults to 1)
  • max - Maximum quantity dropped (omit if static quantity)
  • rarity - Drop rarity: common, semirare, rare, veryrare, ultrarare (defaults to common)