Difference between revisions of "Template:Sells2"

Line 8: Line 8:
 
| format      =,,\n
 
| format      =,,\n
 
| suppresserrors=true
 
| suppresserrors=true
}}{{#if:{{{Requirement|}}}|{{{Requirement|}}}}}|style="width: 5%;" {{!}} {{!}}{{!}} [[{{{1}}}]]{{!}}{{!}} {{!}}{{!}} {{!}}{{!}} }}
+
}}|style="width: 5%;" {{!}} {{!}}{{!}} [[{{{1}}}]]{{!}}{{!}} {{!}}{{!}} {{!}}{{!}} }}
 
{{!}}&nbsp;<small>x</small>&nbsp;{{{Quantity|1}}}{{#if:{{{HQItem|}}}|{{HQ|2}}}}
 
{{!}}&nbsp;<small>x</small>&nbsp;{{{Quantity|1}}}{{#if:{{{HQItem|}}}|{{HQ|2}}}}
 
{{!}}{{#switch:{{lc:{{{Currency}}}}}
 
{{!}}{{#switch:{{lc:{{{Currency}}}}}
Line 52: Line 52:
 
|achievement certificate=[[File:Achievement Certificate Icon.png|20px|link=Achievement Certificate]][[Category:Accepts Achievement Certificate]][[Category:{{Fixand|{{{1}}}}} Sold for Achievement Certificate]]
 
|achievement certificate=[[File:Achievement Certificate Icon.png|20px|link=Achievement Certificate]][[Category:Accepts Achievement Certificate]][[Category:{{Fixand|{{{1}}}}} Sold for Achievement Certificate]]
  
|gil|#default = [[File:Gil Icon.png|20px|link=Gil]][[Category:Accepts Gil]][[Category:{{Fixand|{{{1}}}}} Sold for Gil]]}}&nbsp;<small>x</small>&nbsp;{{formatnum:{{{2|}}}}}[[Category:{{Fixand|{{{1}}}}} Sold by Merchant]][[Category:Merchant]]</includeonly><noinclude>__NOTOC__
+
|gil|#default = [[File:Gil Icon.png|20px|link=Gil]][[Category:Accepts Gil]][[Category:{{Fixand|{{{1}}}}} Sold for Gil]]}}&nbsp;<small>x</small>&nbsp;{{formatnum:{{{2|}}}}}{{#if:{{{Requirement|}}}|
 +
[[File:Red-exclamation2.png|This item will not appear for sale until after the following requirements are met: {{{Requirement|}}}.|24px|link=]]}}[[Category:{{Fixand|{{{1}}}}} Sold by Merchant]][[Category:Merchant]]</includeonly><noinclude>__NOTOC__
 
===Usage===
 
===Usage===
 
<nowiki>{{Sells|Item|Amount|Currency=|Quantity=|HQ=|HQItem=}}</nowiki><br>
 
<nowiki>{{Sells|Item|Amount|Currency=|Quantity=|HQ=|HQItem=}}</nowiki><br>

Revision as of 15:23, 24 March 2020

Usage

{{Sells|Item|Amount|Currency=|Quantity=|HQ=|HQItem=}}

  • Currency can be one of the types found on the currency tab of your character info :
    • Gil, Flame/Storm/Serpent/Allied/etc Seals, Wolf Marks or Allagan Tomestones. Default is Gil.
  • Quantity is normally used when you receive more than 1 of the item (by default) upon purchase.

Currency and Quantity are optional.

When the item traded is not an actual currency, use the {{Trades}} template.

  • If the currency required is HQ, use |HQ=x
  • If the item received is HQ, use |HQItem=x

Examples

{{Sells|Copper Ore|2}}

(1 Copper Ore is sold for 2 gil)

{{Sells|Venture|Quantity=5|1000|Currency=Flame Seal}}

(5 Ventures are sold for 1,000 Flame Seals)

{{Sells|Weathered Auroral Ring|Currency=Allagan Tomestone of Soldiery|375}}

(1 Weathered Auroral Ring is sold for 375 Allagan Tomestone of Soldiery)