Template:AddLoot: Difference between revisions

From HighSpell Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="display:none"><noinclude>{{#cargo_declare:
<noinclude>{{#cargo_declare:
   _table=LootTable
   _table=LootTable
   |Source=Page
   |Source=Page
   |LootKey=String
   |LootKey=String
   |Item=Page
   |Item=Page
   |Quantity=Integer
   |MinimumQuantity=Integer
  |MaximumQuantity=Integer
   |Rarity=String
   |Rarity=String
}}</noinclude><includeonly>{{#cargo_store:
  |RaritySort=Integer
  |RestockTimer=Integer
}}</noinclude><includeonly><span style="display:none">{{#cargo_store:
   _table=LootTable
   _table=LootTable
   |Source={{FULLPAGENAME}}
   |Source={{FULLPAGENAMEE}}
   |LootKey={{lc:{{#replace:{{#replace:{{#replace:{{{alt|{{PAGENAMEE}}}}}|%27|}}|_|}}}}}}
   |LootKey={{lc:{{#replace:{{#replace:{{#replace:{{{alt|{{PAGENAMEE}}}}}|%27|}}|_|}}}}}}
   |Item={{{item}}}
   |Item={{{item}}}
   |Quantity={{{quantity|1}}}
   |MinimumQuantity={{#if:{{{minquantity|}}}|{{{minquantity}}}|{{{quantity|1}}}}}
   |Rarity={{{rarity|Unknown}}}
   |MaximumQuantity={{#if:{{{maxquantity|}}}|{{{maxquantity}}}|{{#if:{{{minquantity|}}}|{{{minquantity}}}|{{{quantity|1}}}}}}}
}}</includeonly></span>
  |RaritySort={{#invoke:RarityHandler|getSortValue|{{{rarity|Unknown}}}}}
  |RestockTimer={{{restock|}}}
}}</span></includeonly>

Revision as of 13:00, 19 May 2025

This template defines the table "LootTable". View table.