Difference between revisions of "Template:NPCLootTable/row/doc"
Jump to navigation
Jump to search
A) With a NPC
B) With
(Add fixed copy version of NPCTable/row/doc.) |
(Fix examples. "Buys" & "Sells" definition, still need logic to detect what is what, or have two head templates.) |
||
Line 1: | Line 1: | ||
{{doc/start}}{{stub}} | {{doc/start}}{{stub}} | ||
This Template is used to display every type of items a NPC trades. | This Template is used to display every category & type of items a NPC trades. | ||
==Syntax== | ==Syntax== | ||
Line 9: | Line 9: | ||
The header is always followed by the {{tl|NPCLootTable/row}}, according to the necessary amount of NPCs to be display. | The header is always followed by the {{tl|NPCLootTable/row}}, according to the necessary amount of NPCs to be display. | ||
{{Clear}} | {{Clear}} | ||
{{tl|NPCLootTable/head}}<br> | {{tl|NPCLootTable/head|npc=Ormond}}<br> | ||
{{tl|NPCLootTable/row | {{tl|NPCLootTable/row}}<br> | ||
|} | |} | ||
{{Clear}} | {{Clear}} | ||
Line 17: | Line 17: | ||
===Examples=== | ===Examples=== | ||
{{NPCLootTable/head| | ====A) With a NPC {{tl|NPCLootTable/head|npc=Ormond}}:==== | ||
{{NPCLootTable/head|npc=Ormond}} | |||
|} | |} | ||
==== | ====B) With {{tl|NPCLootTable/head|npc=Ormond}} & {{tl|NPCLootTable/row|NPC*}}:==== | ||
=== | === Trades === | ||
{{NPCLootTable/head| | ==== Buys ==== | ||
{{NPCLootTable/head|npc=Ormond}} | |||
{{NPCLootTable/row|Ormond}} | {{NPCLootTable/row|Ormond}} | ||
{{NPCLootTable/row|Jurg}} | {{NPCLootTable/row|Jurg}} | ||
|} | |} | ||
==== Sells ==== | |||
{{NPCLootTable/head| | {{NPCLootTable/head|npc=Lynd}} | ||
{{NPCLootTable/row|Lynd}} | {{NPCLootTable/row|Lynd}} | ||
{{NPCLootTable/row|Dirk_(NPC)}} | {{NPCLootTable/row|Dirk_(NPC)}} |
Revision as of 19:53, 25 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}}
{{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
Category | Types
|
---|---|
| |
Sells
Category | Types
|
---|---|
| |