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

From Stoneshard wiki
Jump to navigation Jump to search
(Add Buys & end example.)
m (Add more examples/tests.)
Line 26: Line 26:


=== Trades ===
=== Trades ===
==== Buys & end ====
With "Buys" & "end"
{{NPCLootTable/head|npc=Jurg}}
{{NPCLootTable/row|Jurg|Buys}}
{{NPCLootTable/end}}
|}
==== Buys ====
==== Buys ====
With "Buys" & "end"
With "Buys" & "end"
{{NPCLootTable/head|npc=Jurg}}
{{NPCLootTable/head|npc=Jurg}}
{{NPCLootTable/row|Jurg|Buys}}
{{NPCLootTable/row|Jurg|Buys}}
{{NPCLootTable/end}}
|}
|}
==== Sells ====
==== Sells ====

Revision as of 10:25, 27 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 & end

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}}})

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

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