Difference between revisions of "Template:PointOfInterest"

From DDO Compendium
 
(29 intermediate revisions by 2 users 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 27: Line 29:
* Airship Entrance
* Airship Entrance
* Shop
* Shop
* Inn
* Tavern
* Area
* Area
|parameter3name = location
|parameter3name = location
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-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}}}|{{{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:''' {{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;
<tr><td>'''Location:'''  
{{{sells}}}<br>}}{{#switch: {{lc:{{{type}}}}}
* {{RenderLink|{{{location}}}}}{{#if: {{{additionallocations|}}}|{{{additionallocations}}}}}</td></tr>{{#if: {{{entrance|}}}|<tr><td>'''Entrance:''' {{{entrance}}}</td></tr>}}{{#if: {{{exits|}}}|<tr><td>'''Exits:'''
|area=</td></tr><tr><td>
{{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;
<span class="title">Quests</span><br>
{{{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}}
|notcategory=Historic
|tablesortcol = 1
|tablesortcol = 1
|noresultsheader=None
|noresultsheader=None
|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 65: Line 78:
<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>
<tr><td><span class="title">NPCs</span><br>
{{#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=None
|noresultsheader=&nbsp;
|resultsheader=<td><span class="title">NPCs</span><br>
|resultsfooter=</td></tr>
|include={NPC¦BulletedNPC}
|include={NPC¦BulletedNPC}
}}</td></tr>
}}
{{#if: {{{notablefeatures|}}}|
{{#if: {{{notablefeatures|}}}|
<tr><td class="extra-details"><span class="title">Notable Features</span><br>{{{notablefeatures}}}</td></tr>}}
<tr><td class="extra-details"><span class="title">Notable Features</span>{{WrapMultiLine|{{{notablefeatures}}}}}</td></tr>}}
</table>
</table>
</div>
</div>
</div>
</div>
</includeonly>
</includeonly>
[[Category:{{{type}}}]][[Category: Points of Interest in {{{location}}}]]
[[Category:{{{type}}}s]][[Category:{{{type}}}s in {{{location}}}]]

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}}}]]