Difference between revisions of "Template:NPC"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 90: | Line 90: | ||
'''Race:''' [[Category:{{{race}}} Monster Race]][[{{{race}}}]]<br> | '''Race:''' [[Category:{{{race}}} Monster Race]][[{{{race}}}]]<br> | ||
'''Gender:''' [[Category:{{{gender}}} Monster Race]][[{{{gender}}}]]<br> | '''Gender:''' [[Category:{{{gender}}} Monster Race]][[{{{gender}}}]]<br> | ||
{{#if: {{{location1|}}} | {{#if: {{{location1|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}|'''Locations:''' | ||
| | * [[{{{location1}}}]]{{#if: {{{Location2|}}}|* [[{{{location2}}}]]}}{{#if: {{{Location3|}}}|* [[{{{location3}}}]]}}{{#if: {{{Location4|}}}|* [[{{{location4}}}]]}}<br>|'''Location:''' [[{{{location1}}}]]<br>}}|}}{{#if: {{{location1|}}} | [[Category:{{{purpose}}} In {{{location1}}}]]}} | ||
{{#if: {{{location2|}}} | [[Category:{{{purpose}}} In {{{location2}}}]]}}{{#if: {{{location3|}}} | [[Category:{{{purpose}}} In {{{location3}}}]]}}{{#if: {{{location4|}}} | [[Category:{{{purpose}}} In {{{location4}}}]]}}{{#if: {{{sells|}}} |'''Sells:''' {{{sells}}}<br>}}{{#if: {{{description|}}} |'''Description:''' {{{description}}}<br>}}{{#if: {{{notes|}}} |'''Notes:''' {{{notes}}}<br>}}{{#if: {{{patchhistory|}}} |'''Patch History:''' | |||
{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}} | |||
|'''Location:''' {{{location1}}}<br>}} | |||
| | |||
}} | |||
{{#if: {{{location1|}}} | [[Category:{{{purpose}}} In {{{location1}}}]]}} | |||
{{#if: {{{location2|}}} | [[Category:{{{purpose}}} In {{{location2}}}]]}} | |||
{{#if: {{{location3|}}} | [[Category:{{{purpose}}} In {{{location3}}}]]}} | |||
{{#if: {{{location4|}}} | [[Category:{{{purpose}}} In {{{location4}}}]]}} | |||
{{#if: {{{sells|}}} |'''Sells:''' {{{sells}}}<br>}} | |||
{{#if: {{{description|}}} |'''Description:''' {{{description}}}<br>}} | |||
{{#if: {{{notes|}}} |'''Notes:''' {{{notes}}}<br>}}{{#if: {{{patchhistory|}}} |'''Patch History:''' | |||
{{{patchhistory}}}}} | {{{patchhistory}}}}} | ||
</td> | </td> |
Revision as of 19:35, 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.
|
|