Difference between revisions of "Template:PublicArea"

From DDO Compendium
 
(35 intermediate revisions by 2 users not shown)
Line 12: Line 12:
|pointsofinterest=
|pointsofinterest=
|setting=
|setting=
|publicareaaccess=
}}
}}
</pre>
</pre>
{{TemplateDocumentation
{{TemplateDocumentation
|name = PublicArea
|name = PublicArea
|description = This template is used to render information about a public aread.  Example of the Template in Use: [[Korthos Village]].
|description = This template is used to render information about a public area.  Example of the Template in Use: [[Korthos Village]].
|category=Quest and Area Templates
|category=Quest and Area Templates
|usesnamedparameters = true
|usesnamedparameters = true
|parameter1name = title
|parameter1name = title
|parameter1description = The title of the public area.
|parameter1description = The title of the public area.
|parameter1values =
|parameter2name = advpack
|parameter2name = advpack
|parameter2description = The adventure pack that in which this public area is a part. Use [[Template:PageLink]]
|parameter2description = The adventure pack that in which this public area is a part. Use [[Template:PageLink]]
|parameter2values =
|parameter3name = update
|parameter3name = update
|parameter3description = Which update this public area is part of.
|parameter3description = Which update this public area is part of.
|parameter3values =
|parameter4name = overview
|parameter4name = overview
|parameter4description = A textual overview of the public area.
|parameter4description = A textual overview of the public area.
|parameter4values =
|parameter5name = notes
|parameter5name = notes
|parameter5description = Any notes about the public area.
|parameter5description = Any notes about the public area.
|parameter5values =
|parameter6name = patchhistory
|parameter6name = patchhistory
|parameter6description = Any changes in specific patches to the wilderness.
|parameter6description = Any changes in specific patches to the wilderness.
|parameter6values =
|parameter7name = links
|parameter7name = links
|parameter7description = Any links to external sources.  Use the template [[Template:ExternalLink]].
|parameter7description = Any links to external sources.  Use the template [[Template:ExternalLink]].
|parameter7values =
|parameter8name = mapcount  
|parameter8name = mapcount  
|parameter8description = The number of maps - default is 1, at most it is 5
|parameter8description = The number of maps - default is 1, at most it is 5
|parameter8values =
|parameter9name = pointsofinterest
|parameter9name = pointsofinterest
|parameter9description = Bulleted points of interest around the map that don't fit in other locations.
|parameter9description = Bulleted points of interest around the map that don't fit in other locations.
|parameter9values =
|parameter10name = setting
|parameter10name = setting
|parameter10description = What setting is this in.
|parameter10description = What setting is this in.
|parameter10values =  
|parameter11name = publicareaaccess
}}</noinclude>
|parameter11description = What other public areas you can access from this one
}}</noinclude><includeonly>
<div>
<div>
<div class="quest">
<div class="quest">
<div class="box outer-box">
<div class="box outer-box">
<div class="box inner-box">
<div class="box inner-box">
{{#if: {{{advpack|}}}|'''Pack:''' {{{advpack}}}<br>|Free To Play<br>}}{{#if: {{{setting|}}}|'''Setting:''' [[{{{setting}}}]]}}</div>
{{#if: {{{advpack|}}}|'''Pack:''' {{RenderLink|{{{advpack}}}}}<br>|Free To Play<br>}}{{#if: {{{setting|}}}|'''Setting:''' {{RenderLink|{{{setting}}}}}}}</div>
<div class="box inner-box">{{QuestMaps|{{{title}}}|{{{mapcount|1}}}}}</div>
<div class="box inner-box">{{QuestMaps|{{{title}}}|{{{mapcount|1}}}}}</div>
<div class="box inner-box"><span class="box-header">'''Wilderness Areas'''</span><br>{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#DPL:
<div class="box inner-box"><span class="box-header">'''Wilderness Areas'''</span><br>{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl:
|category=Wilderness Areas entered from {{{title}}}
|linksto={{ARTICLEPAGENAME}}
|uses=Template:Wilderness
|noresultsheader=None
|noresultsheader=None
}}}}</div>
}}}}</div>{{#if: {{{publicareaaccess|}}}|<div class="box inner-box"><span class="box-header">'''Public Area Access'''</span>
</div>
{{WrapMultiLine|{{{publicareaaccess}}}}}</div>}}{{#if:{{{links|}}}|
<div class="box inner-box"><span class="box-header">'''External Links'''</span>
{{WrapMultiLine|{{{links}}}}}</div>}}</div>
<div class="paragraph-header">Overview</div>
<div class="paragraph-header">Overview</div>
<div class="paragraph-body">{{{overview}}}</div>
<div class="paragraph-body">{{{overview}}}</div>
<div class="paragraph-header">Points of Interest</div>
<div class="paragraph-header">Points of Interest</div>
<div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#DPL:
<div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl:
|category=Points of Interest in {{{title}}}
|linksto={{ARTICLEPAGENAME}}
|uses=Template:PointOfInterest
|include={PointOfInterest¦BulletedPointsOfInterest}
|include={PointOfInterest¦BulletedPointsOfInterest}
|noresultsheader=&nbsp;
|noresultsheader=&nbsp;
Line 71: Line 68:
{{{pointsofinterest}}}}}</div>
{{{pointsofinterest}}}}}</div>
<div class="paragraph-header">Vendors</div>
<div class="paragraph-header">Vendors</div>
<div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#DPL:
<div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl:
|category=General Vendor in {{{title}}}¦Vendor in {{{title}}}
|linksto={{ARTICLEPAGENAME}}
|uses=Template:NPC
|category=General Vendors¦Vendors
|noresultsheader=None
|noresultsheader=None
|include={NPC¦BulletedNPC}
|include={NPC¦BulletedNPC}
}}}}</div>
}}}}</div>
<div class="paragraph-header">Quest/Saga Givers</div>
<div class="paragraph-header">Quest/Saga Givers</div>
<div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#DPL:
<div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl:
|category=Quest Giver in {{{title}}}¦Saga Giver in {{{title}}}¦NPC Contact in {{{title}}}
|linksto={{ARTICLEPAGENAME}}
|uses=Template:NPC
|category=Quest Givers¦Saga Givers¦NPC Contacts
|noresultsheader=None
|noresultsheader=None
|include={NPC¦BulletedNPC}
|include={NPC¦BulletedNPC}
}}}}</div>
}}}}</div>
<div class="paragraph-header">Other Dwellers</div>
<div class="paragraph-header">Other Dwellers</div>
<div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#DPL:
<div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl:
|category=NPC in {{{title}}}
|linksto={{ARTICLEPAGENAME}}
|uses=Template:NPC
|category=NPCs¦Trainers¦Patrons¦Collectors¦Spirit Binders¦Pawn Brokers
|noresultsheader=None
|noresultsheader=None
|include={NPC¦BulletedNPC}
|include={NPC¦BulletedNPC}
Line 91: Line 94:
<div class="paragraph-body">
<div class="paragraph-body">
{{#dplvar:set|displaystyle|Table}}
{{#dplvar:set|displaystyle|Table}}
{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#DPL:
{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl:
|category=Quests with Entrance in {{{title}}}¦Quests Found in {{{title}}}
|linksto={{ARTICLEPAGENAME}}
|uses=Template:Quest
|tablesortcol = 1
|tablesortcol = 1
|noresultsheader=None
|noresultsheader=None
Line 99: Line 103:
|table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Lvl,Ep,Quest,Patron,Adventure Pack,Chain
|table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Lvl,Ep,Quest,Patron,Adventure Pack,Chain
}}}}
}}}}
</div>
<div class="paragraph-header">Challenges</div>
<div class="paragraph-body">
{{#dplvar:set|displaystyle|Table}}
{{#if: {{{title|}}}|{{#DPL:
|uses=Template:Challenge
|linksto={{FULLPAGENAME}}
|tablesortcol = 1
|noresultsheader=None
|include={Challenge¦QuestAllDPL}
|table = class="table table-striped table-condensed table-hover",-,Lvl,Ep,Challenge,Patron,Adventure Pack, Story Arc
}}|Undefined}}
</div>
</div>
{{#if: {{{notes|}}}|<div class="paragraph-header">Notes</div><div class="paragraph-body">
{{#if: {{{notes|}}}|<div class="paragraph-header">Notes</div><div class="paragraph-body">
Line 107: Line 123:
</div>
</div>
{{#if: {{{update|}}} |[[Category: Update {{{update}}} Public Areas]]}}
{{#if: {{{update|}}} |[[Category: Update {{{update}}} Public Areas]]}}
{{#if: {{{advpack|}}}|[[Category:Premium Public Zones]]|[[Category:Free to Play Public Zones]]}}</includeonly>

Latest revision as of 16:37, 25 October 2022

{{Template:PublicArea
|title = 
|advpack = 
|update = 
|overview = 
|notes = 
|patchhistory = 
|links = 
|mapcount =
|pointsofinterest=
|setting=
|publicareaaccess=
}}

PublicArea[edit]

This template is used to render information about a public area. Example of the Template in Use: Korthos Village.

Usage[edit]

Parameter Documentation
titleThe title of the public area.
advpackThe adventure pack that in which this public area is a part. Use Template:PageLink
updateWhich update this public area is part of.
overviewA textual overview of the public area.
notesAny notes about the public area.
patchhistoryAny changes in specific patches to the wilderness.
linksAny links to external sources. Use the template Template:ExternalLink.
mapcountThe number of maps - default is 1, at most it is 5
pointsofinterestBulleted points of interest around the map that don't fit in other locations.
settingWhat setting is this in.
publicareaaccessWhat other public areas you can access from this one

Template

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