Difference between revisions of "NPC info/Documentation"

 
(37 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
 
Displays an information page about a non-player character (NPC).
 
Displays an information page about a non-player character (NPC).
 +
==Usage==
 +
{{T|NPC info|icon{{=}}icon|name{{=}}name|description{{=}}description|disposition{{=}}disposition|organization{{=}}organization|level{{=}}level|quest{{=}}Quest 1, 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|icon|An icon of the NPC.|<nowiki>{{PAGENAME}} Icon.png</nowiki>|Only use if the icon name differs from the name of the page.}}
{{parameter|name|The name of the NPC.||Only use if the name of the NPC differs from the name of the article.}}
+
{{parameter|random|Displays a note stating that the NPC's appearance may change randomly.||Set to any value to enable.}}
{{parameter|culture|The NPC's culture|}}
+
{{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|level|The NPC's level. Can be a range of levels.}}
+
{{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|location|The NPC's location.|[[Kwalat]]}}
+
{{parameter|description|A description of the NPC.|}}
{{parameter|quest|The quests the NPC is a part of. Separate each quest with the <nowiki><br></nowiki> tag.}}
+
{{parameter|level|The NPC's level. Can be a range of levels.|}}
 +
{{parameter|health|The NPC's health. Can be a range of values.|}}
 +
{{parameter|location|The NPC's location.|}}
 +
{{parameter|organization|The NPC's organization.|}}
 +
{{parameter|image|An image of the NPC.|<nowiki>{{PAGENAME}}.jpg</nowiki>|Only use if the image name differs from the name of the page.}}
 +
Possible organizations:
 +
;Cultures
 +
:{{bullet}}Elaniens
 +
:{{bullet}}Faidens
 +
:{{bullet}}Quaddari
 +
:{{bullet}}Yorners
 +
;Camp Creatures
 +
:{{bullet}}Archosaurs
 +
:{{bullet}}Boars
 +
:{{bullet}}Gnats
 +
:{{bullet}}Fingi
 +
:{{bullet}}Imps
 +
:{{bullet}}Insects (no official name; contains bomboslug, gravedigger fly, termite queen, etc)
 +
:{{bullet}}Leafies
 +
:{{bullet}}Lost Fronts
 +
:{{bullet}}Mutant Rats
 +
:{{bullet}}Occultists
 +
:{{bullet}}Spiders
 +
:{{bullet}}Wolves
 +
;Unique
 +
:{{bullet}}Critters
 +
:{{bullet}}Wandering Bosses
 +
:{{bullet}}World Bosses
 +
{{parameter|quests|The semicolon-separated names of quests the NPC is a part of.|}}
  
==Usage==
+
==Errors==
<pre>
+
'''No description was provided. Add a description parameter.'''
{{NPC info|name=Granar|culture=Elaniens|level=10|quest=Quest 1<br>Quest 2}}
+
<includeonly>[[Category:Info Templates]]</includeonly>
</pre>
 

Latest revision as of 18:09, 27 March 2024

Description[edit]

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

Usage[edit]

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

Parameters[edit]

Arrow.pngicon: An icon of the NPC.
Optional. Defaults to '{{PAGENAME}} Icon.png'.
Notes: Only use if the icon name differs from the name of the page.
Arrow.pngrandom: Displays a note stating that the NPC's appearance may change randomly.
Optional.
Notes: Set to any value to enable.
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.
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.

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
Critters
Wandering Bosses
World Bosses
Arrow.pngquests: The semicolon-separated names of quests the NPC is a part of.
Optional.

Errors[edit]

No description was provided. Add a description parameter.