Difference between revisions of "NPC info"

(Not finished. Will add to later)
 
m
Line 3: Line 3:
 
{| class="wikitable" style="width: 100%;"
 
{| class="wikitable" style="width: 100%;"
 
|-
 
|-
| colspan="2" | <center>{{#if:{{{image|}}}
+
| colspan="2" | <center>{{#if:{{{icon|}}}
|[[File:{{{image|}}}|85px]]
+
|[[File:{{{icon|}}}|85px]]
 
|{{#vardefine:default|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.png}}
 
|{{#vardefine:default|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.png}}
 
{{#ifexist:{{#var:default}}
 
{{#ifexist:{{#var:default}}
 
|[[{{#var:default}}|85px]]
 
|[[{{#var:default}}|85px]]
|[[{{#var:default}}|Upload an NPC image]]}}}}
+
|[[{{#var:default}}|Upload an NPC icon]]}}}}
 
</center>
 
</center>
 
|-
 
|-

Revision as of 00:52, 18 February 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, Quest 2>}}

Parameters

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

No description was provided. Add a description parameter.