Difference between revisions of "Template:NPCLootTable/row/doc"
Jump to navigation
Jump to search
A) With a NPC
B) With
m (Add new head template) |
(Add multiple examples for template usage.) |
||
Line 26: | Line 26: | ||
=== Trades === | === Trades === | ||
Bert as example | |||
With "Buys", " | |||
== Buys == | |||
* With "head|Bert|Buys", "Buys" & "end" | |||
{{NPCLootTable/head|Bert|Buys}} | {{NPCLootTable/head|Bert|Buys}} | ||
{{NPCLootTable/row|Bert|Buys}} | {{NPCLootTable/row|Bert|Buys}} | ||
{{NPCLootTable/end}} | {{NPCLootTable/end}} | ||
|} | |} | ||
With " | * With "head" & "Buys" | ||
{{NPCLootTable/head | {{NPCLootTable/head}} | ||
{{NPCLootTable/row|Bert|Buys}} | {{NPCLootTable/row|Bert|Buys}} | ||
|} | |} | ||
==== Sells | |||
Bert | == Sells == | ||
* With "head", "Sells" & "end" | |||
{{NPCLootTable/head}} | |||
{{NPCLootTable/row|Bert|Sells|Weapons}} | |||
{{NPCLootTable/end}} | |||
|} | |||
* With "head|Bert|Sells" & "SellsX3" | |||
{{NPCLootTable/head|Bert|Sells}} | {{NPCLootTable/head|Bert|Sells}} | ||
{{NPCLootTable/row|Bert|Sells|Weapons}} | {{NPCLootTable/row|Bert|Sells|Weapons}} | ||
{{NPCLootTable/row|Bert|Sells|Armor}} | {{NPCLootTable/row|Bert|Sells|Armor}} | ||
{{NPCLootTable/row|Bert|Sells|Tools}} | |||
|} | |||
* With "head" & "SellsX2" | |||
{{NPCLootTable/head}} | |||
{{NPCLootTable/row|Bert|Sells|Weapons}} | |||
{{NPCLootTable/row|Bert|Sells|Tools}} | {{NPCLootTable/row|Bert|Sells|Tools}} | ||
|} | |} |
Latest revision as of 21:52, 27 January 2025
![]() |
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|Bert}}
{{NPCLootTable/row}}
|}
Any NPC Loot information added in NPCLoot data, can be used with the '/row' template.
Examples
A) With a NPC {{NPCLootTable/head|Bert}}
:
Category | Types |
---|
B) With {{NPCLootTable/head|Bert}}
& {{NPCLootTable/row|NPC*}}
:
Trades
Bert as example
Buys
- With "head|Bert|Buys", "Buys" & "end"
Bert Buys | ||||||||
---|---|---|---|---|---|---|---|---|
Category | Types
| |||||||
![]() Bert |
[[]]![]() ![]() ![]() ![]() ![]() ![]() ![]() | |||||||
{{{2}}}) |
- With "head" & "Buys"
Category | Types
|
---|---|
![]() Bert |
[[]]![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Sells
- With "head", "Sells" & "end"
Category | Types
| |||||||
---|---|---|---|---|---|---|---|---|
Weapons![]() |
Training Crossbow![]()
| |||||||
{{{2}}}) |
- With "head|Bert|Sells" & "SellsX3"
Bert Sells | |
---|---|
Category | Types
|
Weapons![]() |
Training Crossbow![]()
|
Armor![]() |
Travelling Shoes![]()
|
Tools![]() |
Hammer File:Hammer.pngPickaxe ![]() ![]()
|
- With "head" & "SellsX2"
Category | Types
|
---|---|
Weapons![]() |
Training Crossbow![]()
|
Tools![]() |
Hammer File:Hammer.pngPickaxe ![]() ![]()
|