Difference between revisions of "Template:Sells2"

m
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<!-- TEST TEMPLATE - CAN BE DELETED --><includeonly>{{!}}-
+
<includeonly>{{!}}-
 
{{!}}{{#ifexist:{{{1|}}}|{{#dpl:
 
{{!}}{{#ifexist:{{{1|}}}|{{#dpl:
 
| title = {{{1|x}}}
 
| title = {{{1|x}}}
| includepage = {ARR Infobox Item} statsdpl4
+
| includepage = {ARR Infobox Item} statsdpl4a
 
| namespace    =  
 
| namespace    =  
 
|  allowcachedresults=true
 
|  allowcachedresults=true
|  dplcache={{{1|x}}}sells2a
+
|  dplcache={{{1|x}}}sellssadxasdfadsasdasdsad
 
| format      =,,\n
 
| format      =,,\n
 
| suppresserrors=true
 
| suppresserrors=true
 
}}|style="width: 5%;" {{!}}&nbsp;{{!}}{{!}}&nbsp;[[{{{1}}}]]{{!}}{{!}}&nbsp;{{!}}{{!}}&nbsp;{{!}}{{!}}&nbsp;}}
 
}}|style="width: 5%;" {{!}}&nbsp;{{!}}{{!}}&nbsp;[[{{{1}}}]]{{!}}{{!}}&nbsp;{{!}}{{!}}&nbsp;{{!}}{{!}}&nbsp;}}
{{!}}&nbsp;{{#if:{{{Quantity|}}}|<small>x</small>&nbsp;{{{Quantity|}}}}}
+
{{!}}&nbsp;<small>x</small>&nbsp;{{{Quantity|1}}}{{#if:{{{HQItem|}}}|{{HQ|2}}}}
 
{{!}}{{#switch:{{lc:{{{Currency}}}}}
 
{{!}}{{#switch:{{lc:{{{Currency}}}}}
|flame|flame seal= [[File:Flame Seal Icon.png|20px|link=Flame Seal]][[Category:Accepts Flame Seal]]
+
|credit|company credit|free company credit= [[File:Free Company Credit Icon.png|20px|link=Free Company]][[Category:Accepts Company Credit]][[Category:{{Fixand|{{{1}}}}} Sold for Company Credit]]
|storm|storm seal= [[File:Storm Seal Icon.png|20px|link=Storm Seal]][[Category:Accepts Storm Seal]]
+
 
|serpent|serpent seal= [[File:Serpent Seal Icon.png|20px|link=Serpent Seal]][[Category:Accepts Serpent Seal]]
+
|flame|flame seal= [[File:Flame Seal Icon.png|20px|link=Flame Seal]][[Category:Accepts Flame Seal]][[Category:{{Fixand|{{{1}}}}} Sold for Flame Seal]]
|allied|allied seal= [[File:Allied Seal Icon.png|20px|link=Allied Seal]][[Category:Accepts Allied Seal]]
+
|storm|storm seal= [[File:Storm Seal Icon.png|20px|link=Storm Seal]][[Category:Accepts Storm Seal]][[Category:{{Fixand|{{{1}}}}} Sold for Storm Seal]]
|wolf|wolf mark|pvp|wolfmark= [[File:Wolf Mark Icon.png|20px|link=Wolf Mark]][[Category:Accepts Wolf Mark]]
+
|serpent|serpent seal= [[File:Serpent Seal Icon.png|20px|link=Serpent Seal]][[Category:Accepts Serpent Seal]][[Category:{{Fixand|{{{1}}}}} Sold for Serpent Seal]]
|allagan tomestone of poetics|poetics=[[File:Allagan_Tomestone_of_Poetics_Icon.png|20px|link=Allagan Tomestone of Poetics]][[Category:Accepts Allagan Tomestone of Poetics]]
+
 
|allagan tomestone of soldiery|soldiery|soldier=[[File:Allagan_Tomestone_Of_Soldiery.png|20px|link=Allagan Tomestone of Soldiery]][[Category:Accepts Allagan Tomestone of Soldiery]]
+
|allied|allied seal= [[File:Allied Seal Icon.png|20px|link=Allied Seal]][[Category:Accepts Allied Seal]][[Category:{{Fixand|{{{1}}}}} Sold for Allied Seal]]
|allagan tomestone of mythology|mythology= [[File:Allagan_Tomestone_Of_Mythology.png|20px|link=Allagan Tomestone of Mythology]][[Category:Accepts Allagan Tomestone of Mythology]]
+
|centurio|centurio seal= [[File:Centurio Seal Icon.png|20px|link=Centurio Seal]][[Category:Accepts Centurio Seal]][[Category:{{Fixand|{{{1}}}}} Sold for Centurio Seal]]
|allagan tomestone of philosophy|philosophy= [[File:Allagan_Tomestone_Of_Philosophy.png|20px|link=Allagan Tomestone of Philosophy]][[Category:Accepts Allagan Tomestone of Philosophy]]
+
 
|gil|#default = [[File:Gil Icon.png|20px|link=Gil]][[Category:Accepts Gil]]}}[[Category:{{Fixand|{{{1}}}}} Sold by Merchant]][[Category:Merchant]]</includeonly><noinclude>
+
|wolf|wolf mark|pvp|wolfmark= [[File:Wolf Mark Icon.png|20px|link=Wolf Mark]][[Category:Accepts Wolf Mark]][[Category:{{Fixand|{{{1}}}}} Sold for Wolf Mark]]
 +
 
 +
|yellow crafters' scrip|yellow crafter=[[File:Yellow_Crafters'_Scrip_Icon.png|20px|link=Yellow Crafters' Scrip]][[Category:Accepts Yellow Crafters' Scrip]][[Category:{{Fixand|{{{1}}}}} Sold for Yellow Crafters' Scrip]]
 +
|red crafters' scrip|red crafter=[[File:Red_Crafters'_Scrip_Icon.png|20px|link=Red Crafters' Scrip]][[Category:Accepts Red Crafters' Scrip]][[Category:{{Fixand|{{{1}}}}} Sold for Red Crafters' Scrip]]
 +
|blue crafters' scrip|blue crafter=[[File:Blue_Crafters'_Scrip_Icon.png|20px|link=Blue Crafters' Scrip]][[Category:Accepts Blue Crafters' Scrip]][[Category:{{Fixand|{{{1}}}}} Sold for Blue Crafters' Scrip]]
 +
|yellow gatherers' scrip|yellow gatherer=[[File:Yellow_Gatherers'_Scrip_Icon.png|20px|link=Yellow Gatherers' Scrip]][[Category:Accepts Yellow Gatherers' Scrip]][[Category:{{Fixand|{{{1}}}}} Sold for Yellow Gatherers' Scrip]]
 +
|red gatherers' scrip|red gatherer=[[File:Red_Gatherers'_Scrip_Icon.png|20px|link=Red Gatherers' Scrip]][[Category:Accepts Red Gatherers' Scrip]][[Category:{{Fixand|{{{1}}}}} Sold for Red Gatherers' Scrip]]
 +
|blue gatherers' scrip|blue gatherer=[[File:Blue_Gatherers'_Scrip_Icon.png|20px|link=Blue Gatherers' Scrip]][[Category:Accepts Blue Gatherers' Scrip]][[Category:{{Fixand|{{{1}}}}} Sold for Blue Gatherers' Scrip]]
 +
 
 +
|allagan tomestone of mythology|mythology= [[File:Allagan_Tomestone_of_Mythology_Icon.png|20px|link=Allagan Tomestone of Mythology]][[Category:Accepts Allagan Tomestone of Mythology]][[Category:{{Fixand|{{{1}}}}} Sold for Allagan Tomestone of Mythology]]
 +
|allagan tomestone of philosophy|philosophy= [[File:Allagan_Tomestone_of_Philosophy_Icon.png|20px|link=Allagan Tomestone of Philosophy]][[Category:Accepts Allagan Tomestone of Philosophy]][[Category:{{Fixand|{{{1}}}}} Sold for Allagan Tomestone of Philosophy]]
 +
|allagan tomestone of soldiery|soldiery=[[File:Allagan_Tomestone_of_Soldiery_Icon.png|20px|link=Allagan Tomestone of Soldiery]][[Category:Accepts Allagan Tomestone of Soldiery]][[Category:{{Fixand|{{{1}}}}} Sold for Allagan Tomestone of Soldiery]]
 +
|allagan tomestone of poetics|poetics=[[File:Allagan_Tomestone_of_Poetics_Icon.png|20px|link=Allagan Tomestone of Poetics]][[Category:Accepts Allagan Tomestone of Poetics]][[Category:{{Fixand|{{{1}}}}} Sold for Allagan Tomestone of Poetics]]
 +
|allagan tomestone of law|law=[[File:Allagan_Tomestone_of_Law_Icon.png|20px|link=Allagan Tomestone of Law]][[Category:Accepts Allagan Tomestone of Law]][[Category:{{Fixand|{{{1}}}}} Sold for Allagan Tomestone of Law]]
 +
|allagan tomestone of esoterics|esoterics=[[File:Allagan_Tomestone_of_Esoterics_Icon.png|20px|link=Allagan Tomestone of Esoterics]][[Category:Accepts Allagan Tomestone of Esoterics]][[Category:{{Fixand|{{{1}}}}} Sold for Allagan Tomestone of Esoterics]]
 +
|allagan tomestone of lore|lore=[[File:Allagan_Tomestone_of_Lore_Icon.png|20px|link=Allagan Tomestone of Lore]][[Category:Accepts Allagan Tomestone of Lore]][[Category:{{Fixand|{{{1}}}}} Sold for Allagan Tomestone of Lore]]
 +
|allagan tomestone of scripture|allagan tomestone of scriptures|scriptures|scripture=[[File:Allagan_Tomestone_of_Scripture_Icon.png|20px|link=Allagan Tomestone of Scripture]][[Category:Accepts Allagan Tomestone of Scripture]][[Category:{{Fixand|{{{1}}}}} Sold for Allagan Tomestone of Scripture]]
 +
|allagan tomestone of verity|verity=[[File:Allagan_Tomestone_of_Verity_Icon.png|20px|link=Allagan Tomestone of Verity]][[Category:Accepts Allagan Tomestone of Verity]][[Category:{{Fixand|{{{1}}}}} Sold for Allagan Tomestone of Verity]]
 +
|allagan tomestone of creation|creation=[[File:Allagan_Tomestone_of_Creation_Icon.png|20px|link=Allagan Tomestone of Creation]][[Category:Accepts Allagan Tomestone of Creation]][[Category:{{Fixand|{{{1}}}}} Sold for Allagan Tomestone of Creation]]
 +
|allagan tomestone of mendacity|mendacity=[[File:Allagan_Tomestone_of_Mendacity_Icon.png|20px|link=Allagan Tomestone of Mendacity]][[Category:Accepts Allagan Tomestone of Mendacity]][[Category:{{Fixand|{{{1}}}}} Sold for Allagan Tomestone of Mendacity]]
 +
|allagan tomestone of genesis|genesis=[[File:Allagan_Tomestone_of_Genesis_Icon.png|20px|link=Allagan Tomestone of Genesis]][[Category:Accepts Allagan Tomestone of Genesis]][[Category:{{Fixand|{{{1}}}}} Sold for Allagan Tomestone of Genesis]]
 +
 
 +
|mgp=[[File:MGP Icon.png|20px|link=MGP]][[Category:Accepts MGP]][[Category:{{Fixand|{{{1}}}}} Sold for MGP]]
 +
 
 +
|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__
 
===Usage===
 
===Usage===
<nowiki>{{Sells|Item|Amount|Currency=|Quantity=}}</nowiki><br>
+
<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 :  
+
* Currency can be one of the types found on the currency tab of your character info :
** Gil, Flame/Storm/Serpent/Allied Seal, Wolf Mark or Allagan Tomestone of Soldiery/Poetics. Default is Gil.
+
** Gil, Flame/Storm/Serpent/Allied/etc Seals, Wolf Marks or Allagan Tomestones. Default is Gil.
* Quantity is used when you buy items in sets.<br>
+
* Quantity is normally used when you receive more than 1 of the item (by default) upon purchase.<br>
 
Currency and Quantity are optional.
 
Currency and Quantity are optional.
  
 
When the item traded is not an actual currency, use the [[Template:Trades|'''<nowiki>{{Trades}}</nowiki>''']] template.
 
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===
 
===Examples===
 
<nowiki>{{Sells|Copper Ore|2}}</nowiki><br>
 
<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>
 
<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>
 
<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>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 16:39, 28 March 2019

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)