Difference between revisions of "Template:PublicArea"
From DDO Compendium
MNDeveloper (talk | contribs) (Created page with "<noinclude> <pre> {{Template:PublicArea |title = |advpack = |update = |overview = |notes = |patchhistory = |links = |mapcount = }} </pre> {{TemplateDocumentation |name...") |
MNDeveloper (talk | contribs) |
||
(74 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
|links = | |links = | ||
|mapcount = | |mapcount = | ||
|pointsofinterest= | |||
|setting= | |||
|publicareaaccess= | |||
}} | }} | ||
</pre> | </pre> | ||
{{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 | |||
|usesnamedparameters = true | |usesnamedparameters = true | ||
|parameter1name = title | |parameter1name = title | ||
|parameter1description = The title of the public area. | |parameter1description = The title of the public area. | ||
|parameter2name = advpack | |parameter2name = advpack | ||
|parameter2description = The adventure pack that in which this public area is a part . | |parameter2description = The adventure pack that in which this public area is a part. Use [[Template:PageLink]] | ||
|parameter3name = update | |parameter3name = update | ||
|parameter3description = Which update this public area is part of. | |parameter3description = Which update this public area is part of. | ||
|parameter4name = overview | |parameter4name = overview | ||
|parameter4description = A textual overview of the public area. | |parameter4description = A textual overview of the public area. | ||
|parameter5name = notes | |parameter5name = notes | ||
|parameter5description = Any notes about the public area. | |parameter5description = Any notes about the public area. | ||
|parameter6name = patchhistory | |parameter6name = patchhistory | ||
|parameter6description = Any changes in specific patches to the wilderness. | |parameter6description = Any changes in specific patches to the wilderness. | ||
|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]]. | ||
|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 | ||
| | |parameter9name = pointsofinterest | ||
}}</noinclude> | |parameter9description = Bulleted points of interest around the map that don't fit in other locations. | ||
|parameter10name = setting | |||
|parameter10description = What setting is this in. | |||
|parameter11name = publicareaaccess | |||
|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:''' | {{#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> | <div class="box inner-box"><span class="box-header">'''Wilderness Areas'''</span><br>{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl: | ||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:Wilderness | |||
|noresultsheader=None | |||
}}}}</div>{{#if: {{{publicareaaccess|}}}|<div class="box inner-box"><span class="box-header">'''Public Area Access'''</span> | |||
{{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: | |||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:PointOfInterest | |||
|include={PointOfInterest¦BulletedPointsOfInterest} | |||
|noresultsheader= | |||
}}}}{{#if: {{{pointsofinterest|}}} |<div class="paragraph-body"> | |||
{{{pointsofinterest}}}}}</div> | |||
<div class="paragraph-header">Vendors</div> | <div class="paragraph-header">Vendors</div> | ||
<div class="paragraph-header">Quest Givers</div> | <div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl: | ||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:NPC | |||
|category=General Vendors¦Vendors | |||
|noresultsheader=None | |||
|include={NPC¦BulletedNPC} | |||
}}}}</div> | |||
<div class="paragraph-header">Quest/Saga Givers</div> | |||
<div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl: | |||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:NPC | |||
|category=Quest Givers¦Saga Givers¦NPC Contacts | |||
|noresultsheader=None | |||
|include={NPC¦BulletedNPC} | |||
}}}}</div> | |||
<div class="paragraph-header">Other Dwellers</div> | <div class="paragraph-header">Other Dwellers</div> | ||
<div class="paragraph-body">{{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl: | |||
|linksto={{ARTICLEPAGENAME}} | |||
|uses=Template:NPC | |||
|category=NPCs¦Trainers¦Patrons¦Collectors¦Spirit Binders¦Pawn Brokers | |||
|noresultsheader=None | |||
|include={NPC¦BulletedNPC} | |||
}}}}</div> | |||
<div class="paragraph-header">Quests</div> | <div class="paragraph-header">Quests</div> | ||
<div class="paragraph-body"> | <div class="paragraph-body"> | ||
{{#dplvar:set|displaystyle|Table}} | {{#dplvar:set|displaystyle|Table}} | ||
{{# | {{#ifeq: {{FULLPAGENAME}} |Template:PublicArea||{{#dpl: | ||
| | |linksto={{ARTICLEPAGENAME}} | ||
|uses=Template:Quest | |||
|tablesortcol = 1 | |tablesortcol = 1 | ||
|noresultsheader=None | |noresultsheader=None | ||
|include={Quest¦QuestAllDPL} | |include={Quest¦QuestAllDPL} | ||
| | | | ||
|table = class=" | |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 73: | 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.