Difference between revisions of "Template:NPCPurposeSection"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "<noinclude> {{TemplateDocumentation |name = NPCPurposeSection |description = This template is used to internally render the sections of an NPC based on purpose |category=NPC a...") |
MNDeveloper (talk | contribs) |
||
(27 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 | ||
}} | }} | ||
</noinclude><includeonly>{{#switch: {{lc:{{{1}}}}} | </noinclude><includeonly>{{#switch: {{lc:{{{1}}}}} | ||
Line 28: | 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 37: | Line 31: | ||
|noresultsheader=None | |noresultsheader=None | ||
}} | }} | ||
}}</includeonly> | |general vendor='''General Vendor'''<br> | ||
{{#DPL: | |||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:Item{{!}}Template:Shield{{!}}Template:Weapon{{!}}Template:Armor{{!}}Template:Consumable | |||
|noresultsheader=None | |||
}} | |||
|vendor={{VendorSaleTableStart}}{{#dplvar:set|vendorformat|table}}{{#DPL: | |||
|mode=userformat | |||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:Shield | |||
|format=,, | |||
|noresultsheader= | |||
|include={Shield¦BarkeepItemDPL} | |||
}}{{#DPL: | |||
|mode=userformat | |||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:Weapon | |||
|format=,, | |||
|noresultsheader= | |||
|include={Weapon¦BarkeepItemDPL} | |||
}}{{#DPL: | |||
|mode=userformat | |||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:Armor | |||
|format=,, | |||
|noresultsheader= | |||
|include={Armor¦BarkeepItemDPL} | |||
}}{{#DPL: | |||
|mode=userformat | |||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:Consumable | |||
|format=,, | |||
|noresultsheader= | |||
|include={Consumable¦BarkeepItemDPL} | |||
}}{{#DPL: | |||
|mode=userformat | |||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:Quiver | |||
|format=,, | |||
|noresultsheader= | |||
|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 | |
purpose | What is the purpose of this NPC Possible Values:
|
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.