Difference between revisions of "Template:NPCLootTable/head"

From Stoneshard wiki
Jump to navigation Jump to search
(Add Extra columns.)
(Changed header. Logic will change for the icons to be shown in the first row, of every category.)
Line 2: Line 2:
{{#if: {{{npc|}}}|! colspan="14" {{!}} [[{{{npc|}}}]] Sells|}}
{{#if: {{{npc|}}}|! colspan="14" {{!}} [[{{{npc|}}}]] Sells|}}
|-
|-
! {{Translate|Weapons|Properties}}
! {{Translate|Category|Properties}}
! {{Translate|Armor|Properties}}
! {{Translate|Types|Properties}}<!--
! {{Translate|Jewelry|Properties}}
! {{Translate|Artifacts|Properties}}
! {{Translate|Treatises|Properties}}
! {{Translate|Loot|Properties}}
! {{Translate|Food|Properties}}
! {{Translate|Beverages|Properties}}
! {{Translate|Potions|Properties}}
! {{Translate|Ingredients|Properties}}
! {{Translate|Drugs|Properties}}
! {{Translate|Medicine|Properties}}
! {{Translate|Scrools|Properties}}
! {{Translate|Ammunition|Properties}}
! {{Translate|Tools and Traps|Properties}}<!--
--></includeonly><noinclude>{{doc|Template:NPCLootTable/head/doc}}[[Category:Templates]]</noinclude>
--></includeonly><noinclude>{{doc|Template:NPCLootTable/head/doc}}[[Category:Templates]]</noinclude>

Revision as of 19:49, 25 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 type of items a NPC trades.

Syntax

{{NPCTable/head}}

Usage

The header is always followed by the {{NPCTable/row}}, according to the necessary amount of NPCs to be display.

{{NPCLootTable/head}}
{{NPCTable/row|Ormond}}
|}

Any NPC Loot information added in NPCLoot data, can be used with the '/row' template.

Examples

a) Only the {{NPCLootTable/head}}:

Category Types

b) With a NPC {{NPCLootTable/head|Ormond}}:

Category Types

c) With {{NPCLootTable/head}} & {{NPCTable/row|NPCs*}}:

Shop

Category Types


Weapons
Weapons icon.png
Bows
Bows.png
Crossbows
Crossbows.png
Staves
Staves.png
Maces
Maces.png
[[Two-Handed Maces
(Wood)]]

[[File:Two-Handed_Maces
(Wood).png|64px|link=]]
Ammunition
File:Ammunition.png


Armor
Armor icon.png
Shields
Shields.png


Other
Other icon.png

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


Weapons
Weapons icon.png


Armor
Armor icon.png