Difference between revisions of "Template:NPC infobox"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
 
(30 intermediate revisions by 3 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}}|dawntrail = {{Dawntrail 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}}}|40px]]</div>
   | <div class="icon">[[File:{{{icon}}}|40px]]</div>
Line 10: Line 10:
         | materia melder        = Materia melder map icon
         | materia melder        = Materia melder map icon
         | retainer vocate        = Retainer vocate map icon
         | retainer vocate        = Retainer vocate map icon
         | quest                  = Quest
         | quest                  = Journal icon1
         | repairs                = Repairs
         | repairs                = Repairs
         | fate                  = FATE trigger (map icon)
         | fate                  = FATE trigger (map icon)
Line 75: Line 75:
:[[Has NPC level::{{{level}}}]]
:[[Has NPC level::{{{level}}}]]
}}}}<!--
}}}}<!--
-->{{#if: {{{element|}}} |;[[Element]]
-->{{#if: {{{element|}}} |;[[The Forbidden Land, Eureka#Enemies|Element]]
:[[Has NPC element::{{{element}}}]]
:{{Eurekaelement icon|{{{element}}}}} {{ucfirst:{{{element}}}}} {{#set:Has NPC element={{{element}}}}}
}}<!--
}}<!--
-->{{#if: {{{adaptation|}}} |;Adaptation
-->{{#if: {{{adaptation|}}} |;Adaptation
Line 90: Line 90:
;[[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|@@@}}}}|&nbsp;}} }}<!--
-->{{#if: {{{location|}}} |  
-->{{#if: {{{location|}}} |  
; [[Zone]]
; [[Zone]]
Line 178: Line 184:
| {{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 187: 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]]
  | 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]]
   | various = [[Category:NPCs with various races]]
   | #default = [[Category:{{ucfirst:@@@}}]]
   | #default = [[Category:{{ucfirst:@@@}}]]
Line 220: Line 229:
   {{#ifeq: {{lc:{{{objective|}}}}} | boss | [[Category:Bosses]]|}}
   {{#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 -->
Line 235: Line 245:
-->{{#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}}|&nbsp;a boss|{{#if:{{{rank|}}}|&nbsp;a [[Rank {{uc:{{{rank}}}}}]] [[Elite Mark]]|{{#ifeq:{{lc:{{{name|{{#titleparts:{{PAGENAME}}}}}}}}}|{{lc:{{{race|}}}}}||{{#if:{{{race|}}}|&nbsp;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|}}}|&nbsp;found in {{#ifeq:{{lc:{{{location|}}}}}|varies|various locations|[[{{#show:{{{location}}}|?Has canonical name|default={{{location}}}}}]]}}|{{#if:{{#var:npc_instance}}|&nbsp;found in [[{{#var:npc_instance}}]]}}}}.}} }}[[Category:NPCs]]</includeonly> <!-- this trailing space is a whitespace fix --><noinclude>
                                 | #default = {{#vardefine:npc_descriptor|{{#if:{{#var:is_boss}}|&nbsp;a boss|{{#if:{{{rank|}}}|&nbsp;a [[Rank {{uc:{{{rank}}}}}]] [[Elite Mark]]|{{#ifeq:{{lc:{{{name|{{#titleparts:{{PAGENAME}}}}}}}}}|{{lc:{{{race|}}}}}||{{#if:{{{race|}}}|&nbsp;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|}}}|&nbsp;found in {{#ifeq:{{lc:{{{location|}}}}}|varies|various locations|[[{{#show:{{{location}}}|?Has canonical name|default={{{location}}}}}]]}}|{{#if:{{#var:npc_instance}}|&nbsp;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 242: Line 252:
{{NPC infobox
{{NPC infobox
| name =  
| name =  
| full-name =
| description =  
| description =  
| image =  
| image =  
Line 268: Line 279:
| spawn-condition =  
| spawn-condition =  
| aggression =  
| aggression =  
| aggro-type =
| vulnerable =
| service =  
| service =  
| goal =  
| goal =  
Line 280: 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. If an incorrect service parameter is entered, a broken image link will appear in place of the icon's location.  
; 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.  
Line 316: Line 330:
; 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. -->
; patch : Optional. The expansion required to access the content. Displays a notice of the release.
; 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 336: 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 357: 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 in 10,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

Alphinaud shadowbringers render.png

Gender
Male ♂
Age
16
Race
Elezen (Wildwood)
Class
Arcanist
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.jpg

Species
Voidsent (Flan)
Aggression
Aggressive
Aggression level 4
Zone
Coerthas Western Highlands

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.jpg

Species
Cloudkin (Vulture)
Level
7-14
Aggression
Aggressive
Aggression level 1
Zone
Varies

Northern Vulture is found in various locations.