Template:NPC: Difference between revisions
Jump to navigation
Jump to search
(altered race handling) |
mNo edit summary |
||
Line 10: | Line 10: | ||
{{#switch:{{lc:{{{guild}}}}}|n|-=|{{!}}'''Guild:'''{{!}}{{!}}{{#if:{{{guild|}}}|[[guild is::{{lc:{{{guild}}}}}|{{{guild}}}]]|''Unknown''<includeonly>[[missing::Infobox entry for guild| ]]</includeonly>}}}} |
{{#switch:{{lc:{{{guild}}}}}|n|-=|{{!}}'''Guild:'''{{!}}{{!}}{{#if:{{{guild|}}}|[[guild is::{{lc:{{{guild}}}}}|{{{guild}}}]]|''Unknown''<includeonly>[[missing::Infobox entry for guild| ]]</includeonly>}}}} |
||
|- |
|- |
||
{{#switch:{{lc:{{{race}}}}}|n|-=|{{!}}{{!}}'''Race:'''{{!}}{{!}}{{#If:{{{race|}}}|[[race is::{{{race}}}]]{{cat|{{{race}}}}}|}}|''Unknown''includeonly>{{cat|Unknown Race}} |
{{#switch:{{lc:{{{race}}}}}|n|-=|{{!}}{{!}}'''Race:'''{{!}}{{!}}{{#If:{{{race|}}}|[[race is::{{{race}}}]]{{cat|{{{race}}}}}|}}|''Unknown''<includeonly>{{cat|Unknown Race}}[[missing::Infobox entry for race| ]]</includeonly>}}}} |
||
|- |
|- |
||
{{#switch:{{lc:{{{gender}}}}}|n|-=|{{!}}{{!}}'''Gender:'''{{!}}{{!}}{{#switch:{{lc:{{{gender}}}}}|m|male=Male|f|female=Female|''Unknown''<includeonly>[[missing::Infobox entry for gender| ]]</includeonly>}}}} |
{{#switch:{{lc:{{{gender}}}}}|n|-=|{{!}}{{!}}'''Gender:'''{{!}}{{!}}{{#switch:{{lc:{{{gender}}}}}|m|male=Male|f|female=Female|''Unknown''<includeonly>[[missing::Infobox entry for gender| ]]</includeonly>}}}} |
Revision as of 01:39, 3 October 2011
Unknown}}
NPC | |
---|---|
Status: | Unknown |
Guild: | 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 | ||
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= }}