Difference between revisions of "Template:PointOfInterest"

From DDO Compendium
m
Line 43: Line 43:
}}
}}
</noinclude>
</noinclude>
<table class="item-table background-color">
<includeonly>
<tr>
<div class="row">
<td class="item-info-side">
<div class="col-sm-6">
<table class="background-color item-info-full">
<table class="table table-bordered table-striped table-condensed">
<tr>
<tr><td><table class="col-sm-1 center"><tr><td><span class="big">{{{name}}}</span>[[:Category:{{{type}}}|{{{type}}}]]</td></tr></table></td></tr>
<td>
<tr><td>'''Location:''' {{RenderLink|{{{location}}}}}<br>{{#if: {{{entrance|}}}|'''Entrance:''' {{{entrance}}}<br><br>}}{{#if: {{{description|}}}|'''Description:''' {{{description}}}<br><br>}}{{#if: {{{notes|}}}|'''Notes:''' {{{notes}}}<br><br>}}{{#if: {{{sells|}}}|'''Sells:'''&nbsp;
<table class="background-color item-info-full">
{{{sells}}}<br>}}{{#switch: {{lc:{{{type}}}}}
<tr>
<td class="title">
'''{{{name}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]]
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
'''Location:''' {{RenderLink|{{{location}}}}}<br>{{#if: {{{entrance|}}}|'''Entrance:''' {{{entrance}}}<br><br>}}{{#if: {{{description|}}}|'''Description:''' {{{description}}}<br><br>}}{{#if: {{{notes|}}}|'''Notes:''' {{{notes}}}<br><br>}}{{#if: {{{sells|}}}|'''Sells:'''&nbsp;
{{{sells}}}<br>}}
{{#switch: {{lc:{{{type}}}}}
|area=</td></tr><tr><td>
|area=</td></tr><tr><td>
<span class="title">Quests</span><br>
<span class="title">Quests</span><br>
Line 74: Line 61:
|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>
<div class="visible-xs-block hidden-sm hidden-md hidden-lg">
</tr>
<hr/>
</table>
</div>
</td>
<div class="col-sm-6">
<td class="item-image-side" style="vertical-align:top">
<table class="table table-bordered table-striped table-condensed">
<table class="item-image-table background-color" >
<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|upright|]]</td></tr>
<tr><td class="item-image">[[File:{{{name}}}.png|upright|]]</td></tr>
<tr><td><span class="title">NPCs</span><br>
<tr>
<td class="extra-details">
<span class="title">NPCs</span><br>
{{#DPL:
{{#DPL:
|linksto={{ARTICLEPAGENAME}}
|linksto={{ARTICLEPAGENAME}}
Line 90: Line 74:
|noresultsheader=None
|noresultsheader=None
|include={NPC¦BulletedNPC}
|include={NPC¦BulletedNPC}
}}
}}</td></tr>
</td>
{{#if: {{{notablefeatures|}}}|
</tr>
<tr><td class="extra-details"><span class="title">Notable Features</span><br>{{{notablefeatures}}}</td></tr>}}
{{#if: {{{notablefeatures|}}}|<tr><td class="extra-details"><span class="title">Notable Features</span><br>
{{{notablefeatures}}}</td></tr>}}
</table>
</td>
</tr>
</table>
</table>
</div>
</div>
</includeonly>
[[Category:{{{type}}}]][[Category: Points of Interest in {{{location}}}]]
[[Category:{{{type}}}]][[Category: Points of Interest in {{{location}}}]]

Revision as of 11:21, 13 March 2020


{{Template:PointOfInterest
|name = 
|type=
|location = 
|entrance=
|sells=
|description=
|notes = 
|notablefeatures=
}}

PointOfInterest[edit]

This template is used to render information about point of interest: Wayward Lobster.

Usage[edit]

Parameter Documentation
nameThe name of the point of interest.
typeWhat type of point is this.
Possible Values:
  • Bank
  • Auction House
  • Airship Entrance
  • Shop
  • Inn
  • Area
locationA Public Area that this is in. Use Template:PageLink if the name is not the same as the name of the page.
entranceWhere in the location is the entrance
sellsWhat does this sell if it is a store
descriptionDescribe the point of interest
notesAny notes about this POI.
notablefeaturesA bulleted list of features of this POI that won't automatically show up (i.e. portals, etc).

Template

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



[[Category:{{{type}}}]][[Category: Points of Interest in {{{location}}}]]