Template:NPCLoot: Difference between revisions
Jump to navigation
Jump to search
Created page with "<noinclude> {{#cargo_declare: _table=NpcDrops |NPC=Page |Item=Page |Quantity=Integer |Rarity=String }} </noinclude> {{#cargo_store: _table=NpcDrops |NPC={{FULLPAGENAME}} |Item={{{item}}} |Quantity={{{quantity|1}}} |Rarity={{{rarity|Unknown}}} }}" |
No edit summary |
||
(26 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{#cargo_declare: | {{#cargo_declare: | ||
_table=NpcDrops | _table=NpcDrops | ||
| | |NPCKey=Page | ||
|Item=Page | |Item=Page | ||
|Quantity=Integer | |Quantity=Integer | ||
|Rarity=String | |Rarity=String | ||
|BuyPrice=String | |||
|SellPrice=String | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly> | |||
{{#vardefine:npckey|{{FULLPAGENAME}}}} | |||
{{#vardefine:npckey|{{#replace:{{#var:npckey}}|'|}}}} | |||
{{#vardefine:npckey|{{#replace:{{#var:npckey}}|,|}}}} | |||
{{#vardefine:npckey|{{#replace:{{#var:npckey}}| |}}}} | |||
{{#vardefine:npckey|{{lc:{{#var:npckey}}}}}} | |||
{{#cargo_store: | {{#cargo_store: | ||
_table=NpcDrops | _table=NpcDrops | ||
| | |NPCKey={{#var:npckey}} | ||
|Item={{{item}}} | |Item={{{item}}} | ||
|Quantity={{{quantity|1}}} | |Quantity={{{quantity|1}}} | ||
|Rarity={{{rarity|Unknown}}} | |Rarity={{{rarity|Unknown}}} | ||
|BuyPrice={{{buyprice|?}}} | |||
|SellPrice={{{sellprice|?}}} | |||
}} | }} | ||
</includeonly> |
Latest revision as of 14:54, 15 May 2025
This template defines the table "NpcDrops". View table.