Difference between revisions of "Template:NPC"
From DDO Compendium
MNDeveloper (talk | contribs) (Undo revision 47882 by MNDeveloper (talk)) |
MNDeveloper (talk | contribs) |
||
Line 87: | Line 87: | ||
<tr> | <tr> | ||
<td> | <td> | ||
{{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:''' {{{race}}}<br>{{#if: {{{gender|}}}|'''Gender:''' {{{gender|Unknown}}}<br>}}'''Location(s):''' {{#if: {{{location1|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{wilderness|}}}| | {{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:''' {{{race}}}<br>{{#if: {{{gender|}}}|'''Gender:''' {{{gender|Unknown}}}<br>}}'''Location(s):''' | ||
* }}{{RenderLink|{{{location1}}}}}}}{{#if: {{{location2|}}}|* {{RenderLink|{{{location2}}}}}}}{{#if: {{{location3|}}}|* {{RenderLink|{{{location3}}}}}}}{{#if: {{{location4|}}}|* {{RenderLink|{{{location4}}}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}| | {{#if: {{{location1|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}{{{wilderness|}}}| | ||
* }}{{RenderLink|{{{wilderness}}}}}}}{{#if: {{{location|}}} | * }}{{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>}} | |||
{{{patchhistory}}}<br>}} | '''Occupation:''' {{WrapMultiLine|{{{purpose}}}}} | ||
{{#if: {{{description|}}} |'''Description:''' {{{description}}}<br>}}{{#if: {{{notes|}}} |'''Notes:''' | |||
{{{notes}}}<br>}}{{#if: {{{patchhistory|}}} |'''Patch History:''' | |||
{{{patchhistory}}}<br>}}<br>{{{purposesection}}<br></td> | |||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 21:33, 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: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.