Difference between revisions of "Template:NPCPurpose"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 28: | Line 28: | ||
* 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 NPC, what this NPC is for in a public area | ||
|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 47: | Line 51: | ||
| vendor = Vendor{{#if: {{{2|}}} |, Sells | | vendor = Vendor{{#if: {{{2|}}} |, Sells | ||
{{{2}}}}}[[Category: Vendors]] | {{{2}}}}}[[Category: Vendors]] | ||
| trainer = {{{2|}}} Trainer | | trainer = {{{2|}}} Trainer{{EnchCat|NPCPurpose|Trainers}} | ||
| npc = NPC{{#if: {{{2|}}}| - {{{2}}}}} | | npc = NPC{{#if: {{{2|}}}| - {{{2}}}}}{{EnchCat|NPCPurpose|NPCs}} | ||
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}} | | teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}}{{EnchCat|NPCPurpose|NPCs}} | ||
| npc contact = Walkup Quest Rewards {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}} | | npc contact = Walkup Quest Rewards {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}{{EnchCat|NPCPurpose|NPC Contacts}} | ||
| patron = Patron {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}} | | patron = Patron {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}{{EnchCat|NPCPurpose|Patrons}} | ||
| pawn broker = Pawn Broker {{#if: {{{2|}}} | - {{{2}}}}} | | pawn broker = Pawn Broker {{#if: {{{2|}}} | - {{{2}}}}}{{EnchCat|NPCPurpose|Pawn Brokers}} | ||
| collector = Collectable/Augment Trader {{#if: {{{2|}}} | | | collector = Collectable/Augment Trader {{#if: {{{2|}}} | | ||
{{{2}}}}} | {{{2}}}}}{{EnchCat|NPCPurpose|Collectors|Traders}} | ||
|#default = {{{1}}} | |#default = {{{1}}}{{EnchCat|NPCPurpose|NPCs}}}}}}{{EnchCat|NPCPurpose|{{{3|}}}|{{{4|}}}}}</includeonly> |
Revision as of 13:46, 3 September 2021
NPCPurpose[edit]
This template is used to internally render the purpose of an NPC
Usage[edit]
{{NPCPurpose|(purpose)|(data)}}
Parameter Documentation | |
purpose | What is the purpose of this NPC Possible Values:
|
data | What data about the purpose. Possible Values:
|
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.