A.M.A.N. Trove • Ambuscade • Dynamis Divergence • Geas Fete • High-Tier Battlefields • Master Trials • Monthly Campaigns • Odyssey • Omen • Skirmish • Sortie • Unity • Vagary | The Voracious Resurgence |
Prime Weapons • Ultimate Weapons • Ultimate Augments • Abjurations iL119 • JSE Necks • Divergence Augments • Escutcheons | |
Reforged Armor Artifact: +1 • iL109 • iL119/+2/+3 Relic: +1/+2 • iL109 • iL119/+2/+3 Empyrean: +1/+2 • iL109 • iL119/+2/+3 |
Guides • Crafting • Trusts • Apex Monsters |
Template:NPC: Difference between revisions
From FFXI Wiki
mNo edit summary |
(Expanded Locations (Softcoded Example)) |
||
Line 14: | Line 14: | ||
*Type '''must''' match an existing NPC subcategory. For a list, please refer to [[:Category:NPCs]]. |
*Type '''must''' match an existing NPC subcategory. For a list, please refer to [[:Category:NPCs]]. |
||
*Location '''must''' be the same name as a zone name. |
*Location '''must''' be the same name as a zone name. |
||
*If there is more than one location where the NPC can be found, this template is designed to hold upto 10 different locations and positions. (Example at the bottom) |
|||
:*To achieve this, both ''Location'' and ''Position'' fields must be left blank. |
|||
:*The ''Locations'' and ''Positions'' can be listed as additional parameters of the template without any field name. |
|||
:*Each listed ''position'' must follow directly after its paired ''location''. |
|||
:*If the ''position'' of a particular NPC in a zone is not known, or cannot be determined, please use "N/A". |
|||
<div style="clear: both;"></div> |
<div style="clear: both;"></div> |
||
<pre>{{NPC |
<pre>{{NPC |
||
Line 118: | Line 123: | ||
{| border="0" cellpadding="5" cellspacing="0" width="650px" |
{| border="0" cellpadding="5" cellspacing="0" width="650px" |
||
| |
|- BGCOLOR="#D4DDED" valign="top" |
||
| style="padding-bottom:0px; width:10%;" | '''Location:''' |
|||
'''Location:''' {{#if: {{{Location|}}}| [[{{{Location}}}]]}} {{#if: {{{Position|}}}| - ({{{Position}}})}}<br> |
|||
| style="padding-bottom:0px; | {{#if: {{{Location|}}}| [[{{{Location}}}]] {{#if: {{{Position|}}}| - ({{{Position}}})}}|{{#if: {{{1|}}}| [[{{{1}}}]] {{#ifeq: {{{2|N/A}}}|N/A| | - ({{{2}}})}}{{#if: {{{3|}}}|<br> [[{{{3}}}]] {{#ifeq: {{{4|N/A}}}|N/A| | - ({{{4}}})}}{{#if: {{{5|}}}|<br> [[{{{5}}}]] {{#ifeq: {{{6|N/A}}}|N/A| | - ({{{6}}})}}{{#if: {{{7|}}}|<br> [[{{{7}}}]] {{#ifeq: {{{8|N/A}}}|N/A| | - ({{{8}}})}}{{#if: {{{9|}}}|<br> [[{{{9}}}]] {{#ifeq: {{{10|N/A}}}|N/A| | - ({{{10}}})}}{{#if: {{{11|}}}|<br> [[{{{11}}}]] {{#ifeq: {{{12|N/A}}}|N/A| | - ({{{12}}})}}{{#if: {{{13|}}}|<br> [[{{{13}}}]] {{#ifeq: {{{14|N/A}}}|N/A| | - ({{{14}}})}}{{#if: {{{15|}}}|<br> [[{{{15}}}]] {{#ifeq: {{{16|N/A}}}|N/A| | - ({{{16}}})}}{{#if: {{{17|}}}|<br> [[{{{17}}}]] {{#ifeq: {{{18|N/A}}}|N/A| | - ({{{18}}})}}{{#if: {{{19|}}}|<br> [[{{{19}}}]] {{#ifeq: {{{20|N/A}}}|N/A| | - ({{{20}}})}}}}}}}}}}}}}}}}}}}}}}}} |
|||
'''Type:''' {{{Type}}}<br> |
|||
|- BGCOLOR="#D4DDED" valign="top" |
|||
'''Description:''' {{{Description}}}<br> |
|||
| style="padding-bottom:0px; padding-top:0px" | '''Type:''' |
|||
| style="padding-bottom:0px; padding-top:0px" | {{{Type|}}} |
|||
|- BGCOLOR="#D4DDED" valign="top" |
|||
| style="padding-top:0px" | '''Description:''' |
|||
| style="padding-top:0px" | {{{Description|}}} |
|||
|} |
|} |
||
<noinclude> |
|||
==Template:NPC (Expanded Locations)== |
|||
⚫ | |||
*The following is what appears when you use |
|||
[[Category:{{{Location}}} NPCs]]</includeonly> |
|||
<pre>{{NPC |
|||
|Name=Choh Moui |
|||
|Type=Campaign NPC |
|||
|Location= |
|||
|Position= |
|||
|Crawlers' Nest (S)|I-11 |
|||
|Bastok Markets (S)|E-7 |
|||
|Southern San d'Oria (S)|J-11 |
|||
|Windurst Waters (S)|G-10 |
|||
|Description= |
|||
}} |
|||
</pre> |
|||
{{NPC |
|||
|Name=Choh Moui |
|||
|Type=Campaign NPC |
|||
|Location= |
|||
|Position= |
|||
|Crawlers' Nest (S)|I-11 |
|||
|Bastok Markets (S)|E-7 |
|||
|Southern San d'Oria (S)|J-11 |
|||
|Windurst Waters (S)|G-10 |
|||
|Description= |
|||
}} |
|||
⚫ |
Revision as of 00:36, 22 November 2008
Usage/Example
{{NPC |Name=Leonie |Location=Bastok Mines |Position=K-9 |Type=Mog House NPC |Description=Checks in/out your [[Mog House]] from other nations. }} |
- This template creates an NPC Header, you must type additional information about the NPC if necessary after template placement, such as, merchant wares.
- Image file name must have the same name as the page in .jpg format.
- Type must match an existing NPC subcategory. For a list, please refer to Category:NPCs.
- Location must be the same name as a zone name.
- If there is more than one location where the NPC can be found, this template is designed to hold upto 10 different locations and positions. (Example at the bottom)
- To achieve this, both Location and Position fields must be left blank.
- The Locations and Positions can be listed as additional parameters of the template without any field name.
- Each listed position must follow directly after its paired location.
- If the position of a particular NPC in a zone is not known, or cannot be determined, please use "N/A".
{{NPC |Name= |Type= |Location= |Position= |Description= }}
- Add the following sections as needed, or leave the code out completely if not relevant:
====Starts Quests/Missions==== *[[quest name]] *[[quest name]] ====Involved in Quests/Missions==== *[[quest name]] *[[quest name]] ====Relevant Lore==== * *
NPC Vendor Table
- To be used with Template:NPC, where vendor information is relevant
{{NPC Vendor Table |Insert NPC Vendor Wares Template= }}
- 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 |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 |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) |
Conditions | |||
---|---|---|---|---|---|
|
Template:NPC
- The following is what appears when you use
{{NPC |Name= |Type= |Location= |Position= |Description= }}
[[Image:{{{Name}}}.jpg|thumb]] |
Location: | |
Type: | |
Description: |
Template:NPC (Expanded Locations)
- The following is what appears when you use
{{NPC |Name=Choh Moui |Type=Campaign NPC |Location= |Position= |Crawlers' Nest (S)|I-11 |Bastok Markets (S)|E-7 |Southern San d'Oria (S)|J-11 |Windurst Waters (S)|G-10 |Description= }}
Location: | Crawlers' Nest (S) - (I-11
) |
Type: | Campaign NPC |
Description: |