From The Mana World
(Added documentation (some things may still be incorrect))
 
m (Text replacement - "Legacy" to "Classic")
 
Line 2: Line 2:




This is the main template that is to be used for Legacy NPCs documentation.
This is the main template that is to be used for Classic NPCs documentation.


'''Translated templates''' are named .Xy:NPC where Xy is the standard abbreviation of language.  
'''Translated templates''' are named .Xy:NPC where Xy is the standard abbreviation of language.  
Line 15: Line 15:


=== Normal NPC ===
=== Normal NPC ===
<pre>{{LegacyNPC
<pre>{{ClassicNPC
|Name          = EJlol
|Name          = EJlol
|Image        = [[Image:Image.png]]
|Image        = [[Image:Image.png]]
Line 26: Line 26:


=== Object NPC ===
=== Object NPC ===
<pre>{{LegacyNPC
<pre>{{ClassicNPC
|Name          = EJlol's bag
|Name          = EJlol's bag
|Image        = [[Image:Image.png]]
|Image        = [[Image:Image.png]]
Line 37: Line 37:


=== Lore NPC ===
=== Lore NPC ===
<pre>{{LegacyNPC
<pre>{{ClassicNPC
|Name          = EJlol
|Name          = EJlol
|Image        = [[Image:Image.png]]
|Image        = [[Image:Image.png]]

Latest revision as of 23:05, 7 December 2022

50px-Template-info.png Template documentation :


This is the main template that is to be used for Classic NPCs documentation.

Translated templates are named .Xy:NPC where Xy is the standard abbreviation of language.

example: Template:.De:NPC

Note: {{I18n}} Template does not direct to translated template.

Usage

Copy the following code into your page.

Normal NPC

{{ClassicNPC
|Name          = EJlol
|Image         = [[Image:Image.png]]
|Gender        = Male
|Race          = [[Human]]
|Location      = Earth
}}

By adding Shop = yes the NPC will get the Shop category.

Object NPC

{{ClassicNPC
|Name          = EJlol's bag
|Image         = [[Image:Image.png]]
|Object        = Yes
|Location      = Earth
|Owner         = EJlol
}}

By adding Shop = yes the NPC will get the Shop category.

Lore NPC

{{ClassicNPC
|Name          = EJlol
|Image         = [[Image:Image.png]]
|Gender        = Male
|Race          = [[Human]]
|Lore          = Yes
}}

NPC Categories

This is an overview of npc categories / definitions that we use at the wiki. The categories are added automatically by the template, so there is no need to add these manually.


  • NPC: Any character that is described on the wiki (as important character in the Gasaron History), described in-game, or is actually in-game;
  • Lore Character: At any point of time the NPC cannot be found in-game at all;
  • In-game Character: At some point players were able to interact or talk to this NPC, or at least were able to see his body in-game, I guess;
  • Event Character: Only available during events;
  • Shop: In-game NPC that opens the shop window.
Note: I'm not sure about NPCs where you can buy things through scripting/talking with the npc.