Difference between revisions of "Template:NPCPurpose"

From DDO Compendium
m
 
(26 intermediate revisions by 2 users not shown)
Line 16: Line 16:
* Pawn Broker
* Pawn Broker
* NPC Contact
* NPC Contact
* NPC
* Trainer
* Trainer
* Epic Destiny Unlock
* Any other value, more generic
* Any other value, more generic
|parameter2name = data
|parameter2name = data
Line 26: Line 28:
* For Collectables, bulleted item and cost
* For Collectables, bulleted item and cost
* For Trainer, the class they are training
* For Trainer, the class they are training
* For NPC, what this NPC is for in a public area
* For Epic Destiny Unlock, what epic destiny they unlock
|parameter3name=Vendor Category1
|parameter3description = A custom category for vendors (i.e. Weapon Vendor)
|parameter4name=Vendor Category2
|parameter4description = A custom category for vendors (i.e. Scroll Vendor)
}}
}}
</noinclude><includeonly>{{#switch: {{lc:{{#dplvar:purposestyle}}}}
</noinclude><includeonly>{{#switch: {{lc:{{#dplvar:purposestyle}}}}
Line 33: Line 41:
| trainer = {{{2|}}} Trainer
| trainer = {{{2|}}} Trainer
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}
| npc = NPC{{#if: {{{2|}}}|&nbsp;- {{{2}}}}}
| epic destiny unlock=Unlocks [[{{{2}}}]] Epic Destiny
|#default={{{1}}}
|#default={{{1}}}
}}
}}
|#default={{#switch: {{lc:{{{1}}}}}
|#default={{#switch: {{lc:{{{1}}}}}
|quest giver = Quest Giver
| spirit binder = Spirit Binder[[Category: Spirit Binders]]
| saga giver = Saga Giver
| quest giver = Quest Giver[[Category: Quest Givers]]
| general vendor = [[General Vendor]]
| saga giver = Saga Giver[[Category: Saga Givers]]
| patron vendor = Patron Vendor{{#if: {{{2|}}} |
| general vendor = [[General Vendor]][[Category: General Vendors]]
{{{2}}}}}
| reaper vendor = Reaper Vendor[[Category: Vendors]]
| vendor = Vendor{{#if: {{{2|}}} |, Sells  
| patron vendor = Patron Vendor {{#if: {{{2|}}} |For
{{{2}}}}}
{{{2}}}}}[[Category:Patron Vendor]]
| trainer = {{{2|}}} Trainer[[Category:{{{2|Unknown}}} Trainers]]
| vendor = Vendor{{#if: {{{2|}}} |, Sells {{{2}}}}}[[Category: Vendors]]
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}
| trainer = {{{2|}}} Trainer[[Category:Trainers]]
| npc contact = Walkup Quest Rewards {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}
| npc = NPC{{#if: {{{2|}}}|&nbsp;- {{{2}}}}}[[Category:NPCs]]
| patron = Patron {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}[[Category:{{{2|Unknown}}} Patron]]
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}[[Category:NPCs]]
| npc contact = Walkup Quest Rewards {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}[[Category:NPC Contacts]]
| patron = Patron {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}[[Category:Patrons]]
| pawn broker = Pawn Broker {{#if: {{{2|}}} | - {{{2}}}}}[[Category:Pawn Brokers]]
| pawn broker = Pawn Broker {{#if: {{{2|}}} | - {{{2}}}}}[[Category:Pawn Brokers]]
| collector = Collectable/Augment Trader {{#if: {{{2|}}} |  
| collector = Collectable/Augment Trader {{#if: {{{2|}}} |  
{{{2}}}}}
{{{2}}}}}[[Category:Collectors]][[Category:Traders]]
|#default = {{{1}}}}}{{#switch: {{lc:{{{1}}}}}
| epic destiny unlock=Unlocks [[{{{2}}}]] Epic Destiny[[Category:Epic Destiny Unlocker]]
| quest giver = [[Category: Quest Givers]]
|#default = {{{1}}}[[Category:NPCs]]}}}}{{EnchCat|NPCPurpose|{{{3|}}}|{{{4|}}}}}</includeonly>
| saga giver = [[Category: Saga Givers]]
| npc contact = [[Category: NPC Contacts]]
| general vendor = [[Category: General Vendors]]
| vendor = [[Category: Vendors]]
|#default = [[Category: NPCs]]
}}}}</includeonly>

Latest revision as of 19:04, 5 December 2023


NPCPurpose[edit]

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

Usage[edit]

{{NPCPurpose|(purpose)|(data)|(Vendor Category1)|(Vendor Category2)}}

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
  • Epic Destiny Unlock
  • 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
  • For Epic Destiny Unlock, what epic destiny they unlock
Vendor Category1A custom category for vendors (i.e. Weapon Vendor)
Vendor Category2A custom category for vendors (i.e. Scroll Vendor)

Template

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