Difference between revisions of "Template:NPC"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 87: | Line 87: | ||
<tr> | <tr> | ||
<td> | <td> | ||
{{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:''' [[Category:{{{race}}} Monster Race]][[{{{race}}}]]<br>'''Gender:''' | {{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:''' [[Category:{{{race}}} Monster Race]][[{{{race}}}]]<br>'''Gender:''' {{{gender|Unknown}}}<br>{{#if: {{{location1|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}|'''Locations:''' | ||
* [[{{{location1}}}]]{{#if: {{{location2|}}}|* [[{{{location2}}}]]}}{{#if: {{{location3|}}}|* [[{{{location3}}}]]}}{{#if: {{{location4|}}}|* [[{{{location4}}}]]}}<br>|'''Location:''' [[{{{location1}}}]]<br>}}|}}<br> | * [[{{{location1}}}]]{{#if: {{{location2|}}}|* [[{{{location2}}}]]}}{{#if: {{{location3|}}}|* [[{{{location3}}}]]}}{{#if: {{{location4|}}}|* [[{{{location4}}}]]}}<br>|'''Location:''' [[{{{location1}}}]]<br>}}|}}<br> | ||
{{#switch: {{lc:{{{purpose}}}}} | {{#switch: {{lc:{{{purpose}}}}} |
Revision as of 01:48, 15 May 2018
{{Template:NPC |name = |race = |gender= |location1 = |location2 = |location3 = |location4 = |purpose= |sells= |flavortext = |description = |notes = |patchhistory = |update= }}
NPC[edit]
This template is used to render information about an NPC: Dax Boon.
Usage[edit]
Parameter Documentation | |
name | The name of the NPC. |
race | The race of the NPC. |
gender | What is the gender of the NPC. |
location1 | A Public Area that this NPS is in. |
location2 | A Public Area that this NPS is in. |
location3 | A Public Area that this NPS is in. |
location4 | A Public Area that this NPS is in. |
purpose | What is the purpose of this NPC Possible Values:
|
sells | What does this NPC sell if the purpose is not General Vendor |
flavortext | Some specific text the NPC says. |
description | Any patches that have happened |
notes | Any notes about this NPC. |
patchhistory | Any patches that have happened |
update | Which update this NPC is part of. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
|
|