Difference between revisions of "Template:NPC"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 103: | Line 103: | ||
{{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:''' {{{race}}}<br>{{#if: {{{gender|}}}|'''Gender:''' {{{gender|Unknown}}}<br>}}'''Location(s):''' | {{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:''' {{{race}}}<br>{{#if: {{{gender|}}}|'''Gender:''' {{{gender|Unknown}}}<br>}}'''Location(s):''' | ||
{{#if: {{{location1|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{wilderness|}}}| | {{#if: {{{location1|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{wilderness|}}}| | ||
* }} | * }}{{RenderLink|{{{location1}}}}}}}{{#if: {{{location2|}}}| | ||
* | * {{RenderLink|{{{location2}}}}}}}{{#if: {{{location3|}}}| | ||
* | * {{RenderLink|{{{location3}}}}}}}{{#if: {{{location4|}}}| | ||
* | * {{RenderLink|{{{location4}}}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}| | ||
* }} | * }}{{RenderLink|{{{wilderness}}}}}}} | ||
{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{wilderness|}}}|<br>}}{{#if: {{{rareinfo|}}} | '''Rare Information:''' {{{rareinfo}}}<br>}} | {{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{wilderness|}}}|<br>}}{{#if: {{{rareinfo|}}} | '''Rare Information:''' {{{rareinfo}}}<br>}} | ||
'''Occupation:''' {{#switch: {{lc:{{{purpose}}}}} | '''Occupation:''' {{#switch: {{lc:{{{purpose}}}}} | ||
Line 119: | Line 119: | ||
| teleportation = Teleportation {{#if: {{{data|}}} | to {{{data}}}}}<br> | | teleportation = Teleportation {{#if: {{{data|}}} | to {{{data}}}}}<br> | ||
| npc contact = Walkup Quest Rewards<br> | | npc contact = Walkup Quest Rewards<br> | ||
| patron = Patron {{#if: {{{data|}}} | for | | patron = Patron {{#if: {{{data|}}} | for {{RenderLink|{{{data}}}}}}}<br> | ||
| collector = Collectable/Augment Trader {{#if: {{{data|}}} | | | collector = Collectable/Augment Trader {{#if: {{{data|}}} | | ||
{{{data}}}}} | {{{data}}}}} |
Revision as of 19:54, 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.