Difference between revisions of "Template:NPC"
From HomepointXI Wiki
m |
m |
||
| (11 intermediate revisions by the same user not shown) | |||
| Line 118: | Line 118: | ||
</noinclude>__NOTOC__ | </noinclude>__NOTOC__ | ||
{| align="right" | {| align="right" | ||
| − | | valign="top" | [[Image:{{{Name}}}.jpg]] | + | | valign="top" | [[Image:{{{Name}}}.jpg|300px|250px]] |
|} | |} | ||
{| border="0" cellpadding="5" cellspacing="0" width="700px" | {| border="0" cellpadding="5" cellspacing="0" width="700px" | ||
| − | |- BGCOLOR="# | + | |- BGCOLOR="#D4D4D4" valign="top" |
| style="padding-bottom:0px; width:10%;" | '''Location:''' | | style="padding-bottom:0px; width:10%;" | '''Location:''' | ||
| − | | style="padding-bottom:0px;" | {{#if: {{{Location|}}}| | + | | style="padding-bottom:0px;" | {{#if: {{{Location|}}}| {{{Location}}} {{#if: {{{Position|}}} |
| - ({{{Position}}})}}|{{#if:{{{1|}}}|[[{{{1}}}]] {{#if:{{{2|}}} | | - ({{{Position}}})}}|{{#if:{{{1|}}}|[[{{{1}}}]] {{#if:{{{2|}}} | ||
| - ({{trim|{{{2}}}}})}}{{#if:{{{3|}}}|<br>[[{{{3}}}]] {{#if:{{{4|}}} | | - ({{trim|{{{2}}}}})}}{{#if:{{{3|}}}|<br>[[{{{3}}}]] {{#if:{{{4|}}} | ||
| Line 146: | Line 146: | ||
| - ({{trim|{{{38}}}}})}}{{#if:{{{39|}}}|<br>[[{{{39}}}]] {{#if:{{{40|}}} | | - ({{trim|{{{38}}}}})}}{{#if:{{{39|}}}|<br>[[{{{39}}}]] {{#if:{{{40|}}} | ||
| - ({{trim|{{{40}}}}})}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} | | - ({{trim|{{{40}}}}})}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} | ||
| − | |- BGCOLOR="# | + | |- BGCOLOR="#D4D4D4" valign="top" |
| style="padding-bottom:0px; padding-top:0px" | '''Type:''' | | style="padding-bottom:0px; padding-top:0px" | '''Type:''' | ||
| style="padding-bottom:0px; padding-top:0px" | {{{Type|}}} | | style="padding-bottom:0px; padding-top:0px" | {{{Type|}}} | ||
| − | |- BGCOLOR="# | + | |- BGCOLOR="#D4D4D4" valign="top" |
| style="padding-top:0px" | '''Description:''' | | style="padding-top:0px" | '''Description:''' | ||
| style="padding-top:0px" | {{{Description|}}} | | style="padding-top:0px" | {{{Description|}}} | ||
| Line 158: | Line 158: | ||
*The following is what appears when you use | *The following is what appears when you use | ||
<pre>{{NPC | <pre>{{NPC | ||
| − | |Name= | + | |Name=AF3 Upgrade Moogle |
|Type=Campaign NPC | |Type=Campaign NPC | ||
|Crawlers' Nest (S)|I-11 | |Crawlers' Nest (S)|I-11 | ||
| Line 168: | Line 168: | ||
</pre> | </pre> | ||
{| align="right" | {| align="right" | ||
| − | | [[Image: | + | | [[Image:AF3 Upgrade Moogle.jpg|300px|300px]] |
|} | |} | ||
| Line 174: | Line 174: | ||
|- BGCOLOR="#D4DDED" valign="top" | |- BGCOLOR="#D4DDED" valign="top" | ||
| style="padding-bottom:0px; width:10%;" | '''Location:''' | | style="padding-bottom:0px; width:10%;" | '''Location:''' | ||
| − | | style="padding-bottom:0px;" | | + | | style="padding-bottom:0px;" | Crawlers' Nest (S) - (I-11)<br>Bastok Markets (S) <br>Southern San d'Oria (S) - (J-11)<br>Windurst Waters (S) - (G-10) |
|- BGCOLOR="#D4DDED" valign="top" | |- BGCOLOR="#D4DDED" valign="top" | ||
| style="padding-bottom:0px; padding-top:0px" | '''Type:''' | | style="padding-bottom:0px; padding-top:0px" | '''Type:''' | ||
Latest revision as of 10:28, 28 July 2021
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 leave it blank.
{{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|300px|250px]] |
| Location: | |
| Type: | |
| Description: |
Template:NPC (Expanded Locations)
- The following is what appears when you use
{{NPC
|Name=AF3 Upgrade Moogle
|Type=Campaign NPC
|Crawlers' Nest (S)|I-11
|Bastok Markets (S)|
|Southern San d'Oria (S)|J-11
|Windurst Waters (S)|G-10
|Description= Freelancer
}}
| |
| Location: | Crawlers' Nest (S) - (I-11) Bastok Markets (S) Southern San d'Oria (S) - (J-11) Windurst Waters (S) - (G-10) |
| Type: | Campaign NPC |
| Description: | Freelancer |