Difference between revisions of "Template:NPC"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 9: | Line 9: | ||
|location3 = | |location3 = | ||
|location4 = | |location4 = | ||
|location5 = | |||
|purpose= | |purpose= | ||
|purposesection= | |purposesection= | ||
Line 27: | Line 28: | ||
|parameter1name = name | |parameter1name = name | ||
|parameter1description = The name of the NPC. | |parameter1description = The name of the NPC. | ||
|parameter2name = race | |parameter2name = race | ||
|parameter2description = The race of the NPC. | |parameter2description = The race of the NPC. | ||
|parameter3name = gender | |parameter3name = gender | ||
|parameter3description = What is the gender of the NPC. | |parameter3description = What is the gender of the NPC. | ||
|parameter4name = location1 | |parameter4name = location1 | ||
|parameter4description = A Public Area that this NPC is in. Use [[Template:PageLink]] if the page name is different than the name of the npc | |parameter4description = A Public Area that this NPC is in. Use [[Template:PageLink]] if the page name is different than the name of the npc | ||
|parameter5name = location2 | |parameter5name = location2 | ||
|parameter5description = A Public Area that this NPC is in. Use [[Template:PageLink]] if the page name is different than the name of the npc | |parameter5description = A Public Area that this NPC is in. Use [[Template:PageLink]] if the page name is different than the name of the npc | ||
|parameter6name = location3 | |parameter6name = location3 | ||
|parameter6description = A Public Area that this NPC is in. Use [[Template:PageLink]] if the page name is different than the name of the npc | |parameter6description = A Public Area that this NPC is in. Use [[Template:PageLink]] if the page name is different than the name of the npc | ||
|parameter7name = location4 | |parameter7name = location4 | ||
|parameter7description = A Public Area that this NPC is in. Use [[Template:PageLink]] if the page name is different than the name of the npc | |parameter7description = A Public Area that this NPC is in. Use [[Template:PageLink]] if the page name is different than the name of the npc | ||
| | |parameter8name = location5 | ||
| | |parameter8description = A Public Area that this NPC is in. Use [[Template:PageLink]] if the page name is different than the name of the npc | ||
| | |parameter9name = purpose | ||
| | |parameter9description = What is the purpose of this NPC, use a bulleted list of [[Template:NPCPurpose]] | ||
| | |parameter10name = purposesection | ||
| | |parameter10description = What extra sections show per purpose, use multiple (non-bulleted) list of [[Template:NPCPurposeSection]] | ||
| | |parameter11name = flavortext | ||
| | |parameter11description = Some specific text the NPC says. | ||
|parameter12name = description | |||
| | |parameter12description = Specific description of this NPC | ||
| | |parameter13name = notes | ||
|parameter13description = Any notes about this NPC. | |||
| | |parameter14name = patchhistory | ||
| | |parameter14description = Any patches that have happened | ||
|parameter15name = update | |||
| | |parameter15description = Which update this NPC is part of. | ||
| | |parameter16name = wilderness | ||
|parameter16description = What wilderness is this enemy in as a rare Use [[Template:PageLink]] if the page name is different than the name of the npc | |||
| | |parameter17name = rareinfo | ||
| | |parameter17description = Where this rare NPC appears in the location, any special info about finding it, etc. | ||
| | |||
| | |||
| | |||
}} | }} | ||
</noinclude><includeonly><table class="item-table background-color"> | </noinclude><includeonly><table class="item-table background-color"> | ||
Line 88: | Line 79: | ||
<td> | <td> | ||
{{#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|}}}{{{location5|}}}{{{wilderness|}}}| | ||
* }}{{RenderLink|{{{location1}}}}}}}{{#if: {{{location2|}}}| | * }}{{RenderLink|{{{location1}}}}}}}{{#if: {{{location2|}}}| | ||
* {{RenderLink|{{{location2}}}}}}}{{#if: {{{location3|}}}| | * {{RenderLink|{{{location2}}}}}}}{{#if: {{{location3|}}}| | ||
* {{RenderLink|{{{location3}}}}}}}{{#if: {{{location4|}}}| | * {{RenderLink|{{{location3}}}}}}}{{#if: {{{location4|}}}| | ||
* {{RenderLink|{{{location4}}}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}| | * {{RenderLink|{{{location4}}}}}}}{{#if: {{{location5|}}}| | ||
* {{RenderLink|{{{location5}}}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}| | |||
* }}{{RenderLink|{{{wilderness}}}}}}} | * }}{{RenderLink|{{{wilderness}}}}}}} | ||
{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{wilderness|}}}|<br>}}{{#if: {{{rareinfo|}}} | <br>'''Rare Information:''' {{{rareinfo}}}}} | {{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{location5|}}}{{{wilderness|}}}|<br>}}{{#if: {{{rareinfo|}}} | <br>'''Rare Information:''' {{{rareinfo}}}}} | ||
{{#if: {{{purpose|}}}|'''Occupation:''' {{WrapMultiLine|{{{purpose}}}}}}} | {{#if: {{{purpose|}}}|'''Occupation:''' {{WrapMultiLine|{{{purpose}}}}}}} | ||
{{#if: {{{description|}}} |<br>'''Description:''' {{{description}}}}}{{#if: {{{notes|}}} |<br>'''Notes:''' {{{notes}}}}}{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' | {{#if: {{{description|}}} |<br>'''Description:''' {{{description}}}}}{{#if: {{{notes|}}} |<br>'''Notes:''' {{{notes}}}}}{{#if: {{{patchhistory|}}} |<br>'''Patch History:''' |
Revision as of 16:57, 15 November 2019
{{Template:NPC |name = |race = |gender= |location1 = |location2 = |location3 = |location4 = |location5 = |purpose= |purposesection= |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. Use Template:PageLink if the page name is different than the name of the npc |
location2 | A Public Area that this NPC is in. Use Template:PageLink if the page name is different than the name of the npc |
location3 | A Public Area that this NPC is in. Use Template:PageLink if the page name is different than the name of the npc |
location4 | A Public Area that this NPC is in. Use Template:PageLink if the page name is different than the name of the npc |
location5 | A Public Area that this NPC is in. Use Template:PageLink if the page name is different than the name of the npc |
purpose | What is the purpose of this NPC, use a bulleted list of Template:NPCPurpose |
purposesection | What extra sections show per purpose, use multiple (non-bulleted) list of Template:NPCPurposeSection |
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 Use Template:PageLink if the page name is different than the name of the npc |
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.