Difference between revisions of "Template:CommoditiesRatioTable/row"
Jump to navigation
Jump to search
m (Fix variables names/count.) |
m |
||
Line 1: | Line 1: | ||
<includeonly><!-- | |||
--- Loads the parameters from the NPC specified in the first parameter --- | --- Loads the parameters from the NPC specified in the first parameter --- | ||
-->{{#vardefine:Location|{{{1}}}}} <!-- Defines Location = first parameter | -->{{#vardefine:Location|{{{1}}}}} <!-- Defines Location = first parameter |
Latest revision as of 05:48, 18 February 2025
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 |
- | - | 1.32 | - | 1.21 | 1.26 | 1.21 |
![]() Bert |
- | 1.16 | 1.32 | 1.16 | - | 1.21 | 1.21 |
![]() Jurg |
- | - | - | 1.26 | - | - | - |
![]() 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 |
- | - | 1.32 | - | 1.21 | 1.26 | 1.21 |
![]() Bert |
- | 1.16 | 1.32 | 1.16 | - | 1.21 | 1.21 |