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

From Stoneshard wiki
Jump to navigation Jump to search
m (Add tests.)
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{doc/start}}
{{doc/start}}


==No header==
==Usage==
{{CommoditiesRatioTable/row}}
 
{{CommoditiesRatioTable/row|Osbrook}}
{{tl|CommoditiesRatioTable/head|town=Osbrook}}*<br>
{{tl|CommoditiesRatioTable/row|Osbrook|Brukk}}
 
*head can use -> |town=Osbrook
 
==Examples==
=== Previous usage ===
{{CommoditiesRatioTable/head|town=Osbrook}}
{{CommoditiesRatioTable/row|Osbrook|Brukk}}
{{CommoditiesRatioTable/row|Osbrook|Brukk}}
{{CommoditiesRatioTable/row|Osbrook|Bert}}
{{CommoditiesRatioTable/row|Osbrook|Jurg}}
{{CommoditiesRatioTable/row|Osbrook|Jebar}}
|}
|}


==With header==
=== New implementation ===
The new implementation used in [[Commodities]], do not define 'town' and uses the <tabber> parser tag, in the page itself, instead of the template.<br>
More information on the <tabber> parser tag, can be found in the [[Stoneshard_wiki:Community_portal|Community Portal]], under "Tabs".
{{CommoditiesRatioTable/head}}
{{CommoditiesRatioTable/head}}
{{CommoditiesRatioTable/row}}
{{CommoditiesRatioTable/row|Osbrook}}
{{CommoditiesRatioTable/row|Osbrook|Brukk}}
{{CommoditiesRatioTable/row|Osbrook|Brukk}}
{{CommoditiesRatioTable/row|Osbrook|Bert}}
|}
|}
{{doc/end}}
{{doc/end}}

Latest revision as of 05:44, 18 February 2025

Template-info.png Documentation

Usage

{{CommoditiesRatioTable/head}}*
{{CommoditiesRatioTable/row|Osbrook|Brukk}}

  • head can use -> |town=Osbrook

Examples

Previous usage

Osbrook NPCs Ratios
NPCs Sacks of Grain Crates of Charcoal Sacks of Salt Shipment of Timber Barrel of Beer Crates of Wine Pails of Cider
Brukk.png
Brukk
- - 1.32 - 1.21 1.26 1.21
Bert.png
Bert
- 1.16 1.32 1.16 - 1.21 1.21
Jurg.png
Jurg
- - - 1.26 - - -
Jebar.png
Jebar
- 1.26 - - - - -

New implementation

The new implementation used in Commodities, do not define 'town' and uses the <tabber> parser tag, in the page itself, instead of the template.
More information on the <tabber> parser tag, can be found in the Community Portal, under "Tabs".

NPCs Sacks of Grain Crates of Charcoal Sacks of Salt Shipment of Timber Barrel of Beer Crates of Wine Pails of Cider
Brukk.png
Brukk
- - 1.32 - 1.21 1.26 1.21
Bert.png
Bert
- 1.16 1.32 1.16 - 1.21 1.21