Difference between revisions of "Template:NPC"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 88: | Line 88: | ||
<td> | <td> | ||
{{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:''' [[Category:{{{race}}} Monster Race]][[{{{race}}}]]<br>'''Gender:''' [[Category:{{{gender}}} Monster Race]][[{{{gender}}}]]<br>{{#if: {{{location1|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}|'''Locations:''' | {{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:''' [[Category:{{{race}}} Monster Race]][[{{{race}}}]]<br>'''Gender:''' [[Category:{{{gender}}} Monster Race]][[{{{gender}}}]]<br>{{#if: {{{location1|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}|'''Locations:''' | ||
* [[{{{location1}}}]]{{#if: {{{location2|}}}|* [[{{{location2}}}]]}}{{#if: {{{location3|}}}|* [[{{{location3}}}]]}}{{#if: {{{location4|}}}|* [[{{{location4}}}]]}}<br>|'''Location:''' [[{{{location1}}}]]<br>}}|}} | * [[{{{location1}}}]]{{#if: {{{location2|}}}|* [[{{{location2}}}]]}}{{#if: {{{location3|}}}|* [[{{{location3}}}]]}}{{#if: {{{location4|}}}|* [[{{{location4}}}]]}}<br>|'''Location:''' [[{{{location1}}}]]<br>}}|}}<br> | ||
{{#switch: {{lc:{{{purpose}}}}} | {{#switch: {{lc:{{{purpose}}}}} | ||
|quest giver = '''Occupation:''' Quest Giver | |quest giver = '''Occupation:''' Quest Giver |
Revision as of 23:58, 14 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.
|
|