Difference between revisions of "Template:VendorSells"

From Istaria Lexica

m (seo)
 
(41 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ask: [[Category:NPC]] [[SellItem::{{PAGENAME}}]]
+
<includeonly>{{#ifexpr: {{#ask: [[Offers::{{PAGENAME}}]]|format=count}} > 0|<nowiki/>
|format=table
+
===Who sells?===
|mainlabel=Who sells it?
+
<div role="note" data-nosnippet>
|default=Looks like noone sells this item.
+
<p style="font-size: 10px>
|headers=plain
+
Note: Coin prices may reflect an alternative pay method instead of the game's normal currency. To be sure, please go to the Vendor's article page and read their payment details.
|?Port=Location
+
</p>
|?SellItemCost=Cost}}</includeonly><noinclude>{{Clr}}{{documentation}}[[Category:Templates]]</noinclude>
+
</div>
 +
{{#ask:[[Offers::{{PAGENAME}}]]
 +
  |?Is offered by                    = name
 +
  |?Is offered by.Job                = job
 +
  |?Is offered by.Port              = location
 +
  |?Has price in mithril            = mithril
 +
  |?Has price in gold                = gold
 +
  |?Has price in silver              = silver
 +
  |?Has price in copper              = copper
 +
  |?Has alternative payment          = alternative payment
 +
  |?Has price in alternative payment = alternative amount
 +
  |format                            = ul
 +
  |named args                        = yes
 +
  |limit                            = 99999
 +
  |template                          = VendorSells/CoinPrinter
 +
  |sort                              = Is offered by.Port, Is offered by.Name
 +
}}}}</includeonly><noinclude>{{Documentation}}[[Category:List Templates]][[Category:Semantic Mediawiki Templates]]</noinclude><nowiki/>

Latest revision as of 07:49, 5 November 2022

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

Description[edit]

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

Syntax[edit]

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