Difference between revisions of "NPC info/Documentation"

m
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|name=Granar|culture=Elaniens|level=10|quest=Quest 1<br>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.}}
Line 8: Line 10:
 
{{parameter|location|The NPC's location.|[[Kwalat]]}}
 
{{parameter|location|The NPC's location.|[[Kwalat]]}}
 
{{parameter|quest|The quests the NPC is a part of. Separate each quest with the <nowiki><br></nowiki> tag.}}
 
{{parameter|quest|The quests the NPC is a part of. Separate each quest with the <nowiki><br></nowiki> tag.}}
 
==Usage==
 
<pre>
 
{{NPC info|name=Granar|culture=Elaniens|level=10|quest=Quest 1<br>Quest 2}}
 
</pre>
 

Revision as of 20:01, 25 February 2023

Description

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

Usage

{{NPC info}}

Parameters

Arrow.pngimage: An image of the NPC.
Optional. Defaults to '{{PAGENAME}}.png'.
Notes: Only use if the image name differs from the name of the page.
Arrow.pngname: The name of the NPC.
Optional.
Notes: Only use if the name of the NPC differs from the name of the article.
Arrow.pngculture: The NPC's culture
Optional.
Arrow.pnglevel: The NPC's level. Can be a range of levels.
Required.
Arrow.pnglocation: The NPC's location.
Optional. Defaults to 'Kwalat'.
Arrow.pngquest: The quests the NPC is a part of. Separate each quest with the <br> tag.
Required.