Difference between revisions of "Template:NPC"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 84: | Line 84: | ||
|parameter16description = Where this rare NPC appears in the location, any special info about finding it, etc. | |parameter16description = Where this rare NPC appears in the location, any special info about finding it, etc. | ||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly><table class="item-table background-color"> | ||
<tr> | |||
<td class="item-info-side"> | |||
<table class="background-color full"> | |||
<tr> | |||
<td> | |||
<table class="background-color full"> | |||
<tr> | |||
<td class="title"> | |||
'''{{{name}}}''' | |||
</td> | |||
</tr> | |||
</table> | |||
</td> | |||
</tr> | |||
<tr> | |||
<td><nowiki> | |||
{{#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|}}}| | |||
* [[{{{location2}}}]]}}{{#if: {{{location3|}}}| | |||
* [[{{{location3}}}]]}}{{#if: {{{location4|}}}| | |||
* [[{{{location4}}}]]}}{{#if: {{{wilderness|}}}|{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}| | |||
* }}[[{{{wilderness}}}]]}}{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{wilderness|}}|<br>}}{{#if: {{{rareinfo|}}} | '''Rare Information:''' {{{rareinfo}}}<br>}} | |||
'''Occupation:''' {{#switch: {{lc:{{{purpose}}}}} | |||
|quest giver = Quest Giver<br> | |||
| saga giver = Saga Giver<br> | |||
| general vendor = [[General Vendor]]<br> | |||
| patron vendor = Patron Vendor{{#if: {{{data|}}} | | |||
{{{data}}}}}<br> | |||
| vendor = Vendor{{#if: {{{data|}}} |, Sells | |||
{{{data}}}}}<br> | |||
| teleportation = Teleportation {{#if: {{{data|}}} | to {{{data}}}}}<br> | |||
| npc contact = Walkup Quest Rewards<br> | |||
| patron = Patron {{#if: {{{data|}}} | for [[{{{data}}}]]}}<br> | |||
| collector = Collectable/Augment Trader {{#if: {{{data|}}} | | |||
{{{data}}}}} | |||
<br> | |||
|#default = {{{purpose}}}<br>}}</nowiki> | |||
{{#if: {{{description|}}} |'''Description:''' {{{description}}}<br>}}{{#if: {{{notes|}}} |'''Notes:''' | |||
{{{notes}}}<br>}}{{#if: {{{patchhistory|}}} |'''Patch History:''' | |||
{{{patchhistory}}}<br>}}<br> | |||
{{#switch: {{lc:{{{purpose}}}}} | |||
|quest giver|npc contact='''Quests/Story Arcs'''<br> | |||
{{#DPL: | |||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:Quest{{!}}Template:StoryArc | |||
|noresultsheader=None | |||
}} | |||
|saga giver='''Sagas'''<br> | |||
{{#DPL: | |||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:Saga | |||
|noresultsheader=None | |||
}} | |||
}}<br></td> | |||
</tr> | |||
</table> | |||
</td> | |||
<td class="item-image-side" "> | |||
<table class="item-image-table background-color" > | |||
<tr><td class="item-image-notext">[[File:{{{name}}}.png|300px|]]</td></tr> | |||
</table> | |||
</td> | |||
</tr> | |||
</table> | |||
{{#ifeq: {{FULLPAGENAME}} |Template:NPC||{{#if: {{{update|}}}|[[Category:Update {{{update}}} NPC]]}}}} | {{#ifeq: {{FULLPAGENAME}} |Template:NPC||{{#if: {{{update|}}}|[[Category:Update {{{update}}} NPC]]}}}} | ||
{{#switch: {{lc:{{{purpose}}}}} | {{#switch: {{lc:{{{purpose}}}}} |
Revision as of 17:59, 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.