Difference between revisions of "Template:NPC Vendor Table"

From HomepointXI Wiki
Jump to: navigation, search
m
m
Line 46: Line 46:
 
</pre>
 
</pre>
 
</noinclude><includeonly>
 
</noinclude><includeonly>
{|style="border-collapse: collapse; border-width: 1px; border-style: solid; border-color: #3c6a95;" class="sortable" width="700px" cellpadding="0" cellspacing="0"
+
{|class="Standard R-Highlight" style="text-align: center;" BGCOLOR="#efeeee" width="75%"
 
! style="border-style: solid; border-width: 1px; border-color: #3c6a95; background-color: #D4D4D4;" align="center" width="40%" |
 
! style="border-style: solid; border-width: 1px; border-color: #3c6a95; background-color: #D4D4D4;" align="center" width="40%" |
 
'''Item Name'''  
 
'''Item Name'''  

Revision as of 19:00, 1 May 2020

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