Difference between revisions of "Template:PointOfInterest"
From DDO Compendium
m |
MNDeveloper (talk | contribs) |
||
(21 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|type= | |type= | ||
|location = | |location = | ||
|additionallocations= | |||
|entrance= | |entrance= | ||
|sells= | |sells= | ||
Line 11: | Line 12: | ||
|notes = | |notes = | ||
|notablefeatures= | |notablefeatures= | ||
|exits= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 41: | Line 43: | ||
|parameter8name = notablefeatures | |parameter8name = notablefeatures | ||
|parameter8description = A bulleted list of features of this POI that won't automatically show up (i.e. portals, etc). | |parameter8description = A bulleted list of features of this POI that won't automatically show up (i.e. portals, etc). | ||
|parameter9name= additionallocations | |||
|parameter9description= If there are more than 1 location, enter them here using the {{Template:AdditionalLocations}} | |||
|parameter10name= exits | |||
|parameter10description= Where you can exit | |||
|parameter11name= mapcount | |||
|parameter11description= How many maps for this POI, default is 0 | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<div class="row"> | <div class="row"> | ||
<div class="col-sm- | <div class="col-sm-8"> | ||
<table class="table table-bordered table-striped table-condensed"> | <table class="table table-bordered table-striped table-condensed"> | ||
<tr><td><table class=" | <tr><td><table class="center"><tr><td><span class="big">{{{name}}}</span><br/>[[:Category:{{{type}}}s|{{{type}}}]]</td></tr></table></td></tr> | ||
<tr><td>'''Location:''' {{RenderLink|{{{location}}}}}< | <tr><td>'''Location:''' | ||
{{{sells}}}< | * {{RenderLink|{{{location}}}}}{{#if: {{{additionallocations|}}}|{{{additionallocations}}}}}</td></tr>{{#if: {{{entrance|}}}|<tr><td>'''Entrance:''' {{{entrance}}}</td></tr>}}{{#if: {{{exits|}}}|<tr><td>'''Exits:''' | ||
|area= | {{WrapMultiLine|{{{exits}}}}}</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}}}}} | ||
|tavern|area=<tr><td> | |||
'''Quests:''' | |||
<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 61: | Line 72: | ||
|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> | ||
Line 66: | Line 78: | ||
<hr/> | <hr/> | ||
</div> | </div> | ||
<div class="col-sm- | <div class="col-sm-4"> | ||
<table class="table table-bordered table-striped table-condensed"> | <table class="table table-bordered table-striped table-condensed"> | ||
<tr style="background: rgb(0,0,0);background: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(17,17,17,1) 1%, rgba(0,0,0,1) 100%);"><td>[[File:{{{name}}}.png|center| | <tr style="background: rgb(0,0,0);background: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(17,17,17,1) 1%, rgba(0,0,0,1) 100%);"><td>[[File:{{{name}}}.png|center|350px|]]</td></tr> | ||
<tr><td>< | {{#ifeq:{{{mapcount|0}}}|0|| | ||
<tr> | |||
<td>{{QuestMaps|{{{name}}}|{{{mapcount}}}}}</td> | |||
</tr> | |||
}} | |||
<tr> | |||
{{#DPL: | {{#DPL: | ||
|linksto={{ARTICLEPAGENAME}} | |linksto={{ARTICLEPAGENAME}} | ||
|uses=Template:NPC | |uses=Template:NPC | ||
|noresultsheader= | |noresultsheader= | ||
|resultsheader=<td><span class="title">NPCs</span><br> | |||
|resultsfooter=</td></tr> | |||
|include={NPC¦BulletedNPC} | |include={NPC¦BulletedNPC} | ||
}} | }} | ||
{{#if: {{{notablefeatures|}}}| | {{#if: {{{notablefeatures|}}}| | ||
<tr><td class="extra-details"><span class="title">Notable Features</span>{{WrapMultiLine|{{{notablefeatures}}}}}</td></tr>}} | <tr><td class="extra-details"><span class="title">Notable Features</span>{{WrapMultiLine|{{{notablefeatures}}}}}</td></tr>}} |
Latest revision as of 17:06, 22 November 2023
{{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 |
mapcount | How many maps for this POI, default is 0 |
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}}}]]