Difference between revisions of "Template:Expansion"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 35: | Line 35: | ||
|parameter8description = The number of images you want to display | |parameter8description = The number of images you want to display | ||
}}</noinclude><includeonly> | }}</noinclude><includeonly> | ||
<div class="row"> | <div class="row"><div class="col-sm-8"><table class="table table-striped table-condensed"><tr><td><h2>Overview</h2>{{{description}}}</td></tr>{{#if:{{{features|}}}|<tr><td><h2>Features</h2> | ||
<div class="col-sm-8"> | {{{features}}}</td></tr>}}</table> | ||
<table class="table table-striped table-condensed"> | |||
<tr> | |||
<td><h2>Overview</h2>{{{description}}}</td> | |||
</tr> | |||
{{#if:{{{features|}}}| | |||
<tr> | |||
<td><h2>Features</h2> | |||
{{{features}}}</td> | |||
</tr> | |||
}} | |||
</table> | |||
</div> | </div> | ||
<div class="visible-xs-block hidden-sm hidden-md hidden-lg"> | <div class="visible-xs-block hidden-sm hidden-md hidden-lg"> | ||
Line 73: | Line 44: | ||
<table class="table table-striped table-condensed"> | <table class="table table-striped table-condensed"> | ||
<tr> | <tr> | ||
<td>[[File:{{{title}}} | <td>[[File:{{{title}}}_Splash.jpg|512px|384px|class=img-responsive|]]</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>[[File:{{{title}}} | <td>[[File:{{{title}}}_Splash2.jpg|512px|384px|class=img-responsive|]]</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 83: | Line 54: | ||
<tr> | <tr> | ||
<td>{{#if:{{{purchaselink|}}}|'''Purchase:''' {{RenderLink|{{{purchaselink}}}}}}}</td> | <td>{{#if:{{{purchaselink|}}}|'''Purchase:''' {{RenderLink|{{{purchaselink}}}}}}}</td> | ||
</tr> | </tr></table> | ||
</div> | </div></div> | ||
<div class="row"> | |||
<div class="col"> | |||
<table class="table table-striped table-condensed"><tr><td><h2>Quests</h2>{{#dplvar:set|displaystyle|Table}} | |||
{{#if: {{{title|}}}|{{#DPL: | |||
|uses=Template:Quest | |||
|category=Update {{{update|}}} Quests | |||
|tablesortcol = 1 | |||
|noresultsheader=None | |||
|include={Quest¦QuestAllDPL} | |||
|table = class="table table-striped table-condensed table-hover",-,Lvl,Ep,Quest,Patron,Adventure Pack, Story Arc | |||
}}|Undefined}}</td></tr> | |||
{{#if:{{{bundles|}}}|<tr><td><h2>Price/Bundles</h2> | |||
{{{bundles}}}</td></tr>}}</div></div>[[Category: Expansions]] | |||
</includeonly> | </includeonly> |
Latest revision as of 15:49, 20 June 2024
{{Template:Expansion |title = |update = |features= |bundles= |NPCContact= |description= |purchaselink= |imagecount= }}
Expansion[edit]
This template is used to render information about an expansion. Example of the Template in Use: Vecna Unleashed.
Usage[edit]
Parameter Documentation | |
title | The title of the expansion. |
update | Which update was this expansion released in. |
features | A buletted list of features that are included in the expansion |
bundles | The different bundles available. Use Template:ExpansionBundles. |
npccontact | The NPC that is used to pick up the expansion items. |
description | A description of the expansion. |
purchaselink | The external link to ddo for someone to purchase |
imagecount | The number of images you want to display |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.