Template:AddLoot: Difference between revisions
Created page with "<noinclude> {{#cargo_declare: _table=LootTable |Source=Page |Key=String |Item=Page |Quantity=Integer |Rarity=String }} </noinclude> <includeonly> {{#vardefine:lootSource|{{#if:{{{alt|}}}|{{{alt}}}|{{FULLPAGENAME}}}}} {{#vardefine:lootKey|{{lc:{{#replace:{{#replace:{{#replace:{{#var:lootSource}}|%27|}}|_|}}}}}} {{#cargo_store: _table=LootTable |Source={{#var:lootSource}} |Key={{#var:lootKey}} |Item={{{item}}} |Quantity={{{quantity|1}}} |Rarity={{{..." |
No edit summary |
||
Line 3: | Line 3: | ||
_table=LootTable | _table=LootTable | ||
|Source=Page | |Source=Page | ||
| | |LootKey=String | ||
|Item=Page | |Item=Page | ||
|Quantity=Integer | |Quantity=Integer | ||
Line 16: | Line 16: | ||
_table=LootTable | _table=LootTable | ||
|Source={{#var:lootSource}} | |Source={{#var:lootSource}} | ||
| | |LootKey={{#var:lootKey}} | ||
|Item={{{item}}} | |Item={{{item}}} | ||
|Quantity={{{quantity|1}}} | |Quantity={{{quantity|1}}} |