Difference between revisions of "Template:AdventurePack"

From DDO Compendium
 
(21 intermediate revisions by 2 users not shown)
Line 32: Line 32:
|parameter4values =  
|parameter4values =  
|parameter5name = expansion
|parameter5name = expansion
|parameter5description = What is the name of the expansion, if this came as part of one.
|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 = update
|parameter6name = update
Line 38: Line 38:
|parameter6values =  
|parameter6values =  
|parameter7name = overview
|parameter7name = overview
|parameter7description = A textual overview of the arc.
|parameter7description = A textual overview of the pack.
|parameter7values =  
|parameter7values =  
|parameter8name = notes
|parameter8name = notes
|parameter8description = Any notes about the arc.
|parameter8description = Any notes about the pack.
|parameter8values =  
|parameter8values =  
|parameter9name = patchhistory
|parameter9name = patchhistory
|parameter9description = Any changes in specific patches to the arc.
|parameter9description = Any changes in specific patches to the pack.
|parameter9values =  
|parameter9values =  
|parameter10name = links
|parameter10name = links
Line 53: Line 53:
<div class="quest">
<div class="quest">
<div class="box outer-box">
<div class="box outer-box">
{{#if: {{{expansion|}}}|<div class="box inner-box">'''Expansion:''' [[{{{expansion}}}]]</div>}}
{{#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|}}} |'''[[File:DDOPointsIcon.png|link=DDO Points]] 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 63: 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={{{title|}}}
|linksto={{FULLPAGENAME}}
|tablesortcol = 1
|tablesortcol = 1
|noresultsheader=None
|noresultsheader=None
|include={Quest¦QuestAllDPL}
|include={Quest¦QuestAllDPL}
|table = class="compendiumtable compendiumtablenonsortable fullwidth",-,Lvl,Ep,Quest,Patron,Adventure Pack, Story Arc
|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 78: Line 90:
</div>}}
</div>}}
</div>
</div>
{{#if: {{{update|}}} |[[Category: Update {{{update}}} Adventure Packs]]}}
{{#ifeq: {{FULLPAGENAME}} |Template:AdventurePack||[[Category: Adventure Packs]]}}

Latest revision as of 16:28, 4 February 2022

{{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
titleThe title of the adventure pack.
levelsThe levels this pack covers.
ddopointsHow much this costs in the ddo store.
totalfavorTotal favor available in this adventure pack
expansionWhat 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.
updateWhat update was this pack introduced
overviewA textual overview of the pack.
notesAny notes about the pack.
patchhistoryAny changes in specific patches to the pack.
linksAny 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