Difference between revisions of "Template:NPCLootTable/row/doc"

From Stoneshard wiki
Jump to navigation Jump to search
m (Fix example to show new template.)
(Add Buys & end example.)
Line 27: Line 27:
=== Trades ===
=== Trades ===
==== Buys ====
==== Buys ====
{{NPCLootTable/head|npc=Ormond}}
With "Buys" & "end"
{{NPCLootTable/row|Ormond}}
{{NPCLootTable/head|npc=Jurg}}
{{NPCLootTable/row|Jurg}}
{{NPCLootTable/row|Jurg|Buys}}
{{NPCLootTable/end}}
|}
|}
==== Sells ====
==== Sells ====
Bert as example
{{NPCLootTable/head|npc}}
{{NPCLootTable/head|npc}}
{{NPCLootTable/row|Bert|Sells|Weapons}}
{{NPCLootTable/row|Bert|Sells|Weapons}}

Revision as of 22:45, 26 January 2025

Template-info.png Documentation

This article is a stub. You can help Stoneshard wiki by expanding it.

This Template is used to display every category & type of items a NPC trades.

Syntax

{{NPCTable/head}}

Usage

The header is always followed by the {{NPCLootTable/row}}, according to the necessary amount of NPCs to be display.

{{NPCLootTable/head}}
{{NPCLootTable/row}}
|}

Any NPC Loot information added in NPCLoot data, can be used with the '/row' template.

Examples

A) With a NPC {{NPCLootTable/head}}:

Category Types

B) With {{NPCLootTable/head}} & {{NPCLootTable/row|NPC*}}:

Trades

Buys

With "Buys" & "end"

Category Types


Jurg.png
Jurg
[[]]
Armor icon.png
[[]]
Consumables icon.png
[[]]
Jewelry icon.png
[[]]
Other icon.png
[[]]
Reagents icon.png
[[]]
Tools icon.png
[[]]
Weapons icon.png
{{{2}}})

Sells

Bert as example

npc
Category Types


Weapons
Weapons icon.png
Training Crossbow
Training Crossbow.png


Armor
Armor icon.png
Travelling Shoes
Travelling Shoes.png


Tools
Tools icon.png
Hammer
File:Hammer.png
Pickaxe
Pickaxe.png
Bedroll
Bedroll.png