Difference between revisions of "Template:NPC"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 10: | Line 10: | ||
|location4 = | |location4 = | ||
|purpose= | |purpose= | ||
| | |purposesection= | ||
|flavortext = | |flavortext = | ||
|description = | |description = | ||
Line 47: | Line 47: | ||
|parameter7values = | |parameter7values = | ||
|parameter8name = purpose | |parameter8name = purpose | ||
|parameter8description = What is the purpose of this NPC | |parameter8description = What is the purpose of this NPC, use a bulleted list of [[Template:NPCPurpose]] | ||
|parameter9name = purposesection | |||
|parameter9description = What extra sections show per purpose, use multiple (non-bulleted) list of [[Template:NPCPurposeSecttion]] | |||
|parameter9name = | |||
|parameter9description = What | |||
|parameter10name = flavortext | |parameter10name = flavortext | ||
|parameter10description = Some specific text the NPC says. | |parameter10description = Some specific text the NPC says. | ||
Line 110: | Line 95: | ||
* }}{{RenderLink|{{{wilderness}}}}}}} | * }}{{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:''' {{ | '''Occupation:''' {{WrapMultiLine|{{{purpose}}}}} | ||
| | |||
{{#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:''' | ||
{{{patchhistory}}}<br>}}<br> | {{{patchhistory}}}<br>}}<br>{{{purposesection}}<br></td> | ||
{{ | |||
}}<br></td> | |||
</tr> | </tr> | ||
</table> | </table> | ||
Line 154: | Line 110: | ||
</table> | </table> | ||
{{#ifeq: {{FULLPAGENAME}} |Template:NPC||{{#if: {{{update|}}}|[[Category:Update {{{update}}} NPC]]}}}} | {{#ifeq: {{FULLPAGENAME}} |Template:NPC||{{#if: {{{update|}}}|[[Category:Update {{{update}}} NPC]]}}}} | ||
{{#if: {{{wilderness|}}}|[[Category: Wilderness Rare]]}} | |||
</includeonly> | </includeonly> |
Revision as of 15:52, 5 November 2019
{{Template:NPC |name = |race = |gender= |location1 = |location2 = |location3 = |location4 = |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 |
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:NPCPurposeSecttion |
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.