Difference between revisions of "Template:GuildAmenity"

From DDO Compendium
 
(16 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>'''Benefits:'''&nbsp;}}{{#if:{{{benefits|}}}|
<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|}}}}}{{#if:{{{benefitlow|}}}|''If level 1-10:''&nbsp;
{{WrapMultiLine|{{{benefits}}}}}</td></tr>}}{{#if: {{{benefitlow|}}}|<tr><td>'''Character Level 1-10:'''</td></tr><tr class="compendiumtableborder"><td>
{{{benefitlow|}}}}}{{#if:{{{benefitmid|}}}|''If level 11-20:''&nbsp;
{{WrapMultiLine|{{{benefitlow}}}}}</td></tr>}}{{#if: {{{benefitmid|}}}|<tr><td>'''Character Level 11-20:'''</td></tr><tr class="compendiumtableborder><td>
{{{benefitmid|}}}}}{{#if:{{{benefitepic|}}}|''If level 11-30:''&nbsp;
{{WrapMultiLine|{{{benefitmid}}}}}</td></tr>}}{{#if: {{{benefitepic|}}}|<tr><td>'''Character Level 21-30:'''</td></tr><tr><td>
{{{benefitepic|}}}}}{{#if:{{{benefits|}}}{{{benefitlow|}}}{{{benefitmid|}}}{{{benefitepic|}}}|</td></tr>}}
{{WrapMultiLine|{{{benefitepic}}}}}</td></tr>}}{{#if: {{{description|}}}|<tr><td>'''Description:''' {{{description}}}</td></tr>}}</table></div>
{{#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">
<hr/>
</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}}
|uses=Template:NPC
|uses=Template:NPC
|noresultsheader=&nbsp;
|noresultsheader=<span></span>
|resultsheader=<td><span class="title">NPCs</span><br>
|resultsheader=<td><span class="title">NPCs</span><br>
|resultsfooter=</td></tr>
|resultsfooter=</td></tr>
|include={NPC¦BulletedNPC}
|include={NPC¦BulletedNPC}
}}
}}
</table>
</table></div></div></includeonly>{{#ifeq: {{FULLPAGENAME}} |Template:GuildAmenity||[[Category:{{{type}}}s]][[Category: Guild Airship]]}}
</div>
</div>
</includeonly>{{#ifeq: {{FULLPAGENAME}} |Template:GuildAmenity||[[Category:{{{type}}}s]][[Category: Guild Airship]]}}

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
nameThe name of the amenity
typeWhat type of amenity
Possible Values:
  • Hold Room
  • State Room
descriptionDescribe the Amenity
costHow much does this cost
upgradefromIf this is an upgrade, what is it upgrading from
guildlevelWhat level the guild needs to be to purchase and use.
iconThe icon displayed in the buff bar, if shared with other things in the compendium.
benefitsWhat benefits do you get, if it doesn't change based on level
benefitlowWhat benefits do you get, if level 1-10
benefitmidWhat benefits do you get, if level 11-20
benefitepicWhat benefits do you get, if level 21-30
imageWhat image to display, if shared
consolidatedinWhat 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.