Difference between revisions of "NPC info/Documentation"
Stratonian (talk | contribs) m (→Parameters) |
Stratonian (talk | contribs) m (→Parameters) |
||
Line 5: | Line 5: | ||
==Parameters== | ==Parameters== | ||
− | |||
{{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|image|An image of the NPC.|<nowiki>{{{name|{{PAGENAME}}}}}.jpg</nowiki>|Only use if the image name differs from the name of the page.}} | ||
{{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|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.|}} |
Revision as of 17:13, 19 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
- name: 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.
- image: An image of the NPC.
- Optional. Defaults to '
{{{name|{{PAGENAME}}}}}.jpg
'. - Notes: Only use if the image name differs from the name of the page.
- disposition: 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
".
Possible organizations:
- Cultures
- •Elaniens
- •Faidens
- •Quaddari
- •Yorners
- Camp Creatures
- •Archosaurs
- •Boars
- •Gnats
- •Fingi
- •Imps
- •Insects (no official name; contains bomboslug, gravedigger fly, termite queen, etc)
- •Leafies
- •Lost Fronts
- •Mutant Rats
- •Occultists
- •Spiders
- •Wolves
- Unique
- •Wandering Bosses
- •World Bosses
Errors
No description was provided. Add a description parameter.