Difference between revisions of "Template:NPCPurposeSection"

From DDO Compendium
 
(3 intermediate revisions by the same user not shown)
Line 22: 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 43: Line 43:
|format=,,
|format=,,
|noresultsheader= 
|noresultsheader= 
|resultsheader=
|resultsfooter=
|include={Shield¦BarkeepItemDPL}
|include={Shield¦BarkeepItemDPL}
}}{{#dplvar:set|vendorformat|table}}{{#DPL:
}}{{#DPL:
|mode=userformat
|mode=userformat
|linksto={{ARTICLEPAGENAME}}
|linksto={{ARTICLEPAGENAME}}
Line 52: Line 50:
|format=,,
|format=,,
|noresultsheader= 
|noresultsheader= 
|resultsheader=
|resultsfooter=
|include={Weapon¦BarkeepItemDPL}
|include={Weapon¦BarkeepItemDPL}
}}{{#dplvar:set|vendorformat|table}}{{#DPL:
}}{{#DPL:
|mode=userformat
|mode=userformat
|linksto={{ARTICLEPAGENAME}}
|linksto={{ARTICLEPAGENAME}}
Line 61: Line 57:
|format=,,
|format=,,
|noresultsheader= 
|noresultsheader= 
|resultsheader=
|resultsfooter=
|include={Armor¦BarkeepItemDPL}
|include={Armor¦BarkeepItemDPL}
}}{{#dplvar:set|vendorformat|table}}{{#DPL:
}}{{#DPL:
|mode=userformat
|mode=userformat
|linksto={{ARTICLEPAGENAME}}
|linksto={{ARTICLEPAGENAME}}
Line 70: Line 64:
|format=,,
|format=,,
|noresultsheader= 
|noresultsheader= 
|resultsheader=
|resultsfooter=
|include={Consumable¦BarkeepItemDPL}
|include={Consumable¦BarkeepItemDPL}
}}{{#dplvar:set|vendorformat|table}}{{#DPL:
}}{{#DPL:
|mode=userformat
|mode=userformat
|linksto={{ARTICLEPAGENAME}}
|linksto={{ARTICLEPAGENAME}}
Line 79: Line 71:
|format=,,
|format=,,
|noresultsheader= 
|noresultsheader= 
|resultsheader=
|resultsfooter=
|include={Quiver¦BarkeepItemDPL}
|include={Quiver¦BarkeepItemDPL}
}}
}}{{VendorSaleTableEnd}}
{{VendorSaleTableEnd}}
|barkeep={{#DPL:
|barkeep={{#DPL:
|mode=userformat
|mode=userformat
Line 89: Line 78:
|uses=Template:ItemFoodAndDrink
|uses=Template:ItemFoodAndDrink
|format=,,
|format=,,
|noresultsheader= 
|noresultsheader=
|resultsheader={{#dplvar:set|vendorformat|table}}{{VendorSaleTableStart}}
|resultsheader={{#dplvar:set|vendorformat|table}}{{VendorSaleTableStart}}
|resultsfooter={{VendorSaleTableEnd}}
|resultsfooter={{VendorSaleTableEnd}}
|include={ItemFoodAndDrink¦BarkeepItemDPL}
|include={ItemFoodAndDrink¦BarkeepItemDPL}
}}}}</includeonly>
}}}}</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.