Difference between revisions of "Template:AdventurePack"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(30 intermediate revisions by 2 users not shown) | |||
Line 17: | Line 17: | ||
|name = AdventurePack | |name = AdventurePack | ||
|description = This template is used to render information about an adventure pack. Example of the Template in Use: [[The Catacombs (Pack)|The Catacombs]]. | |description = This template is used to render information about an adventure pack. Example of the Template in Use: [[The Catacombs (Pack)|The Catacombs]]. | ||
|category= Quest and Area Templates | |||
|usesnamedparameters = true | |usesnamedparameters = true | ||
|parameter1name = title | |parameter1name = title | ||
Line 27: | Line 28: | ||
|parameter3description = How much this costs in the ddo store. | |parameter3description = How much this costs in the ddo store. | ||
|parameter3values = | |parameter3values = | ||
|parameter4name = | |parameter4name = totalfavor | ||
|parameter4description = | |parameter4description = Total favor available in this adventure pack | ||
|parameter4values = | |parameter4values = | ||
|parameter5name = | |parameter5name = expansion | ||
|parameter5description = What | |parameter5description = What is the name of the expansion, if this came as part of one. Use [[Template:PageLink]] if the title of the page is different than the title in the article. | ||
|parameter5values = | |parameter5values = | ||
|parameter6name = | |parameter6name = update | ||
|parameter6description = | |parameter6description = What update was this pack introduced | ||
|parameter6values = | |parameter6values = | ||
|parameter7name = | |parameter7name = overview | ||
|parameter7description = | |parameter7description = A textual overview of the pack. | ||
|parameter7values = | |parameter7values = | ||
|parameter8name = | |parameter8name = notes | ||
|parameter8description = Any | |parameter8description = Any notes about the pack. | ||
|parameter8values = | |parameter8values = | ||
|parameter9name = | |parameter9name = patchhistory | ||
|parameter9description = Any | |parameter9description = Any changes in specific patches to the pack. | ||
|parameter9values = | |parameter9values = | ||
|parameter10name = links | |||
|parameter10description = Any links to external sources. Use the template [[Template:ExternalLink]]. | |||
|parameter10values = | |||
}}</noinclude> | }}</noinclude> | ||
<div> | <div> | ||
<div class="quest"> | <div class="quest"> | ||
<div class="box outer-box"> | <div class="box outer-box"> | ||
{{#if: {{{expansion|}}}|<div class="box inner-box">'''Expansion:''' | {{#if: {{{expansion|}}}|<div class="box inner-box">'''Expansion:''' {{RenderLink|{{{expansion}}}}}</div>}} | ||
<div class="box inner-box"> | <div class="box inner-box"> | ||
{{#if: {{{levels|}}} |'''Quest Levels:''' {{{levels}}}<br>}}{{#if: {{{ddopoints|}}} |'''DDO Points:''' {{{ddopoints}}}<br>}}{{#if: {{{totalfavor|}}} |'''Total Favor:''' {{{totalfavor}}}<br>}}</div> | {{#if: {{{levels|}}} |'''Quest Levels:''' {{{levels}}}<br>}}{{#if: {{{ddopoints|}}} |'''[[File:DDOPointsIcon.png|link=DDO Point]] DDO Points:''' {{{ddopoints}}}<br>}}{{#if: {{{totalfavor|}}} |'''Total Favor:''' {{{totalfavor}}}<br>}}{{#if: {{{update|}}} |'''Released:''' Update {{{update}}}<br>}}</div> | ||
{{#if: {{{links|}}} |<div class="box inner-box"><span class="box-header">'''External Links'''</span><br>{{{links}}}</div>}} | {{#if: {{{links|}}} |<div class="box inner-box"><span class="box-header">'''External Links'''</span><br>{{{links}}}</div>}} | ||
</div> | </div> | ||
Line 59: | Line 63: | ||
<div class="paragraph-body"> | <div class="paragraph-body"> | ||
{{#dplvar:set|displaystyle|Table}} | {{#dplvar:set|displaystyle|Table}} | ||
{{#DPL: | {{#if: {{{title|}}}|{{#DPL: | ||
|uses=Template:Quest | |uses=Template:Quest | ||
|linksto={{ | |linksto={{FULLPAGENAME}} | ||
|tablesortcol = 1 | |tablesortcol = 1 | ||
|noresultsheader=None | |noresultsheader=None | ||
|include={Quest¦QuestAllDPL} | |include={Quest¦QuestAllDPL} | ||
|table = class=" | |table = class="table table-striped table-condensed table-hover",-,Lvl,Ep,Quest,Patron,Adventure Pack, Story Arc | ||
}} | }}|Undefined}} | ||
</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 74: | Line 90: | ||
</div>}} | </div>}} | ||
</div> | </div> | ||
{{# | {{#dplvar:set|displaystyle|}} | ||
{{#ifeq: {{FULLPAGENAME}} |Template:AdventurePack||[[Category: Adventure Packs]]}} |
Latest revision as of 20:04, 1 August 2024
{{Template:AdventurePack |title = |levels= |ddopoints= |totalfavor= |expansion= |update = |overview = |notes = |patchhistory = |links = }}
AdventurePack[edit]
This template is used to render information about an adventure pack. Example of the Template in Use: The Catacombs.
Usage[edit]
Parameter Documentation | |
title | The title of the adventure pack. |
levels | The levels this pack covers. |
ddopoints | How much this costs in the ddo store. |
totalfavor | Total favor available in this adventure pack |
expansion | What is the name of the expansion, if this came as part of one. Use Template:PageLink if the title of the page is different than the title in the article. |
update | What update was this pack introduced |
overview | A textual overview of the pack. |
notes | Any notes about the pack. |
patchhistory | Any changes in specific patches to the pack. |
links | Any links to external sources. Use the template Template:ExternalLink. |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
Overview
{{{overview}}}
Quests
Undefined
Challenges
Undefined