Difference between revisions of "NPC info/Documentation"

m (→‎Parameters: format)
Line 7: Line 7:
 
{{parameter|image|An image of the NPC.|<nowiki>{{PAGENAME}}.jpg</nowiki>|Only use if the image name differs from the name of the page.}}
 
{{parameter|image|An image of the NPC.|<nowiki>{{PAGENAME}}.jpg</nowiki>|Only use if the image name differs from the name of the page.}}
 
{{parameter|name|The name of the NPC.|<nowiki>{{PAGENAME}}</nowiki>|Only use if the template is on a different page to the NPC's main article.}}
 
{{parameter|name|The name of the NPC.|<nowiki>{{PAGENAME}}</nowiki>|Only use if the template is on a different page to the NPC's main article.}}
{{parameter|disposition|The NPC's disposition toward the player.|neutral|Used to determine the background color of the table heading. Choose from "ally", "neutral", or "enemy".}}
+
{{parameter|disposition|The NPC's disposition toward the player.|neutral|Used to determine the background color of the table heading. Choose from "<code>ally</code>", "<code>neutral</code>", or "<code>enemy</code>".}}
 
{{parameter|description|A description of the NPC.|}}
 
{{parameter|description|A description of the NPC.|}}
 
{{parameter|level|The NPC's level. Can be a range of levels.|}}
 
{{parameter|level|The NPC's level. Can be a range of levels.|}}

Revision as of 13:47, 11 August 2023

Description

Displays an information page about a non-player character (NPC).

Usage

{{NPC info|<icon=icon>|<name=name>|<description=description>|<disposition=disposition>|<organization=organization>|<level=level>|<quest=Quest 1<br>Quest 2>}}

Parameters

Arrow.pngimage: An image of the NPC.
Optional. Defaults to '{{PAGENAME}}.jpg'.
Notes: Only use if the image name differs from the name of the page.
Arrow.pngname: The name of the NPC.
Optional. Defaults to '{{PAGENAME}}'.
Notes: Only use if the template is on a different page to the NPC's main article.
Arrow.pngdisposition: The NPC's disposition toward the player.
Optional. Defaults to 'neutral'.
Notes: Used to determine the background color of the table heading. Choose from "ally", "neutral", or "enemy".
Arrow.pngdescription: A description of the NPC.
Optional.
Arrow.pnglevel: The NPC's level. Can be a range of levels.
Optional.
Arrow.pnghealth: The NPC's health. Can be a range of values.
Optional.
Arrow.pnglocation: The NPC's location.
Optional.
Arrow.pngorganization: The NPC's organization.
Optional.

Possible organizations:

Cultures
Elaniens
Faidens
Quaddari
Yorners
Enemies
Archosaurs
Gnats
Imps
Leaves
Mutant Rats
Occultists
Spiders
Unique
Wandering Bosses
World Bosses
Arrow.pngquest: The quests the NPC is a part of. Separate each quest with the <br> tag.
Optional.