Difference between revisions of "Template:Expansion"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|description= | |description= | ||
|purchaselink= | |purchaselink= | ||
|imagecount= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 25: | Line 26: | ||
|parameter4name = bundles | |parameter4name = bundles | ||
|parameter4description = The different bundles available. Use [[Template:ExpansionBundles]]. | |parameter4description = The different bundles available. Use [[Template:ExpansionBundles]]. | ||
|parameter5name = | |parameter5name = npccontact | ||
|parameter5description = The NPC that is used to pick up the expansion items. | |parameter5description = The NPC that is used to pick up the expansion items. | ||
|parameter6name = description | |parameter6name = description | ||
Line 31: | Line 32: | ||
|parameter7name = purchaselink | |parameter7name = purchaselink | ||
|parameter7description = The external link to ddo for someone to purchase | |parameter7description = The external link to ddo for someone to purchase | ||
|parameter8name = imagecount | |||
|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- | {{{features}}}</td></tr>}}</table> | ||
</div> | |||
<div class="visible-xs-block hidden-sm hidden-md hidden-lg"> | |||
<hr> | |||
</div> | |||
<div class="col-sm-4"> | |||
<table class="table table-striped table-condensed"> | <table class="table table-striped table-condensed"> | ||
<tr> | <tr> | ||
<td>< | <td>[[File:{{{title}}}_Splash.jpg|512px|384px|class=img-responsive|]]</td> | ||
</tr> | |||
<tr> | |||
<td>[[File:{{{title}}}_Splash2.jpg|512px|384px|class=img-responsive|]]</td> | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{#if:{{{npccontact|}}}|'''NPC:''' {{RenderLink|{{{npccontact}}}}}}}</td> | ||
{{{ | |||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><h2>Quests</h2>{{#dplvar:set|displaystyle|Table}} | <td>{{#if:{{{purchaselink|}}}|'''Purchase:''' {{RenderLink|{{{purchaselink}}}}}}}</td> | ||
</tr></table> | |||
</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: | {{#if: {{{title|}}}|{{#DPL: | ||
|uses=Template:Quest | |uses=Template:Quest | ||
Line 53: | Line 66: | ||
|include={Quest¦QuestAllDPL} | |include={Quest¦QuestAllDPL} | ||
|table = class="table table-striped table-condensed table-hover",-,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}} | }}|Undefined}}</td></tr> | ||
</td> | {{#if:{{{bundles|}}}|<tr><td><h2>Price/Bundles</h2> | ||
</tr> | {{{bundles}}}</td></tr>}}</div></div>[[Category: Expansions]] | ||
{{#if:{{{bundles|}}}| | |||
<tr> | |||
<td><h2>Price/Bundles</h2> | |||
{{{bundles}}}</td> | |||
</tr> | |||
}} | |||
</ | |||
</div> | |||
</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.