Difference between revisions of "Template:NPCLootTable/head"

From Stoneshard wiki
Jump to navigation Jump to search
(Add second parameter, to dinamically show the table action. "Buys" or "Sells".)
m
 
Line 1: Line 1:
<includeonly>{| class="stoneshard sortable fixed-layout cell-hover center" width="{{{width|100%}}}"
<includeonly>{| class="stoneshard sortable fixed-layout cell-hover center" width="{{{width|100%}}}"
{{#if: {{{1|}}}|! colspan="2" {{!}} [[{{{1|}}}]] [[{{{2|}}}]]|}}
{{#if: {{{1|}}}|! colspan="2" {{!}} [[{{{1|}}}]] {{{2|}}}|}}
|-
|-
! width="5%" | {{Translate|Category|Properties}}
! width="5%" | {{Translate|Category|Properties}}
! width="30%" | {{Translate|Types|Properties}}<!--
! width="30%" | {{Translate|Types|Properties}}<!--
--></includeonly><noinclude>{{doc|Template:NPCLootTable/head/doc}}[[Category:Templates]]</noinclude>
--></includeonly><noinclude>{{doc|Template:NPCLootTable/head/doc}}[[Category:Templates]]</noinclude>

Latest revision as of 10:56, 27 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}}:

Ormond
Category Types

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

Shop

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

Jurg Buys
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
Lynd Sells
Category Types


Weapons
Weapons icon.png


Armor
Armor icon.png