From The Mana World
(Made sure its using the right template... Though most likely this template should actually be deleted completely...)
m (Text replacement - "Legacy" to "Classic")
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>Use this when creating an NPC. Just copy and paste. All credit goes to [[User:Aacheron|Aacheron]] for the styling(rewrite by [[User:MAF-Saulc-Youtube|MAF-Saulc]]].
<includeonly><!--this is the template code -->
<pre>{{LegacyNPC|Name=??
<table style="width:270px; float: right;" class="wikitable">
|Title=??
<tr><th colspan="2">{{{Name}}}</th></tr>
<!--- Title or position --->
<tr><td colspan="2" align="center">{{{Image|[[Image:Unknown-npc.png|align=center]]}}}</td></tr>
|Picture=??
{{#ifeq:{{lc:{{{Object}}}}}|yes|<tr><th>Belongs to</th><td>{{{Owner|Unknown}}}</td></tr>|
<!--- The picture's uploaded name (picture.png) --->
<tr><th>Gender</th><td> {{{Gender|Unknown}}} </td></tr>
|PictureA=??
<tr><th>Race</th><td> {{{Race|Unknown}}} </td></tr>
<!--- Picture's creator's Wiki name if possible, otherwise just their name (though it'll mess up the system oh well) --->
{{#if:{{{Status|}}}|<tr><th>Status</th><td>{{{Status}}}</td></tr>}}
|FullName=??
{{#ifeq:{{lc:{{{Lore}}}}}|yes|<tr><th>Lore only</th><td>Yes</td></tr>|<tr><th>Location</th><td> {{{Location|Unknown}}} </td></tr>}}
|Age=??
}}
<!--- Years please --->
{{#ifeq:{{lc:{{{Shop}}}}}|yes|<tr><th>Shop</th><td>Yes</td></tr>}}
|Height=??
{{#if:{{{Event|}}}|<tr><th>Event</th><td>{{{Event}}}</td></tr>}}
<!--- Metric system please x,x m --->
</table>
|Body=??
{{#ifeq:{{lc:{{{Lore}}}}}|yes|[[Category:Classic Lore Character]]|[[Category:Classic In-game Character]]}}
<!--- Fat, skinny, athletic --->
{{#ifeq:{{lc:{{{Shop}}}}}|yes|[[Category:Classic Shop]]}}
|Birthdate=??
{{#if:{{{Event|}}}|[[Category:Classic Event Character]]}}
<!--- For now just put time of year, use the exact date when the calendar is out. --->
[[Category:Classic]][[Category:Classic NPC]]
|Eye=??
</includeonly><noinclude>
<!--- color --->
{{Template:{{PAGENAME}}/doc}}    <!--this is to include documentation, without transcluding it in the page where template is used-->
|Hair=??
[[Category:Content Template]]    <!--this is to categorize the template. It will not be transcluded in the page where template is used-->
<!--- color, sorry don't feel like putting in the effort to do hair length, shoot me a message if you want/need it though. --->
|Blood=??
<!--- type --->
|Food=??
<!--- Favorite food --->
|Hobbies=??
<!--- Yeah, figure this one out on your own :P --->
|Author=??
<!--- Your wiki name --->
|Descript=??
<!--- You long description or story --->}}</pre>
An example I cooked up:
{{LegacyNPC|Name=Generic NPC
|Title=Head Generic
<!--- Title or position --->
|Picture=Tmw_logo.png
<!--- The picture's uploaded name (picture.png) --->
|PictureA=Arenlor
<!--- Picture's creator's Wiki name if possible, otherwise just their name (though it'll mess up the system oh well) --->
|FullName=Generic The NPC
|Age=0
<!--- Years please --->
|Height=1,625 m
<!--- Metric system please x,x m --->
|Body=Athletic
<!--- Fat, skinny, athletic --->
|Birthdate=Spring
<!--- For now just put time of year, use the exact date when the calendar is out. --->
|Eye=Orange
<!--- color --->
|Hair=Black
<!--- color, sorry don't feel like putting in the effort to do hair length, shoot me a message if you want/need it though. --->
|Food=Roast Maggot
<!--- Favorite food --->
|Hobbies=Hunting Maggots, Helping New Players
<!--- Yeah, figure this one out on your own :P --->
|Author=Arenlor
<!--- Your wiki name --->
|Descript=Generic NPC doesn't get a long story generally. His parents were killed by a Maggot when he was a new player, so now he obsesses over killing them and helping new players.
<!--- You long description or story --->}}
</noinclude>
</noinclude>
<includeonly>
== {{{Name}}} ==
== {{{Title}}} ==
[[Image:{{{Picture}}}|frame|By: [[User:{{{PictureA}}}|{{{PictureA}}}]]]]<br>
*'''Full Name:''' {{{FullName}}}<br>
*'''Age:''' {{{Age}}} Years<br>
*'''Height:''' {{{Height}}}<br>
*'''Body Type:''' {{{Body}}}<br>
*'''Birthdate:''' {{{Birthdate}}}<br>
*'''Eye Color:''' {{{Eye}}}<br>
*'''Hair Color:''' {{{Hair}}}<br>
*'''Favorite Food:''' {{{Food}}}<br>
*'''Hobbies:''' {{{Hobbies}}}<br>
*'''Description:'''<br>
{{{Descript}}}<br>
*By: [[User:{{{Author}}}|{{{Author}}}]]</includeonly>
[[Category:Legacy]]
[[Category:Legacy]]

Latest revision as of 21:37, 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.