Template:NPC Vendor Table: Difference between revisions

From FFXI Wiki
No edit summary
No edit summary
Line 50: Line 50:
'''Item Name'''
'''Item Name'''
! style="background: #a6dbfd; border: 1px solid #000000;" width="15%" |
! style="background: #a6dbfd; border: 1px solid #000000;" width="15%" |
'''Price ({{#switch: {{lc: {{{Currency}}}}} | cp | conquest points = [[Conquest Points]] | cruor | c=[[Cruor]]| choco|chocobuck =Chocobuck | imperial standing | is=[[Imperial Standing]]| guild points | gp=[[Guild Points]]| allied notes | an=[[Allied Notes]]| zeni | z=Zeni | legion points | legion point | legion | lp | l = Legion Points | ab | abc | ancient beastcoin | ancient beastcoins=Ancient Beastcoins | ti | therion ichor=Therion Ichor | rm = Research Marks | b | bayld = Bayld | mm | mum = Mummer's Medals | of | obs=Obsidian Fragments | pc | plasm=Mweya Plasm Corpuscles | merits | m=[[Merit Points]] | i | infamy = [[Infamy]] | uc | accolades=[[Unity Accolades]] | #default = gil}})'''
'''Price ({{#switch: {{lc: {{{Currency}}}}} | cp | conquest points = [[Conquest Points]] | cruor | c=[[Cruor]]| choco|chocobuck =Chocobuck | imperial standing | is=[[Imperial Standing]]| guild points | gp=[[Guild Points]]| allied notes | an=[[Allied Notes]]| zeni | z=Zeni | legion points | legion point | legion | lp | l = Legion Points | ab | abc | ancient beastcoin | ancient beastcoins=Ancient Beastcoins | ti | therion ichor=Therion Ichor | rm = Research Marks | b | bayld = Bayld | mm | mum = Mummer's Medals | of | obs=Obsidian Fragments | pc | plasm=Mweya Plasm Corpuscles | merits | m=[[Merit Points]] | i | infamy = [[Infamy]] | uc | accolades=[[Unity Accolades]] | ms | segments=[[Moogle Segments]] | #default = gil}})'''
! style="background: #a6dbfd; border: 1px solid #000000;" width="55%" |
! style="background: #a6dbfd; border: 1px solid #000000;" width="55%" |
{{#switch: {{lc: {{{Condition}}}}} | guild | gr | guild rank=Guild Rank | conquest | conquest restrictions | cr = '''Conquest Restrictions''' | #default = '''Conditions'''}}
{{#switch: {{lc: {{{Condition}}}}} | guild | gr | guild rank=Guild Rank | conquest | conquest restrictions | cr = '''Conquest Restrictions''' | #default = '''Conditions'''}}

Revision as of 16:33, 12 February 2021

NPC Vendor Table

  • To be used with Template:NPC, where vendor information is relevant
{{NPC Vendor Table
|Condition=
|Currency=
|Insert NPC Vendor Wares Template=
}}
  • There are two optional variables for condition and currency.
    • The condition variable can be set to gr, guild, or Guild Rank; or cr, conquest, or Conquest Restriction. If it is left empty, omit it, or enter anything else, "Conditions" will appear as a default.
    • The currency variable allows for the following: cp or Conquest Points, c or Cruor, is or Imperial Standing, gp or Guild Points, an or Allied Notes, z or Zeni, lp or Legion Points, abc or Ancient Beastcoins, ti for Therion Ichor, rm for Research Marks, m for merits. If you leave it empty, omit it or enter anything else, "gil" will appear as the default.
  • Enter for "Insert NPC Vendor Wares Template" the following codes and repeat as many times as needed:
{{NPC Vendor Wares
|Item Name=
|Lowest Price=
|Highest Price=
|Conquest Restriction=
}}
  • You may enter as many of the codes as needed.
  • Example:
{{NPC Vendor Table
|Condition=
|Currency=
|Insert NPC Vendor Wares Template=
{{NPC Vendor Wares
|Item Name=
|Lowest Price=
|Highest Price=
|Conquest Restriction=
}}
{{NPC Vendor Wares
|Item Name=
|Lowest Price=
|Highest Price=
|Conquest Restriction=
}}
{{NPC Vendor Wares
|Item Name=
|Lowest Price=
|Highest Price=
|Conquest Restriction=
}}
}}

Usage of Template

  • If you type the following:
{{NPC Vendor Table
|Condition=
|Currency=
|Insert NPC Vendor Wares Template=
{{NPC Vendor Wares
|Item Name=Bronze Cap
|Lowest Price=154
|Highest Price=174
|Conquest Restriction=Bastok - 2nd place
}}
}}
  • You will see the following table appear on the page where the template is used:

Item Name

Price (gil)

Conquest Restrictions

Bronze Cap 154 - 174 Bastok - 2nd place