Difference between revisions of "Template:PointOfInterest"
From DDO Compendium
MNDeveloper (talk | contribs) |
m |
||
Line 43: | Line 43: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
< | <includeonly> | ||
< | <div class="row"> | ||
<div class="col-sm-6"> | |||
<table class=" | <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:''' | ||
<table class=" | {{{sells}}}<br>}}{{#switch: {{lc:{{{type}}}}} | ||
<tr> | |||
<td class=" | |||
</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:''' | |||
{{{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> | ||
</ | <div class="col-sm-6"> | ||
< | <table class="table table-bordered table-striped table-condensed"> | ||
<table class=" | <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 | <tr><td><span class="title">NPCs</span><br> | ||
<tr> | |||
<td | |||
<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> | </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 | |
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). |
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}}}]]