Difference between revisions of "Template:NPC"

From DDO Compendium
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.
|parameter1values =
|parameter2name = race
|parameter2name = race
|parameter2description = The race of the NPC.
|parameter2description = The race of the NPC.
|parameter2values =
|parameter3name = gender  
|parameter3name = gender  
|parameter3description = What is the gender of the NPC.
|parameter3description = What is the gender of the NPC.
|parameter3values =
|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
|parameter4values =
|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
|parameter5values =
|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
|parameter6values =
|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
|parameter7values =  
|parameter8name = location5
|parameter8name = purpose
|parameter8description = A Public Area that this NPC is in. Use [[Template:PageLink]] if the page name is different than the name of the npc
|parameter8description = What is the purpose of this NPC, use a bulleted list of [[Template:NPCPurpose]]
|parameter9name = purpose
|parameter9name = purposesection
|parameter9description = What is the purpose of this NPC, use a bulleted list of [[Template:NPCPurpose]]
|parameter9description = What extra sections show per purpose, use multiple (non-bulleted) list of [[Template:NPCPurposeSection]]
|parameter10name = purposesection
|parameter10name = flavortext
|parameter10description = What extra sections show per purpose, use multiple (non-bulleted) list of [[Template:NPCPurposeSection]]
|parameter10description = Some specific text the NPC says.
|parameter11name = flavortext
|parameter10values =
|parameter11description = Some specific text the NPC says.
|parameter11name = description
|parameter12name = description
|parameter11description = Specific description of this NPC
|parameter12description = Specific description of this NPC
|parameter11values =
|parameter13name = notes
|parameter12name = notes
|parameter13description = Any notes about this NPC.
|parameter12description = Any notes about this NPC.
|parameter14name = patchhistory
|parameter12values =
|parameter14description = Any patches that have happened
|parameter13name = patchhistory
|parameter15name = update
|parameter13description = Any patches that have happened
|parameter15description = Which update this NPC is part of.
|parameter13values =
|parameter16name = wilderness
|parameter14name = update
|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
|parameter14description = Which update this NPC is part of.
|parameter17name = rareinfo
|parameter14values =
|parameter17description = Where this rare NPC appears in the location, any special info about finding it, etc.
|parameter15name = wilderness
|parameter15description = What wilderness is this enemy in as a rare Use [[Template:PageLink]] if the page name is different than the name of the npc
|parameter16name = rareinfo
|parameter16description = 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:'''&nbsp;{{{race}}}<br>{{#if: {{{gender|}}}|'''Gender:''' {{{gender|Unknown}}}<br>}}'''Location(s):'''  
{{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:'''&nbsp;{{{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|}}}|
*&nbsp;}}{{RenderLink|{{{location1}}}}}}}{{#if: {{{location2|}}}|
*&nbsp;}}{{RenderLink|{{{location1}}}}}}}{{#if: {{{location2|}}}|
*&nbsp;{{RenderLink|{{{location2}}}}}}}{{#if: {{{location3|}}}|
*&nbsp;{{RenderLink|{{{location2}}}}}}}{{#if: {{{location3|}}}|
*&nbsp;{{RenderLink|{{{location3}}}}}}}{{#if: {{{location4|}}}|
*&nbsp;{{RenderLink|{{{location3}}}}}}}{{#if: {{{location4|}}}|
*&nbsp;{{RenderLink|{{{location4}}}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}|
*&nbsp;{{RenderLink|{{{location4}}}}}}}{{#if: {{{location5|}}}|
*&nbsp;{{RenderLink|{{{location5}}}}}}}{{#if: {{{wilderness|}}}|{{#if: {{{location|}}}{{{location2|}}}{{{location3|}}}{{{location4|}}}{{{location5|}}}|
*&nbsp;}}{{RenderLink|{{{wilderness}}}}}}}
*&nbsp;}}{{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:''' &nbsp;{{WrapMultiLine|{{{purpose}}}}}}}
{{#if: {{{purpose|}}}|'''Occupation:''' &nbsp;{{WrapMultiLine|{{{purpose}}}}}}}
{{#if: {{{description|}}} |<br>'''Description:''' {{{description}}}}}{{#if: {{{notes|}}} |<br>'''Notes:'''&nbsp;{{{notes}}}}}{{#if: {{{patchhistory|}}} |<br>'''Patch History:'''  
{{#if: {{{description|}}} |<br>'''Description:''' {{{description}}}}}{{#if: {{{notes|}}} |<br>'''Notes:'''&nbsp;{{{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
nameThe name of the NPC.
raceThe race of the NPC.
genderWhat is the gender of the NPC.
location1A Public Area that this NPC is in. Use Template:PageLink if the page name is different than the name of the npc
location2A Public Area that this NPC is in. Use Template:PageLink if the page name is different than the name of the npc
location3A Public Area that this NPC is in. Use Template:PageLink if the page name is different than the name of the npc
location4A Public Area that this NPC is in. Use Template:PageLink if the page name is different than the name of the npc
location5A Public Area that this NPC is in. Use Template:PageLink if the page name is different than the name of the npc
purposeWhat is the purpose of this NPC, use a bulleted list of Template:NPCPurpose
purposesectionWhat extra sections show per purpose, use multiple (non-bulleted) list of Template:NPCPurposeSection
flavortextSome specific text the NPC says.
descriptionSpecific description of this NPC
notesAny notes about this NPC.
patchhistoryAny patches that have happened
updateWhich update this NPC is part of.
wildernessWhat wilderness is this enemy in as a rare Use Template:PageLink if the page name is different than the name of the npc
rareinfoWhere 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.