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

From Stoneshard wiki
Jump to navigation Jump to search
(Fix examples. "Buys" & "Sells" definition, still need logic to detect what is what, or have two head templates.)
m (Add test.)
Line 33: Line 33:
==== Sells ====
==== Sells ====
{{NPCLootTable/head|npc=Lynd}}
{{NPCLootTable/head|npc=Lynd}}
{{NPCLootTable/row|Lynd}}
{{NPCLootTable/row|Weapons}}
{{NPCLootTable/row|Dirk_(NPC)}}
{{NPCLootTable/row|Armor}}
|}
|}


{{doc/end}}
{{doc/end}}
[[Category:Template_documentation]]
[[Category:Template_documentation]]

Revision as of 01:16, 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

Category Types



Sells

Category Types