Template:AddLoot: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(28 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{#cargo_declare: | ||
{{#cargo_declare: | |||
_table=LootTable | _table=LootTable | ||
|Source=Page | |Source=Page | ||
|LootKey=String | |LootKey=String | ||
|Item=Page | |Item=Page | ||
| | |MinimumQuantity=Integer | ||
|MaximumQuantity=Integer | |||
|Rarity=String | |Rarity=String | ||
}} | |RaritySort=Integer | ||
</noinclude> | |RestockTimer=Integer | ||
<includeonly> | }}</noinclude><includeonly><span style="display:none">{{#cargo_store: | ||
{{#cargo_store: | |||
_table=LootTable | _table=LootTable | ||
|Source={{ | |Source={{FULLPAGENAMEE}} | ||
|LootKey={{# | |LootKey={{lc:{{#replace:{{#replace:{{#replace:{{{alt|{{PAGENAMEE}}}}}|%27|}}|_|}}}}}} | ||
|Item={{{item}}} | |Item={{{item}}} | ||
| | |MinimumQuantity={{#if:{{{minquantity|}}}|{{{minquantity}}}|{{{quantity|1}}}}} | ||
| | |MaximumQuantity={{#if:{{{maxquantity|}}}|{{{maxquantity}}}|{{#if:{{{minquantity|}}}|{{{minquantity}}}|{{{quantity|1}}}}}}} | ||
}} | |RaritySort={{#invoke:RarityHandler|getSortValue|{{{rarity|Unknown}}}}} | ||
</includeonly> | |RestockTimer={{{restock|}}} | ||
}}</span></includeonly> |
Revision as of 13:00, 19 May 2025
This template defines the table "LootTable". View table.