Template:Ware row: Difference between revisions
MirkLurkBot (talk | contribs) repo-sync: b9dcb7e974a0 text:04e14142151a8033317604a311f5a383 |
MirkLurkBot (talk | contribs) repo-sync: 3541005e5de1 text:f0b267397e58ab883b33d91731ad1797 |
||
| Line 1: | Line 1: | ||
<includeonly><tr><td>{{{anchors|}}}{{{seller| | <includeonly><tr><td>{{{anchors|}}}{{{seller|Unknown}}}</td><td>{{Item|{{{item|}}}}}</td>{{#if:{{{quantity|}}}|<td>{{{quantity}}}</td>}}{{#if:{{{price|}}}|<td>{{{price}}}</td>}}{{#if:{{{currency|}}}|<td>{{{currency}}}</td>}}{{#if:{{{location|}}}|<td>{{{location}}}</td>}}{{#if:{{{conditions|}}}|<td>{{{conditions}}}</td>}}</tr> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
A | A row for a merchant's wares table. Required item is a canonical title; seller is a linked name. Optional quantity, price, currency, location and conditions add cells in that order. Omit a field only when its column is absent; otherwise use "Unknown" for an unknown value. | ||
<pre>{{Ware row|seller=[[Magus Clay]]|item=Iron Hand Axe|price=<noinclude>{{:Iron Hand Axe}}</noinclude>}}</pre> | <pre>{{Ware row|seller=[[Magus Clay]]|item=Iron Hand Axe|price=<noinclude>{{:Iron Hand Axe}}</noinclude>}}</pre> | ||
Standard prices stay transcluded from the item, whose price view uses Coins. Keep the literal noinclude gate in the merchant's source, NOT inside this always-transcluded template, and apply the same gate to the table header. Filtered seller views must not include the item price again. In a mixed-price table, the owner supplies an includeonly "Standard item price" link for standard-price rows; genuine vendor exceptions may use a nested Coins call. Location/story/shared-stock disclosures stay once per owning section, not copied into every row. | Standard prices stay transcluded from the item, whose price view uses Coins. Keep the literal noinclude gate in the merchant's source, NOT inside this always-transcluded template, and apply the same gate to the table header. Filtered seller views must not include the item price again. In a mixed-price table, the owner supplies an includeonly "Standard item price" link for standard-price rows; genuine vendor exceptions may use a nested Coins call. Location/story/shared-stock disclosures stay once per owning section, not copied into every row. | ||
</noinclude> | </noinclude> | ||
Revision as of 15:34, 29 September 2026
A row for a merchant's wares table. Required item is a canonical title; seller is a linked name. Optional quantity, price, currency, location and conditions add cells in that order. Omit a field only when its column is absent; otherwise use "Unknown" for an unknown value.
{{Ware row|seller=[[Magus Clay]]|item=Iron Hand Axe|price=<noinclude>{{:Iron Hand Axe}}</noinclude>}}
Standard prices stay transcluded from the item, whose price view uses Coins. Keep the literal noinclude gate in the merchant's source, NOT inside this always-transcluded template, and apply the same gate to the table header. Filtered seller views must not include the item price again. In a mixed-price table, the owner supplies an includeonly "Standard item price" link for standard-price rows; genuine vendor exceptions may use a nested Coins call. Location/story/shared-stock disclosures stay once per owning section, not copied into every row.