Difference between revisions of "Template:NPCPurpose"

From DDO Compendium
Line 34: Line 34:
| collector = Collectable/Augment Trader[[Category:Collectors]][[Category:Traders]]
| collector = Collectable/Augment Trader[[Category:Collectors]][[Category:Traders]]
| trainer = {{{2|}}} Trainer[[Category:Trainers]]
| trainer = {{{2|}}} Trainer[[Category:Trainers]]
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}[[Category: NPCs]]
| npc = NPC{{#if: {{{2|}}}| - {{{2}}}}}[[Category: NPCs]]
| npc = NPC{{#if: {{{2|}}}| - {{{2}}}}}[[Category: NPCs]]
|#default={{{1}}}
|#default={{{1}}}
Line 48: Line 48:
| trainer = {{{2|}}} Trainer[[Category:Trainers]]
| trainer = {{{2|}}} Trainer[[Category:Trainers]]
| npc = NPC{{#if: {{{2|}}}| - {{{2}}}}}[[Category: NPCs]]
| npc = NPC{{#if: {{{2|}}}| - {{{2}}}}}[[Category: NPCs]]
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}[[Category: NPCs]]
| npc contact = Walkup Quest Rewards {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}[[Category: NPC Contacts]]
| npc contact = Walkup Quest Rewards {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}[[Category: NPC Contacts]]
| patron = Patron {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}[[Category:Patrons]]
| patron = Patron {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}[[Category:Patrons]]

Revision as of 21:23, 21 November 2020


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
  • NPC
  • 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
  • For NPC, what this NPC is for in a public area

Template

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