Difference between revisions of "Template:GuildAmenity"

From DDO Compendium
 
(21 intermediate revisions by the same user not shown)
Line 6: Line 6:
|type=
|type=
|description=
|description=
|benefits=
|benefitlow=
|benefitmid=
|benefitepic=
|cost=
|cost=
|upgradefrom=
|upgradefrom=
|guildlevel=
|guildlevel=
|icon=
|image=
|consolidatedin=
}}
}}
</pre>
</pre>
Line 31: Line 38:
|parameter6name = guildlevel
|parameter6name = guildlevel
|parameter6description = What level the guild needs to be to purchase and use.
|parameter6description = What level the guild needs to be to purchase and use.
|parameter7name = icon
|parameter7description = The icon displayed in the buff bar, if shared with other things in the compendium.
|parameter8name = benefits
|parameter8description = What benefits do you get, if it doesn't change based on level
|parameter9name = benefitlow
|parameter9description = What benefits do you get, if level 1-10
|parameter10name = benefitmid
|parameter10description = What benefits do you get, if level 11-20
|parameter11name = benefitepic
|parameter11description = What benefits do you get, if level 21-30
|parameter12name = image
|parameter12description = What image to display, if shared
|parameter13name = consolidatedin
|parameter13description = What amenity that this can also be found in
}}
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly><div class="row">
<div class="row">
<div class="col-sm-6">
<div class="col-sm-6">
<table class="table table-bordered table-striped table-condensed">
<table class="table table-bordered table-striped table-condensed">
<tr><td><table class="col-sm-1 center"><tr><td><span class="big">{{{name}}}</span><br/>[[:Category:{{{type}}}s|{{{type}}}]]</td></tr></table></td></tr>
<tr><td><table class="table table-condensed"><tr>
<tr><td>'''Cost:''' {{{cost}}}<br>'''Guild Level:''' {{{guildlevel}}}{{#if: {{{upgradefrom|}}}|<br>'''Upgrade From:''' {{{upgradefrom}}}}}</td></tr>
<td class="col-sm-1">{{IconImage|{{{name}}}|{{{icon|}}}}}</td>
{{#if: {{{description|}}}|<tr><td>'''Description:''' {{{description}}}</td></tr>}}</table></div>
<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>
<div class="visible-xs-block hidden-sm hidden-md hidden-lg">
<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>
<hr/>
{{WrapMultiLine|{{{benefits}}}}}</td></tr>}}{{#if: {{{benefitlow|}}}|<tr><td>'''Character Level 1-10:'''</td></tr><tr class="compendiumtableborder"><td>
</div>
{{WrapMultiLine|{{{benefitlow}}}}}</td></tr>}}{{#if: {{{benefitmid|}}}|<tr><td>'''Character Level 11-20:'''</td></tr><tr class="compendiumtableborder><td>
<div class="col-sm-6">
{{WrapMultiLine|{{{benefitmid}}}}}</td></tr>}}{{#if: {{{benefitepic|}}}|<tr><td>'''Character Level 21-30:'''</td></tr><tr><td>
<table class="table table-bordered table-striped table-condensed">
{{WrapMultiLine|{{{benefitepic}}}}}</td></tr>}}{{#if: {{{description|}}}|<tr><td>'''Description:''' {{{description}}}</td></tr>}}</table></div>
<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:{{{name}}}.png|center|400px|]]</td></tr>
<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:
<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>
[[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.