Difference between revisions of "Template:NPC infobox"
Jump to navigation
Jump to search
(111 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#set:Has context=NPC}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers= {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}}}<div class="infobox-n npc"> | <includeonly>{{#set:Has context=NPC}}{{#switch:{{lc:{{{release|}}}}}|heavensward = {{Heavensward expansion content}}|stormblood = {{Stormblood expansion content}}|shadowbringers= {{Shadowbringers expansion content}}|endwalker = {{Endwalker expansion content}}|dawntrail = {{Dawntrail expansion content}}}}{{#if:{{{release|}}}||{{#switch:{{{patch|}}}|1.0|2.0|2.05|2.1|2.15|2.16|2.2|2.21|2.25|2.28|2.3|2.35|2.38|2.4|2.41|2.45|2.5|2.51|2.55|2.56|2.57=|#default=[[Category:Missing release]]}}}}<div class="infobox-n npc"> | ||
{{#if: {{{icon|}}} | {{#if: {{{icon|}}} | ||
| <div class="icon">[[File:{{{icon}}}| | | <div class="icon">[[File:{{{icon}}}|40px]]</div> | ||
| {{#if: {{{service|}}} | | {{#if: {{{service|}}} | ||
| {{#arraymap:{{{service}}}|,|@@@|{{#if: {{#var:icon|}} || {{#vardefine:icon|@@@}} }}}}<!-- grab the first item in the list for the icon | | {{#arraymap:{{{service}}}|,|@@@|{{#if: {{#var:icon|}} || {{#vardefine:icon|@@@}} }}}}<!-- grab the first item in the list for the icon | ||
--><div class="icon">[[File:{{#switch: {{lc:{{#var:icon|}}}} | --><div class="icon">[[File:{{#switch: {{lc:{{#var:icon|}}}} | ||
| | | sundry splendors = Sundry Splendors | ||
| | | merchant = Merchantv2 | ||
| merchant | | event merchant = Merchantv2 | ||
| quest = | | materia melder = Materia melder map icon | ||
| retainer vocate = Retainer vocate map icon | |||
| quest = Journal icon1 | |||
| repairs = Repairs | | repairs = Repairs | ||
| fate = FATE trigger (map icon) | |||
| #default = {{#ifexist: File:{{#var:icon}}.png|{{#var:icon}}|Empty}} | | #default = {{#ifexist: File:{{#var:icon}}.png|{{#var:icon}}|Empty}} | ||
}}.png| | }}.png|50x50px]]</div> | ||
}} | }} | ||
}} | }} | ||
Line 39: | Line 42: | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{race|}}} | | -->{{#if: {{{race|}}} | | ||
; Race | ; [[Race]] | ||
: {{#switch: {{lc:{{{race}}}}} | : {{#switch: {{lc:{{{race}}}}} | ||
| au ra | aura = [[Has race::Au Ra]] | | au ra | aura = [[Has race::Au Ra]] | ||
| miqo'te | miqote = [[Has race::Miqo'te]] | | miqo'te | miqote = [[Has race::Miqo'te]] | ||
| various = | | various = Various {{#set:Has race=NPCs with various races}} | ||
| #default = [[Has race::{{ucfirst:{{{race}}}}}]] | | #default = [[Has race::{{ucfirst:{{{race}}}}}]] | ||
}}{{#if:{{{clan|}}}| <small>({{#switch: {{lc:{{{clan}}}}} | }}{{#if:{{{clan|}}}| <small>({{#switch: {{lc:{{{clan}}}}} | ||
| seeker of the sun = [[Has clan::Seeker of the Sun]] | | seeker of the sun | seekers of the sun = [[Has clan::Seeker of the Sun]] | ||
| keeper of the moon = [[Has clan::Keeper of the Moon]] | | keeper of the moon | keepers of the moon = [[Has clan::Keeper of the Moon]] | ||
| sea wolf = [[Has clan::Sea Wolf]] | | sea wolf = [[Has clan::Sea Wolf]] | ||
| #default = [[Has clan::{{ucfirst:{{{clan}}}}}]] | | #default = [[Has clan::{{ucfirst:{{{clan}}}}}]] | ||
Line 66: | Line 69: | ||
--> | --> | ||
{{#if: {{{profession|}}} |;Profession | {{#if: {{{profession|}}} |;Profession | ||
: | :{{{profession}}} | ||
}}<!-- | }}<!-- | ||
-->{{#ifeq: {{{level|0}}} | 0 | {{#set:Has NPC level=0}} | | -->{{#ifeq: {{{level|0}}} | 0 | {{#set:Has NPC level=0}} | | ||
Line 72: | Line 75: | ||
:[[Has NPC level::{{{level}}}]] | :[[Has NPC level::{{{level}}}]] | ||
}}}}<!-- | }}}}<!-- | ||
-->{{#if: {{{element|}}} |;[[The Forbidden Land, Eureka#Enemies|Element]] | |||
:{{Eurekaelement icon|{{{element}}}}} {{ucfirst:{{{element}}}}} {{#set:Has NPC element={{{element}}}}} | |||
}}<!-- | |||
-->{{#if: {{{adaptation|}}} |;Adaptation | |||
:{{#switch:{{{adaptation|}}}|yes=[[File:Adaption icon1.png|20px|link=]]|#default=}}{{#set:Has NPC adaptation={{{adaptation|}}}}} | |||
}}<!-- | |||
-->{{#if: {{{mutation|}}} |;Mutation | |||
:{{#switch:{{{mutation|}}}|yes=[[File:Mutation icon1.png|20px|link=]]|#default=}}{{#set:Has NPC mutation={{{mutation|}}}}} | |||
}}<!-- | |||
-->{{#if: {{{spawn-condition|}}} |;Spawn Condition | |||
:{{#arraymap:{{{spawn-condition}}}|,|@@@|{{weather icon|@@@}}}}{{#set:Has NPC spawn-condition={{{spawn-condition|}}}}} | |||
}}<!-- | |||
-->{{#if: {{{aggression|}}} | | -->{{#if: {{{aggression|}}} | | ||
;[[Aggression]] | ;[[Aggression]] | ||
: {{#vardefine:aggression-rank|{{#sub:{{{aggression}}}|1|1}}}}{{#vardefineecho:aggression-type|{{#ifeq:{{lc:{{#sub:{{{aggression}}}|0|1}}}}|p|Passive|Aggressive}}}} <div style="display:inline-block; margin: -8px {{#switch:{{#var:aggression-rank}}|1 | 2 = {{#switch:{{#var:aggression-type}}|Passive = -6|Aggressive = 0}} | #default = 0}}px; overflow: hidden;">[[File:{{#var:aggression-type}} difficulty r{{#var:aggression-rank}}.png|26px|Aggression level {{#var:aggression-rank}}]]</div>{{#set:Has aggression type={{#var:aggression-type}}}}{{#set:Has aggression rank={{#var:aggression-rank}}}} }}<!-- | : {{#vardefine:aggression-rank|{{#sub:{{{aggression}}}|1|1}}}}{{#vardefineecho:aggression-type|{{#ifeq:{{lc:{{#sub:{{{aggression}}}|0|1}}}}|p|Passive|Aggressive}}}} <div style="display:inline-block; margin: -8px {{#switch:{{#var:aggression-rank}}|1 | 2 = {{#switch:{{#var:aggression-type}}|Passive = -6|Aggressive = 0}} | #default = 0}}px; overflow: hidden;">[[File:{{#var:aggression-type}} difficulty r{{#var:aggression-rank}}.png|26px|Aggression level {{#var:aggression-rank}}]]</div>{{#set:Has aggression type={{#var:aggression-type}}}}{{#set:Has aggression rank={{#var:aggression-rank}}}} }}<!-- | ||
-->{{#if: {{{aggro-type|}}} | | |||
;[[Aggression#Conditions|Aggro Type]] | |||
: {{ucfirst: {{{aggro-type}}}}} }}<!-- | |||
-->{{#if: {{{vulnerable|}}} | | |||
;Vulnerabilities | |||
: {{#arraymap: {{{vulnerable|}}}|,|@@@|{{#ifeq:@@@|resolution|[[File:Heavenly judge icon.png|24px|link=|Heavenly Judge from Pomander of Resolution]]|{{status effect|@@@}}}}| }} }}<!-- | |||
-->{{#if: {{{location|}}} | | -->{{#if: {{{location|}}} | | ||
; | ; [[Zone]] | ||
: [[{{{location|}}}]] <small>({{{coordinates|}}})</small> }}<!-- | : {{#switch: {{{location|}}}|Varies|varies={{{location}}}|#default=[[{{{location|}}}]]}} {{#if: {{{coordinates|}}}|<small>({{{coordinates|}}})</small>}} }}<!-- | ||
-->{{#if:{{{dungeon|}}}|; [[Dungeon]] | -->{{#if:{{{dungeon|}}}|; [[Dungeon]] | ||
: {{cname|{{#vardefineecho:npc_instance|{{{dungeon}}}}}}}{{#set:Located in instance={{{dungeon|}}}}}{{#vardefine:is_boss|{{{objective|}}}}} | : {{cname|{{#vardefineecho:npc_instance|{{{dungeon}}}}}}}{{#set:Located in instance={{{dungeon|}}}}}{{#vardefine:is_boss|{{{objective|}}}}} | ||
Line 86: | Line 107: | ||
-->{{#if:{{{trial|}}}|; [[Trial]] | -->{{#if:{{{trial|}}}|; [[Trial]] | ||
: {{cname|{{#vardefineecho:npc_instance|{{{trial}}}}}}}{{#set:Located in instance={{{trial|}}}}}{{#vardefine:is_boss|{{{objective|}}}}} | : {{cname|{{#vardefineecho:npc_instance|{{{trial}}}}}}}{{#set:Located in instance={{{trial|}}}}}{{#vardefine:is_boss|{{{objective|}}}}} | ||
}}<!-- | |||
-->{{#if:{{{other-duty|}}}|; [[Duties|Other Duty]] | |||
: {{cname|{{#vardefineecho:npc_instance|{{{other-duty}}}}}}}{{#set:Located in instance={{{other-duty|}}}}}{{#vardefine:is_boss|{{{objective|}}}}} | |||
}}<!-- | }}<!-- | ||
--> | --> | ||
Line 101: | Line 125: | ||
}}<!-- | }}<!-- | ||
-->{{ #if: {{{service|}}} | | -->{{ #if: {{{service|}}} | | ||
; | ;Services | ||
:{{#arraymap:{{{service|}}}|,|@@@|{{#switch: {{lc:@@@}} | :{{#arraymap:{{{service|}}}|,|@@@|{{#switch: {{lc:@@@}} | ||
| quest | | quest = [[Has service::Quest NPC]] | ||
| quest npc = [[Has service::Quest NPC]] | | quest npc = [[Has service::Quest NPC]] | ||
| | | repair = [[Has service::Repairs]] | ||
| repairs = [[Has service::Repairs]] | | repairs = [[Has service::Repairs]] | ||
| merchant = [[Has service::Merchants]] | |||
| merchants = [[Has service::Merchants]] | |||
| sundry splendors = [[Has service::Sundry Splendors]] | |||
| gemstone trader = [[Has service::Gemstone Trader]] | |||
| resident caretaker = [[Has service::Resident Caretaker]] | |||
| materia melder = [[Has service::Materia Melder]] | |||
| fate = [[Has service::FATE NPC]] | |||
| #default = [[Has service::{{ucfirst:@@@}}]] | | #default = [[Has service::{{ucfirst:@@@}}]] | ||
}} |<br>}} | }} |<br>}} | ||
Line 121: | Line 150: | ||
}}<!-- | }}<!-- | ||
-->{{#if: {{{patch|}}} | | -->{{#if: {{{patch|}}} | | ||
; Patch | ; [[Patches|Patch]] | ||
: [[Patch {{{patch}}}|{{{patch}}}]] | : [[Patch {{{patch}}}|{{{patch}}}]] | ||
}}<!-- | }}<!-- | ||
Line 151: | Line 180: | ||
<p style="font-size:.9em;">{{{map3-text|Click to enlarge}}}</p> }}{{ #if: {{{map4|}}} | [[File:{{{map4|}}}|250x200px]] | <p style="font-size:.9em;">{{{map3-text|Click to enlarge}}}</p> }}{{ #if: {{{map4|}}} | [[File:{{{map4|}}}|250x200px]] | ||
<p style="font-size:.9em;">{{{map4-text|Click to enlarge}}}</p> }}{{ #if: {{{map5|}}} | [[File:{{{map5|}}}|250x200px]] | <p style="font-size:.9em;">{{{map4-text|Click to enlarge}}}</p> }}{{ #if: {{{map5|}}} | [[File:{{{map5|}}}|250x200px]] | ||
<p style="font-size:.9em;">{{{map5-text|Click to enlarge}}}</p> | <p style="font-size:.9em;">{{{map5-text|Click to enlarge}}}</p> }} | ||
{{!}}} | {{!}}} | ||
| {{clear}} }} | | {{clear}} }} | ||
</div>{{#if:{{{description|}}}| | </div>{{#if:{{{description|}}}| | ||
{{Quotation|In-game description|[[Has game description::{{{description}}}]]}} }}<!-- | {{Quotation|{{#if:{{{description-source|}}}|{{{description-source|}}}|In-game description}}|[[Has game description::{{{description}}}]]}} }}<!-- | ||
AUTOCATEGORIZATION | AUTOCATEGORIZATION | ||
-->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace --> | -->{{#if: {{NAMESPACE}}<!-- no categories if outside of article namespace --> | ||
Line 164: | Line 193: | ||
| au ra | aura = [[Category:Au Ra]] | | au ra | aura = [[Category:Au Ra]] | ||
| miqo'te | miqote = [[Category:Miqo'te]] | | miqo'te | miqote = [[Category:Miqo'te]] | ||
| various = | | beast of the final days = [[Category:Beasts of the Final Days]] | ||
| eden primal = [[Category:Eden Primals]] | |||
| creation = [[Category:Creations]] | |||
| various = [[Category:NPCs with various races]] | |||
| #default = [[Category:{{ucfirst:@@@}}]] | | #default = [[Category:{{ucfirst:@@@}}]] | ||
}}|}} | }}|}} | ||
| {{#if:{{#var:is_boss}}||[[Category:NPCs with no race specified]]}} }} | | {{#if:{{#var:is_boss}}||[[Category:NPCs with no race specified]]}} }} | ||
{{#if: {{{rank|}}} | [[Category:{{uc:{{{rank}}}}} Rank]]}} | {{#if: {{{rank|}}} | [[Category:{{uc:{{{rank}}}}} Rank]]}} | ||
{{#if: {{{species|}}} | [[Category:{{{species}}}]]}} | |||
{{#if: {{{clan|}}} | | {{#if: {{{clan|}}} | | ||
{{#switch: {{lc:{{{clan}}}}} | {{#switch: {{lc:{{{clan}}}}} | ||
| plainsfolk | dunesfolk | raen | xaela | wildwood | duskwight | hellsguard | rava | veena | helions = [[Category:{{ucfirst:{{{clan}}}}}]] <!-- No change --> | | plainsfolk | dunesfolk | raen | xaela | wildwood | duskwight | hellsguard | rava | veena | helions = [[Category:{{ucfirst:{{{clan}}}}}]] <!-- No change --> | ||
| seeker of the sun = [[Category:Seekers of the Sun]] | | seeker of the sun | seekers of the sun = [[Category:Seekers of the Sun]] | ||
| keeper of the moon = [[Category:Keepers of the Moon]] | | keeper of the moon | keepers of the moon = [[Category:Keepers of the Moon]] | ||
| sea wolf | | sea wolf | sea wolves = [[Category:Sea Wolves]] | ||
| the lost = [[Category:The Lost]] | | the lost = [[Category:The Lost]] | ||
| #default = [[Category:{{ucfirst:{{{clan}}}}} | | #default = [[Category:{{ucfirst:{{{clan}}}}}]] | ||
}} }} | }} }} | ||
{{#if: {{{organization|}}} | {{#arraymap:{{{organization|}}}|,|@@@|[[Category:@@@]]|}} }} | {{#if: {{{organization|}}} | {{#arraymap:{{{organization|}}}|,|@@@|[[Category:@@@]]|}} }} | ||
Line 187: | Line 219: | ||
| quest | | quest | ||
| quest npc = [[Category:Quest NPCs]] | | quest npc = [[Category:Quest NPCs]] | ||
| repair | | repair = [[Category:Repairs]] | ||
| repairs = [[Category:Repairs]] | | repairs = [[Category:Repairs]] | ||
| gemstone trader = [[Category:Gemstone Traders]] | |||
| sundry splendors = [[Category:Sundry Splendors]] | |||
| resident caretaker = [[Category:Resident Caretaker]] | |||
| fate = [[Category:FATE NPCs]] | |||
| #default = [[Category:{{ucfirst:@@@}}s]] | | #default = [[Category:{{ucfirst:@@@}}s]] | ||
}}|}} }} | }}|}} }} | ||
{{#ifeq: {{lc:{{{objective|}}}}} | boss | [[Category:Bosses]]|}} | |||
{{#if: {{{location|}}} | {{#arraymap:{{{location|}}}|,|@@@|{{#set:Located in=@@@}}}} }} | {{#if: {{{location|}}} | {{#arraymap:{{{location|}}}|,|@@@|{{#set:Located in=@@@}}}} }} | ||
{{#if: {{{goal|}}} | {{#arraymap:{{{goal|}}}|\n|@@@|{{#set:Has goal=@@@}}}} }} | |||
{{#if: {{{race|}}} | {{#arraymap:{{{race|}}}|,|@@@|{{#set:Has family=@@@}}}} }} | {{#if: {{{race|}}} | {{#arraymap:{{{race|}}}|,|@@@|{{#set:Has family=@@@}}}} }} | ||
{{#if: {{{organization|}}} | {{#set:Has family={{{organization}}}}} }}<!--Temporary code for family property --> | {{#if: {{{organization|}}} | {{#set:Has family={{{organization}}}}} }}<!--Temporary code for family property --> | ||
{{#if: {{{patch|}}} | {{#arraymap:{{{patch|}}}|,|@@@|{{#switch:{{lc:@@@}} | |||
| #default = [[Category:{{ucfirst:Patch {{{patch}}}}} NPCs]] | |||
}}|}} }} | |||
{{#if: {{{coordinates|}}} | {{#ifexpr: {{#len: {{{coordinates|}}} }} < 1000 | | {{#if: {{{coordinates|}}} | {{#ifexpr: {{#len: {{{coordinates|}}} }} < 1000 | | ||
{{#set: | {{#set: | ||
Line 203: | Line 244: | ||
}}<!-- | }}<!-- | ||
-->{{#if:{{{no-footer-text|}}}||{{#switch: {{lc:{{{race}}}}} | -->{{#if:{{{no-footer-text|}}}||{{#switch: {{lc:{{{race}}}}} | ||
| au ra | aura | miqo'te | miqote | hyur | elezen | lalafell | roegadyn | viera | hrothgar = | <!--| au ra | aura | miqo'te | miqote | hyur | elezen | lalafell | roegadyn | viera | hrothgar = --> | ||
| #default = {{#vardefine:npc_descriptor|{{#if:{{#var:is_boss}}| a boss|{{#if:{{{rank|}}}| a [[Rank {{uc:{{{rank}}}}}]] [[Elite Mark]]|{{#ifeq:{{lc:{{{name|{{#titleparts:{{PAGENAME}}}}}}}}}|{{lc:{{{race|}}}}}||{{#if:{{{race|}}}| a<!-- Indefinite noun -->{{#switch:{{lc:{{#sub:{{{race|}}}|0|1}}}}|a|e|i|o|u=n}} [[{{ucfirst:{{{race|}}}}}]]}}}}}}}}}}<!-- DESCRIPTOR -->'''{{{name|{{#titleparts:{{PAGENAME}}}}}}}''' is{{#var:npc_descriptor}}{{#if:{{{location|}}}| found in {{#ifeq:{{lc:{{{location|}}}}}|varies|various locations|[[{{#show:{{{location}}}|?Has canonical name|default={{{location}}}}}]]}}|{{#if:{{#var:npc_instance}}| found in [[{{#var:npc_instance}}]]}}}}.}} }}</includeonly> <!-- this trailing space is a whitespace fix --><noinclude> | | #default = {{#vardefine:npc_descriptor|{{#if:{{#var:is_boss}}| a boss|{{#if:{{{rank|}}}| a [[Rank {{uc:{{{rank}}}}}]] [[Elite Mark]]|{{#ifeq:{{lc:{{{name|{{#titleparts:{{PAGENAME}}}}}}}}}|{{lc:{{{race|}}}}}||{{#if:{{{race|}}}| a<!-- Indefinite noun -->{{#switch:{{lc:{{#sub:{{{race|}}}|0|1}}}}|a|e|i|o|u=n}} {{#ifeq:{{lc:{{{race}}}}}|elementals|[[Elemental]]|[[{{ucfirst:{{{race|}}}}}]]}}}}}}}}}}}}<!-- DESCRIPTOR -->'''{{#if:{{{full-name|}}}|{{{full-name|}}}|{{{name|{{#titleparts:{{PAGENAME}}}}}}}}}''' is{{#var:npc_descriptor}}{{#if:{{{location|}}}| found in {{#ifeq:{{lc:{{{location|}}}}}|varies|various locations|[[{{#show:{{{location}}}|?Has canonical name|default={{{location}}}}}]]}}|{{#if:{{#var:npc_instance}}| found in [[{{#var:npc_instance}}]]}}}}.}} }}[[Category:NPCs]]</includeonly> <!-- this trailing space is a whitespace fix --><noinclude> | ||
== Description == | == Description == | ||
Adds an NPC infobox to the page. Serves two purposes: NPCs such as merchants and important characters, and hostile creatures. | Adds an NPC infobox to the page. Serves two purposes: NPCs such as merchants and important characters, and hostile creatures. | ||
Line 211: | Line 252: | ||
{{NPC infobox | {{NPC infobox | ||
| name = | | name = | ||
| full-name = | |||
| description = | | description = | ||
| image = | | image = | ||
Line 218: | Line 260: | ||
| raid = | | raid = | ||
| trial = | | trial = | ||
| other-duty = | |||
| objective = | | objective = | ||
| title = | | title = | ||
Line 229: | Line 272: | ||
| birthplace = | | birthplace = | ||
| organization = | | organization = | ||
| relatives = | |||
| level = | | level = | ||
| element = | |||
| adaptation = | |||
| mutation = | |||
| spawn-condition = | |||
| aggression = | | aggression = | ||
| aggro-type = | |||
| vulnerable = | |||
| service = | | service = | ||
| goal = | | goal = | ||
Line 243: | Line 293: | ||
== Parameters == | == Parameters == | ||
; name : Optional. Defaults the name of the article (<code><nowiki>{{PAGENAME}}</nowiki></code>). | ; name : Optional. Defaults the name of the article (<code><nowiki>{{PAGENAME}}</nowiki></code>). | ||
; name : Optional. The full name (e.g, first and last) of the NPC. | |||
; description : Optional. The description of the abilites of the NPC, listed under the health bar. Use a comma-separated list of the abilities. | ; description : Optional. The description of the abilites of the NPC, listed under the health bar. Use a comma-separated list of the abilities. | ||
; icon : Optional. The creature icon. If no value is set the icon defaults to showing an icon chosen by the '''service''' parameter. If that too is unspecified, the icon is hidden. | ; icon : Optional. The creature icon. If no value is set the icon defaults to showing an icon chosen by the '''service''' parameter. If that too is unspecified, the icon is hidden. If an incorrect service parameter is entered, a broken image link will appear in place of the icon's location. | ||
; image : Optional. The NPC image should not include any text. Defaults to the page name (<code><nowiki>{{PAGENAME}}.jpg</nowiki></code>). | ; image : Optional. The NPC image itself should not include any text. Only the filename is needed, no <code>File:</code> prefix or formatting is necessary. Defaults to the page name (<code><nowiki>{{PAGENAME}}.jpg</nowiki></code>). | ||
; title : Optional. Notable titles held by the NPC. | ; title : Optional. Notable titles held by the NPC. | ||
; gender : Optional. The gender of the NPC. | ; gender : Optional. The gender of the NPC. This only allows "male" and "female" in compliance with the game's internal code structure. Deviations from this should be addressed elsewhere on the page and thoroughly sourced from official material. | ||
; age : Optional. The age of the NPC, if known. | ; age : Optional. The age of the NPC, if known. | ||
; race : Required for all Spoken NPCs. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, use "Various". | ; race : Required for all Spoken NPCs. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, use "Various". Also used for Monster NPCs such as Flan, Aldgoat, Behemoth etc | ||
; clan : Optional. The NPC clan if applicable. | ; clan : Optional. The NPC clan if applicable. | ||
; species : Required for all Monster NPCs. The species of the NPC (Beastkin, Scalekin, Wavekin, Vilekin, Seedkin, Voidsent, Elemental, Chimera). | ; species : Required for all Monster NPCs. The species of the NPC (Beastkin, Scalekin, Wavekin, Vilekin, Seedkin, Voidsent, Elemental, Chimera). | ||
; location : Required. The zone the NPC can be found. Do not use anything other than a [[zone]]. For multiple locations, please input ''Varies'' and use the appropriate location templates (see [[Morbol#Locations|this example]]). | |||
; location : Required. The | ; coordinates : Optional. Use only the format <code>x,y</code> as in <code>10,30</code> with no other characters or symbols. If unknown simply omit; do not use 0,0 or question marks. | ||
; dungeon | ; dungeon | ||
: Optional. The dungeon where such creature appears. | : Optional. The dungeon where such creature appears. | ||
Line 260: | Line 311: | ||
; trial | ; trial | ||
: Optional. The trial where such creature appears. | : Optional. The trial where such creature appears. | ||
; other-duty | |||
: Optional. The duty where such creature appears excluding dungeons, trials and raids. | |||
; objective | ; objective | ||
: Optional. The objective corresponding to beat the creature. Applies to instance bosses. | : Optional. The objective corresponding to beat the creature. Applies to instance bosses. | ||
Line 266: | Line 319: | ||
; relatives : Optional. Known relatives of the NPC. Separate each entry with <nowiki><br></nowiki>. | ; relatives : Optional. Known relatives of the NPC. Separate each entry with <nowiki><br></nowiki>. | ||
; level : Optional. The level of the NPC. | ; level : Optional. The level of the NPC. | ||
; aggression : Optional. The aggression type and rank. It accepts aggressive and passive, formatted as follows: a1 (aggressive rank 1), a2 ( | ; element : Optional. The element of the NPC in [[Eureka]]. | ||
; adapation : Optional. The adaptation of the NPC in [[Eureka]]. | |||
; mutation : Optional. The mutation of the NPC in [[Eureka]]. | |||
; spawn-condition : Optional. The spawn condition for the NPC, such as [[weather]] and time of day. | |||
; aggression : Optional. The aggression type and rank. It accepts aggressive and passive, formatted as follows: a1 (aggressive rank 1), a2 (aggressive rank 2), ..., p1 (passive rank 1), p2 (passive rank 2), etc. | |||
; class: Optional. The class of the NPC. | ; class: Optional. The class of the NPC. | ||
; job: Optional. The job of the NPC. | ; job: Optional. The job of the NPC. | ||
; profession: Optional. The profession of the NPC. | ; profession: Optional. The profession of the NPC. This is <mark>'''NOT'''</mark> to be used for [[classes]] or [[jobs]]! Do not put ''anything'' that is a valid class/job in this field unless it is how the NPC makes a living. | ||
; service : The service or services provided by the NPC. Use a comma- | ; service : The service or services provided by the NPC. Use a comma-separated list of services. <mark>'''Available options include: quest, repair, merchant, sundry splendors, gemstone trader, resident caretaker, materia melder, fate'''. This value will also affect the sprite that shows up in the top-left corner of their infobox. If the sprite fails to appear, you have entered in an incorrect service value.</mark> | ||
; goal : Optional. Specific events or tasks this NPC is affiliated with. If entering multiple goals, put each new goal on a new line. | ; goal : Optional. Specific events or tasks this NPC is affiliated with. If entering multiple goals, put each new goal on a new line. | ||
; coordinates : Optional. The X, Y and Z coordinates to the NPCs location, comma-separated. Eg.: <code>23.2, 5.55, 1</code>. <!-- Displays and interactive map with a marker of the NPC's location. EG <code>[12345,31321]</code>. See {{tl|Infobox map}} for more details. --> | ; coordinates : Optional. The X, Y and Z coordinates to the NPCs location, comma-separated. Eg.: <code>23.2, 5.55, 1</code>. <!-- Displays and interactive map with a marker of the NPC's location. EG <code>[12345,31321]</code>. See {{tl|Infobox map}} for more details. --> | ||
; | ; release : Optional. The expansion required to access the content. Displays a notice of the release. | ||
; patch : Optional. The patch in which the NPC was added. Only the number is needed. | |||
; voiceJP : Optional. Japanese voice actor/actress name(s) | ; voiceJP : Optional. Japanese voice actor/actress name(s) | ||
; voiceEN : Optional. English voice actor/actress name(s) | ; voiceEN : Optional. English voice actor/actress name(s) | ||
Line 284: | Line 342: | ||
| name = Alphinaud Leveilleur | | name = Alphinaud Leveilleur | ||
| description = | | description = | ||
| image = Alphinaud.png | | image = Alphinaud shadowbringers render.png | ||
| location = South Shroud | | location = South Shroud | ||
| coordinates = 19, 29 | | coordinates = 19, 29 | ||
Line 293: | Line 351: | ||
| class = Arcanist | | class = Arcanist | ||
| birthplace = Sharlayan (Colony) | | birthplace = Sharlayan (Colony) | ||
| organization = Scions of the Seventh Dawn | | organization = The Scions of the Seventh Dawn | ||
| relatives = [[Louisoix]] (grandfather)<br>[[Fourchenault]] (father)<br>[[Alisaie]] (sister) | | relatives = [[Louisoix]] (grandfather)<br>[[Fourchenault]] (father)<br>[[Alisaie]] (sister) | ||
| voiceJP = Shinnosuke Tachibana | | voiceJP = Shinnosuke Tachibana | ||
Line 305: | Line 363: | ||
| name = Alphinaud Leveilleur | | name = Alphinaud Leveilleur | ||
| description = | | description = | ||
| image = Alphinaud.png | | image = Alphinaud shadowbringers render.png | ||
| location = South Shroud | | location = South Shroud | ||
| coordinates = 19, 29 | | coordinates = 19, 29 | ||
Line 314: | Line 372: | ||
| class = Arcanist | | class = Arcanist | ||
| birthplace = Sharlayan (Colony) | | birthplace = Sharlayan (Colony) | ||
| organization = Scions of the Seventh Dawn | | organization = The Scions of the Seventh Dawn | ||
| relatives = [[Louisoix]] (grandfather)<br>[[Fourchenault]] (father)<br>[[Alisaie]] (sister) | | relatives = [[Louisoix]] (grandfather)<br>[[Fourchenault]] (father)<br>[[Alisaie]] (sister) | ||
| voiceJP = Shinnosuke Tachibana | | voiceJP = Shinnosuke Tachibana |
Latest revision as of 03:30, 13 June 2024
Description
Adds an NPC infobox to the page. Serves two purposes: NPCs such as merchants and important characters, and hostile creatures.
{{NPC infobox | name = | full-name = | description = | image = | location = | coordinates = | dungeon = | raid = | trial = | other-duty = | objective = | title = | gender = | age = | race = | clan = | class = | job = | profession = | birthplace = | organization = | relatives = | level = | element = | adaptation = | mutation = | spawn-condition = | aggression = | aggro-type = | vulnerable = | service = | goal = | release = | patch = | voiceJP = | voiceEN = | voiceFR = | voiceDE = }}
Parameters
- name
- Optional. Defaults the name of the article (
{{PAGENAME}}
). - name
- Optional. The full name (e.g, first and last) of the NPC.
- description
- Optional. The description of the abilites of the NPC, listed under the health bar. Use a comma-separated list of the abilities.
- icon
- Optional. The creature icon. If no value is set the icon defaults to showing an icon chosen by the service parameter. If that too is unspecified, the icon is hidden. If an incorrect service parameter is entered, a broken image link will appear in place of the icon's location.
- image
- Optional. The NPC image itself should not include any text. Only the filename is needed, no
File:
prefix or formatting is necessary. Defaults to the page name ({{PAGENAME}}.jpg
). - title
- Optional. Notable titles held by the NPC.
- gender
- Optional. The gender of the NPC. This only allows "male" and "female" in compliance with the game's internal code structure. Deviations from this should be addressed elsewhere on the page and thoroughly sourced from official material.
- age
- Optional. The age of the NPC, if known.
- race
- Required for all Spoken NPCs. The race of the NPC. Race here should be capitalized. If this NPC could be multiple races, use "Various". Also used for Monster NPCs such as Flan, Aldgoat, Behemoth etc
- clan
- Optional. The NPC clan if applicable.
- species
- Required for all Monster NPCs. The species of the NPC (Beastkin, Scalekin, Wavekin, Vilekin, Seedkin, Voidsent, Elemental, Chimera).
- location
- Required. The zone the NPC can be found. Do not use anything other than a zone. For multiple locations, please input Varies and use the appropriate location templates (see this example).
- coordinates
- Optional. Use only the format
x,y
as in10,30
with no other characters or symbols. If unknown simply omit; do not use 0,0 or question marks. - dungeon
- Optional. The dungeon where such creature appears.
- raid
- Optional. The raid where such creature appears.
- trial
- Optional. The trial where such creature appears.
- other-duty
- Optional. The duty where such creature appears excluding dungeons, trials and raids.
- objective
- Optional. The objective corresponding to beat the creature. Applies to instance bosses.
- birthplace
- Optional. The homeland of the NPC, typically the city-state or hamlet of their birth.
- organization
- Optional. The organization to which the NPC is affiliated.
- relatives
- Optional. Known relatives of the NPC. Separate each entry with <br>.
- level
- Optional. The level of the NPC.
- element
- Optional. The element of the NPC in Eureka.
- adapation
- Optional. The adaptation of the NPC in Eureka.
- mutation
- Optional. The mutation of the NPC in Eureka.
- spawn-condition
- Optional. The spawn condition for the NPC, such as weather and time of day.
- aggression
- Optional. The aggression type and rank. It accepts aggressive and passive, formatted as follows: a1 (aggressive rank 1), a2 (aggressive rank 2), ..., p1 (passive rank 1), p2 (passive rank 2), etc.
- class
- Optional. The class of the NPC.
- job
- Optional. The job of the NPC.
- profession
- Optional. The profession of the NPC. This is NOT to be used for classes or jobs! Do not put anything that is a valid class/job in this field unless it is how the NPC makes a living.
- service
- The service or services provided by the NPC. Use a comma-separated list of services. Available options include: quest, repair, merchant, sundry splendors, gemstone trader, resident caretaker, materia melder, fate. This value will also affect the sprite that shows up in the top-left corner of their infobox. If the sprite fails to appear, you have entered in an incorrect service value.
- goal
- Optional. Specific events or tasks this NPC is affiliated with. If entering multiple goals, put each new goal on a new line.
- coordinates
- Optional. The X, Y and Z coordinates to the NPCs location, comma-separated. Eg.:
23.2, 5.55, 1
. - release
- Optional. The expansion required to access the content. Displays a notice of the release.
- patch
- Optional. The patch in which the NPC was added. Only the number is needed.
- voiceJP
- Optional. Japanese voice actor/actress name(s)
- voiceEN
- Optional. English voice actor/actress name(s)
- voiceFR
- Optional. French voice actor/actress name(s)
- voiceDE
- Optional. German voice actor/actress name(s)
Example
{{NPC infobox | name = Alphinaud Leveilleur | description = | image = Alphinaud shadowbringers render.png | location = South Shroud | coordinates = 19, 29 | gender = Male | age = 16 | race = Elezen | clan = Wildwood | class = Arcanist | birthplace = Sharlayan (Colony) | organization = The Scions of the Seventh Dawn | relatives = [[Louisoix]] (grandfather)<br>[[Fourchenault]] (father)<br>[[Alisaie]] (sister) | voiceJP = Shinnosuke Tachibana | voiceEN = Sam Riegel and Colin Ryan | voiceFR = Sébastien Desjours | voiceDE = Markus Haase }}
Alphinaud Leveilleur
- Zone
- South Shroud (19, 29)
- Birthplace
- Sharlayan (Colony)
- Organization
- The Scions of the Seventh Dawn
- Relatives
- Louisoix (grandfather)
Fourchenault (father)
Alisaie (sister) - Voiced by (JP)
- Shinnosuke Tachibana
- Voiced by (EN)
- Sam Riegel and Colin Ryan
- Voiced by (FR)
- Sébastien Desjours
- Voiced by (DE)
- Markus Haase
Alphinaud Leveilleur is an Elezen found in South Shroud.
{{NPC infobox | name = Gelato | image = Gelato.jpg | species = Voidsent | type = Flan | location = Coerthas Western Highlands | aggression = a4 }}
Gelato
Gelato is found in Coerthas Western Highlands.
{{NPC infobox | name = Northern Vulture | image = Northern Vulture.jpg | location = Varies | species = Cloudkin | type = Vulture | level = 7-14 | aggression = a1 }}
Northern Vulture
Northern Vulture is found in various locations.