Difference between revisions of "Template:NPC"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 100: | Line 100: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td | <td> | ||
{{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:''' {{{race}}}<br>{{#if: {{{gender|}}}|'''Gender:''' {{{gender|Unknown}}}<br>}}'''Location(s):''' {{#if: {{{location1|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{wilderness|}}}| | {{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:''' {{{race}}}<br>{{#if: {{{gender|}}}|'''Gender:''' {{{gender|Unknown}}}<br>}}'''Location(s):''' {{#if: {{{location1|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{wilderness|}}}| | ||
* }}[[{{{location1}}}]]}}{{#if: {{{location2|}}}| | * }}[[{{{location1}}}]]}}{{#if: {{{location2|}}}| | ||
* [[{{{location2}}}]]}}{{#if: {{{location3|}}}| | * [[{{{location2}}}]]}}{{#if: {{{location3|}}}| | ||
* [[{{{location3}}}]]}}{{#if: {{{location4|}}}| | * [[{{{location3}}}]]}}{{#if: {{{location4|}}}| | ||
* [[{{{location4}}}]]}}{{#if: {{{wilderness|}}}|{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}| | * [[{{{location4}}}]]}}<nowiki>{{#if: {{{wilderness|}}}|{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}| | ||
* }}[[{{{wilderness}}}]]}}{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{wilderness|}}|<br>}}{{#if: {{{rareinfo|}}} | '''Rare Information:''' {{{rareinfo}}}<br>}} | * }}[[{{{wilderness}}}]]}}</nowiki>{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{wilderness|}}|<br>}}{{#if: {{{rareinfo|}}} | '''Rare Information:''' {{{rareinfo}}}<br>}} | ||
'''Occupation:''' {{#switch: {{lc:{{{purpose}}}}} | '''Occupation:''' {{#switch: {{lc:{{{purpose}}}}} | ||
|quest giver = Quest Giver<br> | |quest giver = Quest Giver<br> | ||
Line 121: | Line 121: | ||
{{{data}}}}} | {{{data}}}}} | ||
<br> | <br> | ||
|#default = {{{purpose}}}<br>}} | |#default = {{{purpose}}}<br>}} | ||
{{#if: {{{description|}}} |'''Description:''' {{{description}}}<br>}}{{#if: {{{notes|}}} |'''Notes:''' | {{#if: {{{description|}}} |'''Description:''' {{{description}}}<br>}}{{#if: {{{notes|}}} |'''Notes:''' | ||
{{{notes}}}<br>}}{{#if: {{{patchhistory|}}} |'''Patch History:''' | {{{notes}}}<br>}}{{#if: {{{patchhistory|}}} |'''Patch History:''' |
Revision as of 18:00, 12 September 2019
{{Template:NPC |name = |race = |gender= |location1 = |location2 = |location3 = |location4 = |purpose= |data= |flavortext = |description = |notes = |patchhistory = |update= |wilderness= |rareinfo= }}
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 NPC is in. |
location2 | A Public Area that this NPC is in. |
location3 | A Public Area that this NPC is in. |
location4 | A Public Area that this NPC is in. |
purpose | What is the purpose of this NPC Possible Values:
|
data | What data about the purpose. Possible Values:
|
flavortext | Some specific text the NPC says. |
description | Specific description of this NPC |
notes | Any notes about this NPC. |
patchhistory | Any patches that have happened |
update | Which update this NPC is part of. |
wilderness | What wilderness is this enemy in as a rare |
rareinfo | Where this rare NPC appears in the location, any special info about finding it, etc. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.