Template:NPC: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{|class="wikitable" style="float:right; margin-left:1em;width:350px;"
{|class="wikitable" style="float:right; margin-left:1em;width:350px;"
|- style="height:40px"
|- style="height:40px"
! colspan="2" style="font-size:150%"|{{#if:{{{name|}}}|[[pretty name is::{{{name}}}]]|[[pretty name is::{{PAGENAME}}]]}}<includonly>{{#if:{{{rev|}}}|[[review::{{{rev}}}| ]]|[[review::0| ]]}}</includeonly>
! colspan="2" style="font-size:150%"|{{#if:{{{name|}}}|[[pretty name is::{{{name}}}]]|[[pretty name is::{{PAGENAME}}]]}}<includeonly>{{#if:{{{rev|}}}|[[review::{{{rev}}}| ]]|[[review::0| ]]}}</includeonly>
|-
|-
|width="15%"|'''Status:'''||{{#switch:{{lc:{{{alive}}}}}|y|yes=Alive|n|no=Dead|u=Unknown|h=Historical Figure}}{{#switch:{{lc:{{{status}}}}}|y|yes=Alive|n|no=Dead|u=Unknown|h=Historical Figure}}{{#if:{{{alive|}}}{{{status|}}}||''Unknown''<includeonly>[[missing::Infobox entry for status| ]]</includeonly>}}
|width="15%"|'''Status:'''||{{#switch:{{lc:{{{alive}}}}}|y|yes=Alive|n|no=Dead|u=Unknown|h=Historical Figure}}{{#switch:{{lc:{{{status}}}}}|y|yes=Alive|n|no=Dead|u=Unknown|h=Historical Figure}}{{#if:{{{alive|}}}{{{status|}}}||''Unknown''<includeonly>[[missing::Infobox entry for status| ]]</includeonly>}}

Revision as of 02:23, 26 July 2013

NPC
Status: Unknown
Guild: Unknown
Race: Unknown
Gender: Unknown
Location:

Usage Documentation

The template is for use with both GMNPCs and standard atmospheric NPCs.

Variable Supported Values Usage
name Name if different from pagename
alias# Any names besides the current one in use.
guild -/(guild) Use "-" if they have no guild.
race <race>/u Use "u" if the race information is not given, but other information is.
gender m/f/- Use "-" if there's no discernable gender.
status y/n/u To be compatable with previous versions, "y" means alive, "n" means dead, "u" means unknown, and "h" means a historical figure.
location location name
OR
-
Where the NPC is found, or "-" if not applicable.
map number Which map the NPC can be found on.
type# Any special status they have.
assoc <name>,<page name2>|<name2>,... Any NPC associates of note.
relat <name>,<page name2>|<name2>,... Any NPC relatives.
task delivery,kill,kill boss,kill recovery,forage,
recover,recover area,search,skinning
What tasks the NPC gives. See Property:Gives task type for details.
{{NPC
|name=
|alias=
|guild=
|race=
|gender=
|status=
|location=
|map=
|type=
|type2=
|type3=
|type4=
|type5=
|assoc=
|relat=
|task=
}}