Difference between revisions of "Template:NPCPurpose"

From DDO Compendium
Line 25: Line 25:
* For Collectables, bulleted item and cost
* For Collectables, bulleted item and cost
}}
}}
</noinclude><includeonly>{{#switch: {{lc:{{#purposestyle}}}}
</noinclude><includeonly>{{#switch: {{lc:{{#dplvar:purposestyle}}}}
|short={{{1}}}
|short={{{1}}}
|#default={{#switch: {{lc:{{{1}}}}}
|#default={{#switch: {{lc:{{{1}}}}}

Revision as of 17:03, 6 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
  • 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.