Difference between revisions of "NPC info/Documentation"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m (→Usage) |
||
Line 2: | Line 2: | ||
Displays an information page about a non-player character (NPC). | Displays an information page about a non-player character (NPC). | ||
==Usage== | ==Usage== | ||
− | {{T|NPC info|name{{=}}Granar|culture{{=}}Elaniens|level{{=}}10|quest{{=}}Quest 1<nowiki><br></nowiki>Quest 2}} | + | {{T|NPC info|name{{=}}Granar|disposition{{=}}ally|culture{{=}}Elaniens|level{{=}}10|quest{{=}}Quest 1<nowiki><br></nowiki>Quest 2}} |
+ | |||
==Parameters== | ==Parameters== | ||
{{parameter|image|An image of the NPC.|<code><nowiki>{{PAGENAME}}.png</nowiki></code>|Only use if the image name differs from the name of the page.}} | {{parameter|image|An image of the NPC.|<code><nowiki>{{PAGENAME}}.png</nowiki></code>|Only use if the image name differs from the name of the page.}} |
Revision as of 20:57, 4 March 2023
Description
Displays an information page about a non-player character (NPC).
Usage
{{NPC info|<name=Granar>|<disposition=ally>|<culture=Elaniens>|<level=10>|<quest=Quest 1<br>Quest 2>}}
Parameters
- image: An image of the NPC.
- Optional. Defaults to '
'.{{PAGENAME}}.png
- Notes: Only use if the image name differs from the name of the page.
- 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.
- 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: