Difference between revisions of "Template:VendorSells/CoinPrinter"

From Istaria Lexica

m (Elteria Shadowhand moved page Template:VendorSellsCoinPrinter to Template:VendorSells/CoinPrinter without leaving a redirect)
(filter trades to just the current page - fixes seo/nojs issues, also avoids JS bug matching "Item II" as "Item I")
Line 4: Line 4:
 
<div>{{#if:{{{3|}}}|{{{3}}} in/at&nbsp;}}[[{{{2|}}}]]</div>
 
<div>{{#if:{{{3|}}}|{{{3}}} in/at&nbsp;}}[[{{{2|}}}]]</div>
 
<div>{{FULLPAGENAME}}</div>
 
<div>{{FULLPAGENAME}}</div>
<div>{{#ask: [[{{{1|}}}]]
+
<div>{{#arraydefine:trades|
 +
{{#ask: [[{{{1|}}}]]
 
|?OffersItem
 
|?OffersItem
 
|mainlabel =-
 
|mainlabel =-
Line 11: Line 12:
 
|limit= 99999
 
|limit= 99999
 
|link = none
 
|link = none
}}</div>
+
|valuesep = $$$
 +
}}
 +
|$$$
 +
}}{{#arrayindex:trades|{{#arraysearch:trades|/^{{FULLPAGENAME}} \(/}}}}</div>
 
</div>
 
</div>
 
</includeonly><noinclude>{{documentation}}[[Category:Non-standalone Templates]]</noinclude><nowiki />
 
</includeonly><noinclude>{{documentation}}[[Category:Non-standalone Templates]]</noinclude><nowiki />

Revision as of 21:43, 2 October 2022

Template documentation (for the template shown above, sometimes hidden or invisible)

Description[edit]

This template is used together with Template:VendorSells to show which vendors sell {{FULLPAGENAME}}.

Syntax[edit]

No syntax. It is called by the ask statement in Template:VendorSells.

Visit Template:VendorSells/CoinPrinter/doc to edit this text. (How to: document correctly)