Difference between revisions of "Template:GuildAmenity"
From DDO Compendium
MNDeveloper (talk | contribs) |
MNDeveloper (talk | contribs) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
|icon= | |icon= | ||
|image= | |image= | ||
|consolidatedin= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 49: | Line 50: | ||
|parameter12name = image | |parameter12name = image | ||
|parameter12description = What image to display, if shared | |parameter12description = What image to display, if shared | ||
|parameter13name = consolidatedin | |||
|parameter13description = What amenity that this can also be found in | |||
}} | }} | ||
</noinclude> | </noinclude> | ||
Line 56: | Line 59: | ||
<tr><td><table class="table table-condensed"><tr> | <tr><td><table class="table table-condensed"><tr> | ||
<td class="col-sm-1">{{IconImage|{{{name}}}|{{{icon|}}}}}</td> | <td class="col-sm-1">{{IconImage|{{{name}}}|{{{icon|}}}}}</td> | ||
<td class="col-sm-11 center"><span class="big">{{{name}}}</span><br/>[[:Category:{{{type}}}s|{{{type}}}]]</td></tr></table></td></tr> | <td class="col-sm-11 center"><span class="big">{{{name}}}</span><br/>[[Guild Airship|Airship Amenity]]<br/>[[:Category:{{{type}}}s|{{{type}}}]]</td></tr></table></td></tr> | ||
<tr><td>'''Cost:''' {{{cost}}}<br>'''Guild Level:''' {{{guildlevel}}}{{#if: {{{upgradefrom|}}}|<br>'''Upgrade From:''' {{{upgradefrom}}}}}</td></tr>{{#if:{{{benefits|}}}{{{benefitlow|}}}{{{benefitmid|}}}{{{benefitepic|}}}| | <tr><td>'''Cost:''' {{{cost}}}<br>'''Guild Level:''' {{{guildlevel}}}{{#if: {{{upgradefrom|}}}|<br>'''Upgrade From:''' {{RenderLink|{{{upgradefrom}}}}}}}{{#if: {{{consolidatedin|}}}|<br>'''Consolidated In:''' {{RenderLink|{{{consolidatedin}}}}}}}</td></tr>{{#if: {{{benefits|}}}|<tr><td>{{#if: {{{benefitlow|}}}{{{benefitmid|}}}{{{benefitepic|}}}|'''All Character Levels:'''|'''Benefit:'''}}</td></tr><tr {{#if: {{{benefitlow|}}}{{{benefitmid|}}}{{{benefitepic|}}}|class="compendiumtableborder"}}><td> | ||
{{{benefits | {{WrapMultiLine|{{{benefits}}}}}</td></tr>}}{{#if: {{{benefitlow|}}}|<tr><td>'''Character Level 1-10:'''</td></tr><tr class="compendiumtableborder"><td> | ||
{{WrapMultiLine|{{{benefitlow}}}}}</td></tr>}}{{#if: {{{benefitmid|}}}|<tr><td>'''Character Level 11-20:'''</td></tr><tr class="compendiumtableborder><td> | |||
'' | {{WrapMultiLine|{{{benefitmid}}}}}</td></tr>}}{{#if: {{{benefitepic|}}}|<tr><td>'''Character Level 21-30:'''</td></tr><tr><td> | ||
{{{benefitlow | {{WrapMultiLine|{{{benefitepic}}}}}</td></tr>}}{{#if: {{{description|}}}|<tr><td>'''Description:''' {{{description}}}</td></tr>}}</table></div> | ||
'' | |||
{{{benefitmid | |||
'' | |||
{{ | |||
{{#if: {{{description|}}}|<tr><td>'''Description:''' {{{description}}}</td></tr>}}</table></div> | |||
<div class="visible-xs-block hidden-sm hidden-md hidden-lg"></div><div class="col-sm-6"><table class="table table-bordered table-striped table-condensed"><tr style="background: rgb(0,0,0);background: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(17,17,17,1) 1%, rgba(0,0,0,1) 100%);"><td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td></tr><tr>{{#DPL: | <div class="visible-xs-block hidden-sm hidden-md hidden-lg"></div><div class="col-sm-6"><table class="table table-bordered table-striped table-condensed"><tr style="background: rgb(0,0,0);background: radial-gradient(circle, rgba(0,0,0,1) 0%, rgba(17,17,17,1) 1%, rgba(0,0,0,1) 100%);"><td>[[File:{{#if: {{{image|}}}|{{{image}}}|{{{name}}}}}.png|center|300px|]]</td></tr><tr>{{#DPL: | ||
|linksto={{ARTICLEPAGENAME}} | |linksto={{ARTICLEPAGENAME}} |
Latest revision as of 17:42, 18 November 2021
{{Template:GuildAmenity |name = |type= |description= |benefits= |benefitlow= |benefitmid= |benefitepic= |cost= |upgradefrom= |guildlevel= |icon= |image= |consolidatedin= }}
GuildAmenity[edit]
This template is used to render information about a guild amenity. Sellswords' Tavern
Usage[edit]
Parameter Documentation | |
name | The name of the amenity |
type | What type of amenity Possible Values:
|
description | Describe the Amenity |
cost | How much does this cost |
upgradefrom | If this is an upgrade, what is it upgrading from |
guildlevel | What level the guild needs to be to purchase and use. |
icon | The icon displayed in the buff bar, if shared with other things in the compendium. |
benefits | What benefits do you get, if it doesn't change based on level |
benefitlow | What benefits do you get, if level 1-10 |
benefitmid | What benefits do you get, if level 11-20 |
benefitepic | What benefits do you get, if level 21-30 |
image | What image to display, if shared |
consolidatedin | What amenity that this can also be found in |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.