Difference between revisions of "Template:NPCPurpose"

From DDO Compendium
Line 25: Line 25:
}}
}}
</noinclude><includeonly>{{#switch: {{lc:{{{1}}}}}
</noinclude><includeonly>{{#switch: {{lc:{{{1}}}}}
|quest giver = Quest Giver<br>
|quest giver = Quest Giver
| saga giver = Saga Giver<br>
| saga giver = Saga Giver
| general vendor = [[General Vendor]]<br>
| general vendor = [[General Vendor]]
| patron vendor = Patron Vendor{{#if: {{{2|}}} |
| patron vendor = Patron Vendor{{#if: {{{2|}}} |
{{{2}}}}}<br>
{{{2}}}}}
| vendor = Vendor{{#if: {{{2|}}} |, Sells  
| vendor = Vendor{{#if: {{{2|}}} |, Sells  
{{{2}}}}}<br>
{{{2}}}}}
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}<br>
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}
| npc contact = Walkup Quest Rewards<br>
| npc contact = Walkup Quest Rewards
| patron = Patron {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}<br>
| patron = Patron {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}
| pawn broker = Pawn Broker {{#if: {{{2|}}} | - {{{2}}}}}<br>
| pawn broker = Pawn Broker {{#if: {{{2|}}} | - {{{2}}}}}
| collector = Collectable/Augment Trader {{#if: {{{2|}}} |  
| collector = Collectable/Augment Trader {{#if: {{{2|}}} |  
{{{2}}}}}
{{{2}}}}}
<br>
|#default = {{{1}}}<br>}}{{#switch: {{lc:{{{1}}}}}
|#default = {{{1}}}<br>}}{{#switch: {{lc:{{{1}}}}}
| quest giver = [[Category: Quest Givers]]
| quest giver = [[Category: Quest Givers]]

Revision as of 16:12, 5 November 2019


NPCPurpose[edit]

This template is used to internally render the purpose of an NPC

Usage[edit]

{{NPCPurpose|(purpose)|(data)}}

Parameter Documentation
purposeWhat is the purpose of this NPC
Possible Values:
  • Quest Giver
  • General Vendor
  • Collector
  • Vendor
  • Teleportation
  • Saga Giver
  • Patron
  • Pawn Broker
  • Any other value, more generic
dataWhat data about the purpose.
Possible Values:
  • For Vendor it is what they sell
  • For Patron it is who they are a patron for. Use Template:PageLink if the page name is different than the name of the npc
  • For Teleportation to where. Use Template:PageLink if the page name is different than the name of the npc
  • For Collectables, bulleted item and cost

Template

Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.