Difference between revisions of "Template:Sellsitem"

From Istaria Lexica

m
m
Line 2: Line 2:
 
{{!}}-
 
{{!}}-
 
{{!}} [[SellItem::{{{1|}}}]]
 
{{!}} [[SellItem::{{{1|}}}]]
{{!}} {{#if:{{{m|}}} | {{{m|}}}{{M}}}}&nbsp;{{#if:{{{g|}}} | {{{g|}}}{{G}}}}&nbsp;{{#if:{{{s|}}} | {{{s|}}}{{S}}}}&nbsp;{{#if:{{{c|}}} | {{{c|}}}{{C}}}}&nbsp;}}{{#if:{{{altamount|}}} | {{{altamount|}}}&nbsp;[[{{{altmethod|}}}]]}}<noinclude>{{Clr}}{{Documentation}}[[Category:Templates]]</noinclude>
+
{{!}} {{#if:{{{m|}}} | {{{m|}}}{{M}}&nbsp;}}{{#if:{{{g|}}} | {{{g|}}}{{G}}&nbsp;}}{{#if:{{{s|}}} | {{{s|}}}{{S}}&nbsp;}}{{#if:{{{c|}}} | {{{c|}}}{{C}}&nbsp;}}{{#if:{{{altamount|}}} | {{{altamount|}}}&nbsp;[[{{{altmethod|}}}]]}}}}<noinclude>{{Clr}}{{Documentation}}[[Category:Templates]]</noinclude>

Revision as of 19:11, 17 May 2016

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

Description[edit]

Functional part of a Vendor's items sold table. Adds a sold item and it's cost to the vendor NPC. Use Template:ShowSoldItems to print out all sold items.

Syntax[edit]

{{Sellsitem|Item name|m=|g=|s=|c=|altamount=|altmethod=}}

Parameters[edit]

{{Sellsitem
|Item name   The item's name, sets up the SMW-property [[Property:SellItem]] and links to it's article page.
|m         = mithril cost (optional)
|g         = gold cost (optional)
|s         = silver cost (optional)
|c         = copper cost (optional)
|altamount = alternative payment method cost (optional)
|altmethod = alternative payment method (optional)
}}

Examples[edit]

{{Sellsitem|Jade Golem Chip|s=160}}
{{Sellsitem|Black Widow Pet|s=1|c=300}}
{{Sellsitem|Epic Armor: Reklar's Sash of Fury|altamount=24|altmethod=Epic Token}}
Visit Template:Sellsitem/doc to edit this text. (How to: document correctly)