Difference between revisions of "Template:NPCPurpose"
From DDO Compendium
MNDeveloper (talk | contribs) |
m (removed categorization nested {{#switch:}} in favor of inline categories (still troubleshooting)) |
||
Line 31: | Line 31: | ||
</noinclude><includeonly>{{#switch: {{lc:{{#dplvar:purposestyle}}}} | </noinclude><includeonly>{{#switch: {{lc:{{#dplvar:purposestyle}}}} | ||
|short={{#switch: {{lc:{{{1}}}}} | |short={{#switch: {{lc:{{{1}}}}} | ||
| npc contact = Walkup Quest Rewards | | npc contact = Walkup Quest Rewards[[Category: NPC Contacts]] | ||
| collector = Collectable/Augment Trader | | collector = Collectable/Augment Trader[[Category:Collectors]][[Category:Traders]] | ||
| trainer = {{{2|}}} Trainer | | trainer = {{{2|}}} Trainer[[Category:Trainers]] | ||
| teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}} | | teleportation = Teleportation {{#if: {{{2|}}} | to {{{2}}}}} | ||
| npc = NPC{{#if: {{{2|}}}| - {{{2}}}}} | | npc = NPC{{#if: {{{2|}}}| - {{{2}}}}}[[Category: NPCs]] | ||
|#default={{{1}}} | |#default={{{1}}} | ||
}} | }} | ||
|#default={{#switch: {{lc:{{{1}}}}} | |#default={{#switch: {{lc:{{{1}}}}} | ||
|quest giver = Quest Giver | | quest giver = Quest Giver[[Category: Quest Givers]] | ||
| saga giver = Saga Giver | | saga giver = Saga Giver[[Category: Saga Givers]] | ||
| general vendor = [[General Vendor]] | | general vendor = [[General Vendor]][[Category: General Vendors]] | ||
| patron vendor = Patron Vendor {{#if: {{{2|}}} |For | | patron vendor = Patron Vendor {{#if: {{{2|}}} |For | ||
{{{2}}}}} | {{{2}}}}}[[Category:Patron Vendor]] | ||
| vendor = Vendor{{#if: {{{2|}}} |, Sells | | vendor = Vendor{{#if: {{{2|}}} |, Sells | ||
{{{2}}}}} | {{{2}}}}}[[Category: Vendors]] | ||
| trainer = {{{2|}}} Trainer | | trainer = {{{2|}}} Trainer[[Category:Trainers]] | ||
| npc = NPC{{#if: {{{2|}}}| - {{{2}}}}} | | npc = NPC{{#if: {{{2|}}}| - {{{2}}}}}[[Category: NPCs]] | ||
| 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}}}}}}}[[Category: NPC Contacts]] | ||
| patron = Patron {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}} | | patron = Patron {{#if: {{{2|}}} | for {{RenderLink|{{{2}}}}}}}[[Category:Patrons]] | ||
| pawn broker = Pawn Broker {{#if: {{{2|}}} | - {{{2}}}}} | | 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}}}}}}}</includeonly> | |||
|#default = | |||
}}}}</includeonly> |
Revision as of 16:33, 17 November 2020
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.