Difference between revisions of "CommoditiesRatio data"

From Stoneshard wiki
Jump to navigation Jump to search
m (Add tests.)
m (Problem was in the template. #if was detecting false, because of first values being empty.)
Line 14: Line 14:
<!--Osbrook-->
<!--Osbrook-->
|Osbrook = {{#switch: {{{2}}}
|Osbrook = {{#switch: {{{2}}}
|Brukk = ";;1.32;;1.21;1.26;1.21"
|Brukk = ;;1.32;;1.21;1.26;1.21
|Bert = ';1.16;1.32;1.16;;1.21;1.21'
|Bert = ;1.16;1.32;1.16;;1.21;1.21
|Jurg = ;;;1_26;;;
|Jurg = ;;;1.26;;;
|Jebar = _;1_26;_;_;_;_;_
|Jebar = ;1.26;;;;;
|#default = No data available.}}
|#default = No data available.}}


Line 60: Line 60:


|#default = No data.}}
|#default = No data.}}
</includeonly>
</includeonly><noinclude>{{doc|Template:CommoditiesRatio data}}[[Category:Templates]]</noinclude>

Revision as of 07:45, 30 January 2025

Commodities Ratio data

This is the data for the Commodities Ratio Table. It is used to generate the table on the Commodities Ratio Table page.

Data format (datastring)

There are 7 data columns separated by semicolons. Each column represents the price of a commodity in a specific town. The columns are in the following order:

   Grain;Charcoal;Salt;Timber;Beer;Wine;Cider
   Base : 280;300;400;240;240;360;300
This template has no documentation. If you know how to use this template, please add some.