Difference between revisions of "Template:NPCPurpose"

From DDO Compendium
Line 43: Line 43:
| vendor = Vendor{{#if: {{{2|}}} |, Sells  
| vendor = Vendor{{#if: {{{2|}}} |, Sells  
{{{2}}}}}
{{{2}}}}}
| trainer = {{{2|}}} Trainer[[Category:{{{2|Unknown}}} Trainers]]
| 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}}}}}}}
| patron = Patron {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}[[Category:{{{2|Unknown}}} Patron]]
| patron = Patron {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}
| pawn broker = Pawn Broker {{#if: {{{2|}}} | - {{{2}}}}}[[Category:Pawn Brokers]]
| pawn broker = Pawn Broker {{#if: {{{2|}}} | - {{{2}}}}}
| collector = Collectable/Augment Trader {{#if: {{{2|}}} |  
| collector = Collectable/Augment Trader {{#if: {{{2|}}} |  
{{{2}}}}}
{{{2}}}}}
|#default = {{{1}}}}}{{#switch: {{lc:{{{1}}}}}
|#default = {{{1}}}}}{{#switch: {{lc:{{{1}}}}}
| trainer = [[Category:{{{2|Unknown}}} Trainers]]
| quest giver = [[Category: Quest Givers]]
| quest giver = [[Category: Quest Givers]]
| saga giver = [[Category: Saga Givers]]
| saga giver = [[Category: Saga Givers]]
Line 56: Line 57:
| general vendor = [[Category: General Vendors]]
| general vendor = [[Category: General Vendors]]
| vendor = [[Category: Vendors]]
| vendor = [[Category: Vendors]]
| pawn broker = [[Category:Pawn Brokers]]
|#default = [[Category: NPCs]]
|#default = [[Category: NPCs]]
}}}}</includeonly>
}}}}</includeonly>

Revision as of 15:52, 21 April 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
  • 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.