Template:NPCLootTable/row

From Stoneshard wiki
Revision as of 06:11, 27 January 2025 by Kaleb (talk | contribs) (Finally Working. Item images working. Needs logic for "Buys" Action.)
Jump to navigation Jump to search

WORKING: [INCOMPLETE]
The   Represents a space " ", to not break the reference for the items. DO NOT DELETE.

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


{{{3}}}
[[File:{{{3}}}_icon.png|42px]]
[[]]
No image found.
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
   
{{{2}}})
  • With "head" & "Buys"
Category Types


{{{3}}}
[[File:{{{3}}}_icon.png|42px]]
[[]]
No image found.
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
   

Sells

  • With "head", "Sells" & "end"
Category Types


Weapons
Weapons icon.png
Training Crossbow
Training Crossbow.png
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
   
{{{2}}})
  • With "head|Bert|Sells" & "SellsX3"
Bert Sells
Category Types


Weapons
Weapons icon.png
Training Crossbow
Training Crossbow.png
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
   


Armor
Armor icon.png
Travelling Shoes
Travelling Shoes.png
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
   


Tools
Tools icon.png
Hammer
File:Hammer.png
Pickaxe
Pickaxe.png
Bedroll
Bedroll.png
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
   
  • With "head" & "SellsX2"
Category Types


Weapons
Weapons icon.png
Training Crossbow
Training Crossbow.png
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found
   


Tools
Tools icon.png
Hammer
File:Hammer.png
Pickaxe
Pickaxe.png
Bedroll
Bedroll.png
[[]]
No image found
[[]]
No image found
[[]]
No image found
[[]]
No image found