Difference between revisions of "Template:PointOfInterest"

From DDO Compendium
(Created page with "<noinclude> <pre> {{Template:PointOfInterest |name = |type= |location = |entrance= |sells= |notes = }} </pre> {{TemplateDocumentation |name = PointOfInterest |description =...")
 
Line 7: Line 7:
|entrance=
|entrance=
|sells=
|sells=
|description=
|notes =  
|notes =  
}}
}}
Line 46: Line 47:
<tr>
<tr>
<td class="item-info-side">
<td class="item-info-side">
<table class="background-color full">
<table class="background-color">
<tr>
<tr>
<td>
<td>
<table class="background-color full">
<table class="background-color">
<tr>
<tr>
<td class="title">
<td class="title">
'''{{{name}}}'''
'''{{{name}}}'''<br>[[:Category:{{{type}}}|{{{type}}}]]
</td>
</td>
</tr>
</tr>
Line 60: Line 61:
<tr>
<tr>
<td>
<td>
{{#if: {{{flavortext|}}}|''{{{flavortext}}}''<br>}}'''Race:'''&nbsp;[[Category:{{{race}}} Monster Race]][[{{{race}}}]]<br>{{#if: {{{gender|}}}|'''Gender:''' {{{gender|Unknown}}}<br>}}{{#if: {{{location1|}}}|{{#if: {{{location2|}}}{{{location3|}}}{{{location4|}}}|'''Locations:'''
'''Location:''' {{{location}}}<br>
* [[{{{location1}}}]]{{#if: {{{location2|}}}|* [[{{{location2}}}]]}}{{#if: {{{location3|}}}|* [[{{{location3}}}]]}}{{#if: {{{location4|}}}|* [[{{{location4}}}]]}}<br>|'''Location:''' [[{{{location1}}}]]<br>}}|}}<br>
'''Entrance:''' {{{entrance}}}<br>
{{#switch: {{lc:{{{purpose}}}}}
'''Description:''' {{{description}}}<br>
|quest giver = '''Occupation:''' Quest Giver
'''Sells:'''&nbsp;
| general vendor = '''Occupation:''' [[General Vendor]]
{{{sells}}}<br>
| vendor = '''Occupation:''' Vendor, {{#if: {{{sells|}}} |Sells {{{sells}}}}}
</td>
| teleportation = '''Occupation:''' Teleportation
|#default = '''Occupation:''' {{{purpose}}}}}<br>{{#if: {{{description|}}} |'''Description:''' {{{description}}}<br>}}{{#if: {{{notes|}}} |'''Notes:''' {{{notes}}}<br>}}{{#if: {{{patchhistory|}}} |'''Patch History:'''  
{{{patchhistory}}}<br>}}<br>
{{#ifeq: {{lc:{{{purpose}}}}}|quest giver|'''Quests/Story Arcs'''<br>{{#dplvar:set|displaystyle|Table}}
{{#DPL:
|category=Quests given by {{{name}}}¦Story Arcs given by {{{name}}}
|noresultsheader=None
}}}}<br></td>
</tr>
</tr>
</table>
</table>
</td>
</td>
<td class="item-image-side" ">
<td class="item-image-side" style="vertical-align:top">
<table class="item-image-table background-color" >
<table class="item-image-table background-color" >
<tr><td class="item-image-notext">[[File:{{{name}}}.png|300px|]]</td></tr>
<tr><td class="item-image">[[File:{{{name}}}.png|upright|]]</td></tr>
<tr>
<td class="extra-details">
=== NPCs ===
{{#DPL:
|category=NPC in {{{name}}}
|noresultsheader=None
|include={NPC¦BulletedNPC}
}}
</td>
</tr>
</table>
</table>
</td>
</td>
</tr>
</tr>
</table>
</table>
[[Category:Update {{{update|Unknown}}} NPC]]
[[Category:{{{type}}}]]
{{#switch: {{lc:{{{purpose}}}}}
| quest giver = {{#if: {{{location1|}}} | [[Category:{{{purpose}}} in {{{location1}}}]]}}{{#if: {{{location2|}}} | [[Category:{{{purpose}}} in {{{location2}}}]]}}{{#if: {{{location3|}}} | [[Category:{{{purpose}}} in {{{location3}}}]]}}{{#if: {{{location4|}}} | [[Category:{{{purpose}}} in {{{location4}}}]]}}
| general vendor = {{#if: {{{location1|}}} | [[Category:{{{purpose}}} in {{{location1}}}]]}}{{#if: {{{location2|}}} | [[Category:{{{purpose}}} in {{{location2}}}]]}}{{#if: {{{location3|}}} | [[Category:{{{purpose}}} in {{{location3}}}]]}}{{#if: {{{location4|}}} | [[Category:{{{purpose}}} in {{{location4}}}]]}}
| vendor = {{#if: {{{location1|}}} | [[Category:{{{purpose}}} in {{{location1}}}]]}}{{#if: {{{location2|}}} | [[Category:{{{purpose}}} in {{{location2}}}]]}}{{#if: {{{location3|}}} | [[Category:{{{purpose}}} in {{{location3}}}]]}}{{#if: {{{location4|}}} | [[Category:{{{purpose}}} in {{{location4}}}]]}}
|#default = {{#if: {{{location1|}}} | [[Category:NPC in {{{location1}}}]]}}{{#if: {{{location2|}}} | [[Category:NPC in {{{location2}}}]]}}{{#if: {{{location3|}}} | [[Category:NPC in {{{location3}}}]]}}{{#if: {{{location4|}}} | [[Category:NPC in {{{location4}}}]]}}}}

Revision as of 00:16, 23 May 2018

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

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
  • Mailbox
locationA Public Area that this is in.
entranceWhere in the location is the entrance
sellsWhat does this sell if it is a store
descriptionAny patches that have happened
notesAny notes about this NPC.

Template

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


{{{name}}}
[[:Category:{{{type}}}|{{{type}}}]]

Location: {{{location}}}
Entrance: {{{entrance}}}
Description: {{{description}}}
Sells:  {{{sells}}}

[[File:{{{name}}}.png|upright|]]

NPCs[edit]

Extension:DynamicPageList3 (DPL3), version 3.4.5: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants

[[Category:{{{type}}}]]