Difference between revisions of "Template:Sells"

(79 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{!}}-
+
<includeonly>{{!}}-
{{!}}[[File:{{{1}}}_Icon.png|20px|link={{{1}}}]]&nbsp;[[{{{1|}}}]]{{#if:{{{Quantity|}}}|&nbsp;x&nbsp;{{{Quantity}}}}}
+
{{!}}{{#ifexist:{{{1|}}}|{{#dpl:
{{!}}{{#switch:{{lc:{{{Currency}}}}}
 
|mythology = [[File:Allagan_Tomestone_Of_Mythology.png|20px|link=Allagan Tomestone of Mythology]]  (Mythology)
 
|philosophy = [[File:Allagan_Tomestone_Of_Philosophy.png|20px|link=Allagan Tomestone of Philosophy]] (Philosophy)
 
|flame|flame seal= [[File:Flame Seal Icon.png|20px|link=Flame Seal]] (Flame)
 
|storm|storm seal= [[File:Storm Seal Icon.png|20px|link=Storm Seal]] (Storm)
 
|serpent|serpent seal= [[File:Serpent Seal Icon.png|20px|link=Serpent Seal]] (Serpent)
 
|odin|odin's|odin's mantle= [[File:Odin's_Mantle_Icon.png|20px|link=Odin's Mantle]] (Odin's Mantle)
 
|behemoth|behemoth horn= [[File:Behemoth_Horn_Icon.png|20px|link=Behemoth Horn]] (Behemoth Horn)
 
|inferno seal= [[File:Inferno_Seal_Icon.png|20px|link=Inferno Seal]] (Inferno Seal)
 
|inferno totem= [[File:Inferno_Totem_Icon.png|20px|link=Inferno Totem]] (Inferno Totem)
 
|vortex seal= [[File:Vortex_Seal_Icon.png|20px|link=Vortex Seal]] (Vortex Seal)
 
|vortex totem= [[File:Vortex_Totem_Icon.png|20px|link=Vortex Totem]] (Vortex Totem)
 
|tremor seal= [[File:Tremor_Seal_Icon.png|20px|link=Tremor Seal]] (Tremor Seal)
 
|kupo|kupo nut|kupo nut charm= [[File:Kupo_Nut_Charm_Icon.png|20px|link=Kupo Nut Charm]] (Kupo Nut Charm)
 
|cascadier|cascadier uniform|cascadier uniform voucher= [[File:Cascadier_Uniform_Voucher_Icon.png|20px|link=Cascadier Uniform Voucher]] (Cascadier Uniform Voucher)
 
|gil|#default = [[File:Gil Icon.png|20px|link=Gil]]}}&nbsp;x{{formatnum:{{{2|}}}}}
 
{{!}}
 
{{#dpl:
 
 
| title = {{{1|x}}}
 
| title = {{{1|x}}}
| includepage = {ARR Infobox Item} class dpl
+
| includepage = {ARR Infobox Item} statsdpl4
 
| namespace    =  
 
| namespace    =  
 +
|  allowcachedresults=true
 +
|  dplcache={{{1|x}}}sells-4
 
| format      =,,\n
 
| format      =,,\n
 
| suppresserrors=true
 
| suppresserrors=true
}}
+
}}|style="width: 5%;" {{!}}&nbsp;{{!}}{{!}}&nbsp;[[{{{1}}}]]{{!}}{{!}}&nbsp;{{!}}{{!}}&nbsp;{{!}}{{!}}&nbsp;}}
[[Category:{{{1}}} Sold by Merchant]][[Category:Merchant]]
+
{{!}}&nbsp;<small>x</small>&nbsp;{{{Quantity|1}}}{{#if:{{{HQItem|}}}|{{HQ|2}}}}
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
{{!}}{{Currencysellsswitch|1={{{1}}}|Currency={{{Currency}}}}}&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={{#ifexist: {{{Requirement}}} | {{{Requirement|}}} |}}]]}}[[Category:{{Fixand|{{{1}}}}} Sold by Merchant]][[Category:Merchant]]</includeonly><noinclude>__NOTOC__
 +
===Usage===
 +
<nowiki>{{Sells|Item|Amount|Currency=|Quantity=|HQ=|HQItem=}}</nowiki><br>
 +
* 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.<br>
 +
Currency and Quantity are optional.
 +
 
 +
When the item traded is not an actual currency, use the [[Template:Trades|'''<nowiki>{{Trades}}</nowiki>''']] template.
 +
 
 +
* If the currency required is HQ, use |HQ=x
 +
* If the item received is HQ, use |HQItem=x
 +
===Examples===
 +
<nowiki>{{Sells|Copper Ore|2}}</nowiki><br>
 +
:(1 Copper Ore is sold for 2 gil)<br>
 +
<nowiki>{{Sells|Venture|Quantity=5|1000|Currency=Flame Seal}}</nowiki><br>
 +
:(5 Ventures are sold for 1,000 Flame Seals)<br>
 +
<nowiki>{{Sells|Weathered Auroral Ring|Currency=Allagan Tomestone of Soldiery|375}}</nowiki><br>
 +
:(1 Weathered Auroral Ring is sold for 375 Allagan Tomestone of Soldiery)<br>
 +
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 16:19, 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)