Difference between revisions of "Template:NPC"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 90: | Line 90: | ||
* {{RenderLink|{{{location5}}}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}| | * {{RenderLink|{{{location5}}}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}| | ||
* }}{{RenderLink|{{{wilderness}}}}}}} | * }}{{RenderLink|{{{wilderness}}}}}}} | ||
{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{location5|}}}{{{wilderness|}}}|<br>}}{{#if: {{{rareinfo|}}}|'''Rare Information:''' {{{rareinfo}}}}}{{#if: {{{purpose|}}}|'''Occupation:''' {{WrapMultiLine|{{{purpose}}}}}}}{{#if: {{{description|}}}|<br>'''Description:''' {{{description}}}}}{{#if: {{{notes|}}} |'''Notes:''' {{{notes}}}}}{{#if: {{{patchhistory|}}}|'''Patch History:''' {{{patchhistory}}}}}{{#if: {{{purposesection|}}}|{{#if: {{{description|}}}{{{notes|}}}{{{patchhistory|}}}||<br>}}{{{purposesection}}}}}</td> | {{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}{{{location5|}}}{{{wilderness|}}}|<br>}}{{#if: {{{rareinfo|}}}|'''Rare Information:''' {{{rareinfo}}}<br>}}{{#if: {{{purpose|}}}|'''Occupation:''' {{WrapMultiLine|{{{purpose}}}}}}}{{#if: {{{description|}}}|<br>'''Description:''' {{{description}}}}}{{#if: {{{notes|}}} |'''Notes:''' {{{notes}}}}}{{#if: {{{patchhistory|}}}|'''Patch History:''' {{{patchhistory}}}}}{{#if: {{{purposesection|}}}|{{#if: {{{description|}}}{{{notes|}}}{{{patchhistory|}}}||<br>}}{{{purposesection}}}}}</td> | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 21:11, 7 May 2020
{{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.