Difference between revisions of "Template:PublicArea"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 17: | Line 17: | ||
{{TemplateDocumentation | {{TemplateDocumentation | ||
|name = PublicArea | |name = PublicArea | ||
|description = This template is used to render information about a public | |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 | ||
Line 42: | Line 42: | ||
|parameter11name = publicareaaccess | |parameter11name = publicareaaccess | ||
|parameter11description = What other public areas you can access from this one | |parameter11description = What other public areas you can access from this one | ||
}}</noinclude> | }}</noinclude><includeonly> | ||
<div> | <div> | ||
<div class="quest"> | <div class="quest"> | ||
Line 49: | Line 49: | ||
{{#if: {{{advpack|}}}|'''Pack:''' {{RenderLink|{{{advpack}}}}}<br>|Free To Play<br>}}{{#if: {{{setting|}}}|'''Setting:''' {{RenderLink|{{{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||{{# | <div class="box inner-box"><span class="box-header">'''Wilderness Areas'''</span><br>{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl: | ||
|linksto={{ARTICLEPAGENAME}} | |linksto={{ARTICLEPAGENAME}} | ||
|uses=Template:Wilderness | |uses=Template:Wilderness | ||
|noresultsheader=None | |noresultsheader=None | ||
}}}}</div>{{#if: {{{publicareaaccess|}}}|<div class="box inner-box"><span class="box-header">'''Public Area Access'''</span> | }}}}</div>{{#if: {{{publicareaaccess|}}}|<div class="box inner-box"><span class="box-header">'''Public Area Access'''</span> | ||
{{WrapMultiLine|{{{publicareaaccess}}}}}}}</div></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||{{# | <div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl: | ||
|linksto={{ARTICLEPAGENAME}} | |linksto={{ARTICLEPAGENAME}} | ||
|uses=Template:PointOfInterest | |uses=Template:PointOfInterest | ||
Line 66: | 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||{{# | <div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl: | ||
|linksto={{ARTICLEPAGENAME}} | |linksto={{ARTICLEPAGENAME}} | ||
|uses=Template:NPC | |uses=Template:NPC | ||
Line 74: | Line 76: | ||
}}}}</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||{{# | <div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl: | ||
|linksto={{ARTICLEPAGENAME}} | |linksto={{ARTICLEPAGENAME}} | ||
|uses=Template:NPC | |uses=Template:NPC | ||
Line 82: | Line 84: | ||
}}}}</div> | }}}}</div> | ||
<div class="paragraph-header">Other Dwellers</div> | <div class="paragraph-header">Other Dwellers</div> | ||
<div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{# | <div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl: | ||
|linksto={{ARTICLEPAGENAME}} | |linksto={{ARTICLEPAGENAME}} | ||
|uses=Template:NPC | |uses=Template:NPC | ||
|category= | |category=NPCs¦Trainers¦Patrons¦Collectors¦Spirit Binders¦Pawn Brokers | ||
|noresultsheader=None | |noresultsheader=None | ||
|include={NPC¦BulletedNPC} | |include={NPC¦BulletedNPC} | ||
Line 92: | Line 94: | ||
<div class="paragraph-body"> | <div class="paragraph-body"> | ||
{{#dplvar:set|displaystyle|Table}} | {{#dplvar:set|displaystyle|Table}} | ||
{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{# | {{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl: | ||
|linksto={{ARTICLEPAGENAME}} | |linksto={{ARTICLEPAGENAME}} | ||
|uses=Template:Quest | |uses=Template:Quest | ||
Line 101: | 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 109: | 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 | |
title | The title of the public area. |
advpack | The adventure pack that in which this public area is a part. Use Template:PageLink |
update | Which update this public area is part of. |
overview | A textual overview of the public area. |
notes | Any notes about the public area. |
patchhistory | Any changes in specific patches to the wilderness. |
links | Any links to external sources. Use the template Template:ExternalLink. |
mapcount | The number of maps - default is 1, at most it is 5 |
pointsofinterest | Bulleted points of interest around the map that don't fit in other locations. |
setting | What setting is this in. |
publicareaaccess | What 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.