Template:Infobox NPC: Difference between revisions

From HorizonXI Wiki
m (added categorization by occupation for scroll merchants)
m (fixed typo)
Line 5: Line 5:
-->{{#if:{{{affiliation|}}}|[[Category:{{{affiliation}}} NPCs]]|}}<!--
-->{{#if:{{{affiliation|}}}|[[Category:{{{affiliation}}} NPCs]]|}}<!--
-->{{#if:{{{bestiary|}}}|[[Category:{{{bestiary}}} NPCs]]}}<!--
-->{{#if:{{{bestiary|}}}|[[Category:{{{bestiary}}} NPCs]]}}<!--
-->{{#if:{{#pos:{{lc:{{{occupation}}}}}|scroll merchant}}|[[Category:Scroll Merchant]]|}}<!--
-->{{#if:{{#pos:{{lc:{{{occupation}}}}}|scroll merchant}}|[[Category:Scroll Merchants]]|}}<!--
-->}}<!--
-->}}<!--



Revision as of 22:51, 23 September 2023

Usage

{{Infobox NPC
| image = 
| name = 
| gender = 
| race = 
| bestiary = 
| job = 
| affiliation = 
| occupation = 
| status = 
| relatives = 
| location = 
}}
  • image: An image of the NPC in-game.
  • name: The NPC's name. Defaults to the page's name.
  • gender: The NPC's gender. "Male," "Female," "Unknown" or "Not applicable".
  • race: The NPC's race, such as "Elvaan".
  • bestiary: The NPC's bestiary classification, if not one of the playable races.
  • job: The job or jobs of the NPC, such as "Black Mage".
  • affiliation: The NPC's national affiliation.
  • occupation: The NPC's occupation, role, or position in society.
  • status: "Alive", "Undead", "Active" (when referring to gods, demigods and related beings), "Imprisoned," "Deceased" or "Unknown." If imprisoned or deceased a short summary can be included.
  • relatives: Spouses, siblings, parents, children, any other family members. If the character wields magic, was apprenticed to someone, or had an apprentice, then that person's teacher and/or student can be listed here. Please put the relationship in parenthesis.

Examples

Code Result
{{Infobox NPC
| image = Trion.JPG
| name = Trion
| gender = Male
| race = Elvaan
| job = [[Paladin]]
| affiliation = San d'Oria
| occupation = Prince Royal
}}
Trion
Gender:
Male
Race:
Job:
Affiliation:
Occupation:
Prince Royal
{{Infobox NPC
| image = Chaperix.png‎
| name = Chaperix
| gender = Male
| bestiary = Goblin
| job = All-Rounder, Walloper, Barrager, or Spellslinger
| affiliation = Moblin Maze Mongers
}}
Chaperix
Gender:
Male
Bestiary:
Job:
All-Rounder, Walloper, Barrager, or Spellslinger
Affiliation: