Difference between revisions of "Template:ValuableTable/row"

From Stoneshard wiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>
<includeonly><!--
<!-- Load complete datastring into a variable - to only load from the Loot data page once. -->
<!-- Load complete datastring into a variable - to only load from the Loot data page once. -->
{{#vardefine:Datastring|{{:Valuable_data|{{{1}}}}}}}
-->{{#vardefine:Datastring|{{:Valuable_data|{{{1}}}}}}}<!--
<!-- Separate values from datastring into individual variables. -->
-- Separate values from datastring into individual variables. --
-->{{#vardefine:ItemName|{{#explode: {{#var:Datastring}}|;|0}}}}<!--
-->{{#vardefine:ItemName|{{#explode: {{#var:Datastring}}|;|0}}}}<!--
-->{{#vardefine:ItemID|{{#explode: {{#var:Datastring}}|;|1}}}}<!--
-->{{#vardefine:ItemID|{{#explode: {{#var:Datastring}}|;|1}}}}<!--

Revision as of 21:09, 14 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.

Example

Item Inv. Slots Price Gold Icon Description


-->


Agate
Agate
50 Common folk believe agate to bring good luck. It's often used to make cheap jewelry. Gold.png valuable01