Template:AddLoot: Difference between revisions

No edit summary
No edit summary
(10 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
   |RaritySort=Integer
  |RestockTimer=Integer
}}</noinclude><includeonly><span style="display:none">{{#cargo_store:
}}</noinclude><includeonly><span style="display:none">{{#cargo_store:
   _table=LootTable
   _table=LootTable
Line 12: Line 14:
   |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|Unknown}}}}}
   |RaritySort={{#invoke:RarityHandler|getSortValue|{{{rarity|Unknown}}}}}
  |RestockTimer={{{restock|}}}
}}</span></includeonly>
}}</span></includeonly>