Difference between revisions of "Template:PointOfInterest"

From DDO Compendium
 
(13 intermediate revisions by the same user not shown)
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
|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-6">
<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="col-sm-1 center"><tr><td><span class="big">{{{name}}}</span><br/>[[:Category:{{{type}}}s|{{{type}}}]]</td></tr></table></td></tr>
<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:'''  
<tr><td>'''Location:'''  
* {{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:'''&nbsp;
* {{RenderLink|{{{location}}}}}{{#if: {{{additionallocations|}}}|{{{additionallocations}}}}}</td></tr>{{#if: {{{entrance|}}}|<tr><td>'''Entrance:''' {{{entrance}}}</td></tr>}}{{#if: {{{exits|}}}|<tr><td>'''Exits:'''
{{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:'''&nbsp;
{{{sells}}}</td></tr>}}{{#switch: {{lc:{{{type}}}}}
{{{sells}}}</td></tr>}}{{#switch: {{lc:{{{type}}}}}
|area=<tr><td>
|tavern|area=<tr><td>
<div class="paragraph-header">Quests</div>
'''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 67: Line 73:
|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
}}
}}
}}</div></td></tr></table></div>
}}
}}</td></tr></table></div>
<div class="visible-xs-block hidden-sm hidden-md hidden-lg">
<div class="visible-xs-block hidden-sm hidden-md hidden-lg">
<hr/>
<hr/>
</div>
</div>
<div class="col-sm-6">
<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|400px|]]</td></tr>
<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>
{{#ifeq:{{{mapcount|0}}}|0||
<tr>
<td>{{QuestMaps|{{{name}}}|{{{mapcount}}}}}</td>
</tr>
}}
<tr>
<tr>
{{#DPL:
{{#DPL:

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
nameThe name of the point of interest.
typeWhat type of point is this.
Possible Values:
  • Bank
  • Auction House
  • Airship Entrance
  • Shop
  • Tavern
  • 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).
additionallocationsIf there are more than 1 location, enter them here using the
exitsWhere you can exit
mapcountHow 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}}}]]