Still landing on the old Fandom wiki? Install the HighSpell Wiki Redirector browser extension to automatically redirect all highspell.fandom.com links to highspell.wiki. Works on both Firefox and Chrome, and is open-source. → Learn more and install it now!

Template:AddLoot: Difference between revisions

From HighSpell Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
(14 intermediate revisions by the same user not shown)
Line 4: Line 4:
   |LootKey=String
   |LootKey=String
   |Item=Page
   |Item=Page
   |Quantity=Integer
   |MinimumQuantity=Integer
  |MaximumQuantity=Integer
   |Rarity=String
   |Rarity=String
  |RaritySort=Integer
  |RestockTimer=Integer
}}</noinclude><includeonly><span style="display:none">{{#cargo_store:
}}</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}}}}}}}
   |RaritySort={{#invoke:RaritySort|getSortValue|{{{rarity}}}}}
   |RaritySort={{#invoke:RarityHandler|getSortValue|{{{rarity|Unknown}}}}}
  |RestockTimer={{{restock|}}}
}}</span></includeonly>
}}</span></includeonly>

Revision as of 13:00, 19 May 2025

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