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

From Stoneshard wiki
Jump to navigation Jump to search
m (Add Debug example)
m
 
Line 14: Line 14:
Any Valuables added in [[Valuable data|Valuable Data]], can be used with the '/row' template.
Any Valuables added in [[Valuable data|Valuable Data]], can be used with the '/row' template.


===Debug====
===Debug===
For future modifications or debugging, you can add this, after the "ItemDescription" variable (Open Source to verify code):<br>
For future modifications or debugging, you can add this, after the "ItemDescription" variable (Open Source to verify code):<br>
     [...]
     [...]

Latest revision as of 05:57, 22 January 2025

Template-info.png Documentation

This article is a stub. You can help Stoneshard wiki by expanding it.

This Template replicates the logic used for the Template:WeaponTable/row.

Syntax

{{ValuableTable/row|Agate}}

Usage

It should be used with a 'header', right before it.
{{ValuableTable/head}}
{{ValuableTable/row|Agate}}.

Any Valuables added in Valuable Data, can be used with the '/row' template.

Debug

For future modifications or debugging, you can add this, after the "ItemDescription" variable (Open Source to verify code):

   [...]
   |{{{1}}}
   Base Image: 
   Variants: 
   Datastring: 

Examples

Single Image

Item Inv. Slots Price Gold Icon Description
Agate
Agate
1×1 50 Gold.png Common folk believe agate to bring good luck. It's often used to make cheap jewelry.

Multiple Images

Item Inv. Slots Price Gold Icon Description
Horse Pelt
Horse Pelt
Horse Pelt
Horse Pelt
Horse Pelt
2×3 60 Gold.png Peasants only kill horses that are hopelessly sick or already half-dead from old age.
Rabbit Pelt
Rabbit Pelt
Rabbit Pelt
1×2 40-50 Gold.png Despite how cautious and skittish rabbits can be, hunting one down isn't that hard. Their pelts are usually used to make clothes.