Difference between revisions of "Template:NPCPurposeSection"

From DDO Compendium
m
 
(25 intermediate revisions by 2 users not shown)
Line 15: Line 15:
* Patron
* Patron
* Pawn Broker
* Pawn Broker
* Barkeep
* Any other value, more generic
* Any other value, more generic
}}
}}
Line 21: Line 22:
{{#DPL:
{{#DPL:
|linksto={{ARTICLEPAGENAME}}
|linksto={{ARTICLEPAGENAME}}
|uses=Template:Quest{{!}}Template:StoryArc
|uses=Template:Quest{{!}}Template:StoryArc{{!}}Template:Challenge
|noresultsheader=None
|noresultsheader=None
}}
}}
Line 30: Line 31:
|noresultsheader=None
|noresultsheader=None
}}
}}
|general vendor=''General Vendor'''<br>
|general vendor='''General Vendor'''<br>
{{#DPL:
{{#DPL:
|linksto={{ARTICLEPAGENAME}}
|linksto={{ARTICLEPAGENAME}}
|uses=Template:Item
|uses=Template:Item{{!}}Template:Shield{{!}}Template:Weapon{{!}}Template:Armor{{!}}Template:Consumable
|noresultsheader=None
|noresultsheader=None
}}
}}
}}</includeonly>
|vendor={{VendorSaleTableStart}}{{#dplvar:set|vendorformat|table}}{{#DPL:
|mode=userformat
|linksto={{ARTICLEPAGENAME}}
|uses=Template:Shield
|format=,,
|noresultsheader=&nbsp;
|include={Shield¦BarkeepItemDPL}
}}{{#DPL:
|mode=userformat
|linksto={{ARTICLEPAGENAME}}
|uses=Template:Weapon
|format=,,
|noresultsheader=&nbsp;
|include={Weapon¦BarkeepItemDPL}
}}{{#DPL:
|mode=userformat
|linksto={{ARTICLEPAGENAME}}
|uses=Template:Armor
|format=,,
|noresultsheader=&nbsp;
|include={Armor¦BarkeepItemDPL}
}}{{#DPL:
|mode=userformat
|linksto={{ARTICLEPAGENAME}}
|uses=Template:Consumable
|format=,,
|noresultsheader=&nbsp;
|include={Consumable¦BarkeepItemDPL}
}}{{#DPL:
|mode=userformat
|linksto={{ARTICLEPAGENAME}}
|uses=Template:Quiver
|format=,,
|noresultsheader=&nbsp;
|include={Quiver¦BarkeepItemDPL}
}}{{VendorSaleTableEnd}}
|barkeep={{#DPL:
|mode=userformat
|linksto={{ARTICLEPAGENAME}}
|uses=Template:ItemFoodAndDrink
|format=,,
|noresultsheader=
|resultsheader={{#dplvar:set|vendorformat|table}}{{VendorSaleTableStart}}
|resultsfooter={{VendorSaleTableEnd}}
|include={ItemFoodAndDrink¦BarkeepItemDPL}
}}}}</includeonly>

Latest revision as of 01:32, 29 January 2022


NPCPurposeSection[edit]

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

Usage[edit]

{{NPCPurposeSection|(purpose)}}

Parameter Documentation
purposeWhat is the purpose of this NPC
Possible Values:
  • Quest Giver
  • General Vendor
  • Collector
  • Vendor
  • Teleportation
  • Saga Giver
  • Patron
  • Pawn Broker
  • Barkeep
  • Any other value, more generic

Template

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