Difference between revisions of "Template:ValuableTable/head"

From Stoneshard wiki
Jump to navigation Jump to search
m
(Add consistency test.)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="stoneshard sortable" style="text-align: center; margin: auto;"
{| class="stoneshard sortable" style="text-align: center; margin: auto; border-collapse: collapse;"
! width="3%" | {{Translate|Item|Properties}}
! style="width: 3%; white-space: nowrap;" | {{Translate|Item|Properties}}
! width="2%" | {{abbr|Inv. Slots|Width × Height}}
! style="width: 2%; white-space: nowrap;" | {{abbr|Inv. Slots|Width × Height}}
! width="2%" data-sort-type="number" | {{Translate|Price|Properties}}[[File:Gold.png|27x27px]]
! style="width: 2%; white-space: nowrap;" data-sort-type="number" | {{Translate|Price|Properties}} [[File:Gold.png|16x16px|alt=Gold Icon]]
! width="10%" | {{Translate|Description|Properties}}
! style="width: 10%; text-align: left;" | {{Translate|Description|Properties}}
</includeonly>
</includeonly>
<noinclude>{{doc|ValuableTable/head}}[[Category:Templates]]</noinclude>
<noinclude>{{doc|ValuableTable/head}}[[Category:Templates]]</noinclude>

Revision as of 02:48, 15 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/head.

Syntax

{{ValuableTable/head}}

Usage

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

{{ValuableTable/head}}
{{ValuableTable/row|Agate}}.

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

Example

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

Item Inv. Slots Price Gold Icon Description


b) With {{ValuableTable/head}} & {{ValuableTable/row|Agate}}:

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.