Difference between revisions of "Template:NPCPurpose"

From DDO Compendium
Line 16: Line 16:
* Pawn Broker
* Pawn Broker
* NPC Contact
* NPC Contact
* Trainer
* Any other value, more generic
* Any other value, more generic
|parameter2name = data
|parameter2name = data
Line 24: Line 25:
* For Teleportation to where. 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
* For Collectables, bulleted item and cost
* For Trainer, the class they are training
}}
}}
</noinclude><includeonly>{{#switch: {{lc:{{#dplvar:purposestyle}}}}
</noinclude><includeonly>{{#switch: {{lc:{{#dplvar:purposestyle}}}}
Line 39: Line 41:
| vendor = Vendor{{#if: {{{2|}}} |, Sells  
| vendor = Vendor{{#if: {{{2|}}} |, Sells  
{{{2}}}}}
{{{2}}}}}
| trainer = {{{2|}}} Trainer
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}
| npc contact = Walkup Quest Rewards {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}
| npc contact = Walkup Quest Rewards {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}

Revision as of 03:55, 14 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
  • NPC Contact
  • Trainer
  • 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
  • For Trainer, the class they are training

Template

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