Difference between revisions of "Template:PointOfInterest"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
Line 12: | Line 12: | ||
|notes = | |notes = | ||
|notablefeatures= | |notablefeatures= | ||
|exits= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 44: | Line 45: | ||
|parameter9name= additionallocations | |parameter9name= additionallocations | ||
|parameter9description= If there are more than 1 location, enter them here using the {{Template:AdditionalLocations}} | |parameter9description= If there are more than 1 location, enter them here using the {{Template:AdditionalLocations}} | ||
|parameter10name= exits | |||
|parameter10description= Where you can exit | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Line 54: | Line 57: | ||
* {{RenderLink|{{{location}}}}}{{#if: {{{additionallocations|}}}|{{{additionallocations}}}}}</td></tr>{{#if: {{{entrance|}}}|<tr><td>'''Entrance:''' {{{entrance}}}</td></tr>}}{{#if: {{{description|}}}|<tr><td>'''Description:''' {{{description}}}</td></tr>}}{{#if: {{{notes|}}}|<tr><td>'''Notes:''' {{{notes}}}</td></tr>}}{{#if: {{{sells|}}}|<tr><td>'''Sells:''' | * {{RenderLink|{{{location}}}}}{{#if: {{{additionallocations|}}}|{{{additionallocations}}}}}</td></tr>{{#if: {{{entrance|}}}|<tr><td>'''Entrance:''' {{{entrance}}}</td></tr>}}{{#if: {{{description|}}}|<tr><td>'''Description:''' {{{description}}}</td></tr>}}{{#if: {{{notes|}}}|<tr><td>'''Notes:''' {{{notes}}}</td></tr>}}{{#if: {{{sells|}}}|<tr><td>'''Sells:''' | ||
{{{sells}}}</td></tr>}}{{#switch: {{lc:{{{type}}}}} | {{{sells}}}</td></tr>}}{{#switch: {{lc:{{{type}}}}} | ||
|area=<tr><td> | |tavern|area=<tr><td> | ||
'''Quests:''' | '''Quests:''' | ||
<div class="paragraph-body"> | <div class="paragraph-body"> | ||
{{#dplvar:set|displaystyle|Table}} | {{#dplvar:set|displaystyle|Table}} | ||
{{#DPL: | {{#ifeq: {{FULLPAGENAME}} |Template:PointOfInterest||{{#DPL: | ||
|uses=Template:Quest | |uses=Template:Quest | ||
|linksto={{ARTICLEPAGENAME}} | |linksto={{ARTICLEPAGENAME}} | ||
Line 66: | Line 69: | ||
|include={Quest¦QuestAllDPL} | |include={Quest¦QuestAllDPL} | ||
|table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Lvl,Ep,Quest,Patron,Adventure Pack, Story Arc | |table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Lvl,Ep,Quest,Patron,Adventure Pack, Story Arc | ||
}} | |||
}} | }} | ||
}}</td></tr></table></div> | }}</td></tr></table></div> |
Revision as of 14:56, 16 November 2021
{{Template:PointOfInterest |name = |type= |location = |additionallocations= |entrance= |sells= |description= |notes = |notablefeatures= |exits= }}
PointOfInterest[edit]
This template is used to render information about point of interest: Wayward Lobster.
Usage[edit]
Parameter Documentation | |
name | The name of the point of interest. |
type | What type of point is this. Possible Values:
|
location | A Public Area that this is in. Use Template:PageLink if the name is not the same as the name of the page. |
entrance | Where in the location is the entrance |
sells | What does this sell if it is a store |
description | Describe the point of interest |
notes | Any notes about this POI. |
notablefeatures | A bulleted list of features of this POI that won't automatically show up (i.e. portals, etc). |
additionallocations | If there are more than 1 location, enter them here using the |
exits | Where you can exit |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
[[Category:{{{type}}}s]][[Category:{{{type}}}s in {{{location}}}]]