Difference between revisions of "Template:NPC infobox"
Jump to navigation
Jump to search
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: {{{ | -->{{#if: {{{vulnerable|}}} | | ||
;[[Aggression#Conditions|Aggro Type]] | ;[[Aggression#Conditions|Aggro Type]] | ||
: {{#arraymap: {{{ | : {{#arraymap: {{{vulnerable|}}}|,|@@@|{{status effect|@@@}}|\n}} }}<!-- | ||
-->{{#if: {{{location|}}} | | -->{{#if: {{{location|}}} | | ||
; [[Zone]] | ; [[Zone]] |
Revision as of 03:51, 22 May 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 = | 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.