Jump to content

Template:Ware row: Difference between revisions

From MirkLurk Wiki
repo-sync: 3541005e5de1 text:f0b267397e58ab883b33d91731ad1797
repo-sync: 2807897a9460 text:fddd65e2ba948904acfd05b5f5d6f016
 
Line 4: Line 4:


<pre>{{Ware row|seller=[[Magus Clay]]|item=Iron Hand Axe|price=&lt;noinclude&gt;{{:Iron Hand Axe}}&lt;/noinclude&gt;}}</pre>
<pre>{{Ware row|seller=[[Magus Clay]]|item=Iron Hand Axe|price=&lt;noinclude&gt;{{:Iron Hand Axe}}&lt;/noinclude&gt;}}</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, standard-price rows supply an item-filtered offer-price view linking to the item's "Standard item price"; genuine vendor exceptions may use a nested Coins call. Location/story/shared-stock disclosures stay once per owning section, not copied into every row; item pages read them through the merchant's location and availability views.
</noinclude>
</noinclude>

Latest revision as of 19:26, 21 October 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, standard-price rows supply an item-filtered offer-price view linking to the item's "Standard item price"; genuine vendor exceptions may use a nested Coins call. Location/story/shared-stock disclosures stay once per owning section, not copied into every row; item pages read them through the merchant's location and availability views.