Template: InfoboxAbility

From Steambirds Alliance Wiki
Jump to: navigation, search
(Initial creation of Template:InfoboxAbility (for pages covering abilities associated with secondary items))
 
(replaced old template with my own new version)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div style="float:right;position:relative;padding-left: 15px;border-color: rgba(0,0,0,0);">
+
{| style="width: 250px; float: right; margin-left:auto; margin-right: auto; text-align: center; background-color: #111013; border: 1px #1a181d solid;"
{| class="table infobox" style="background:#703d27;border-radius:15px"
 
! colspan="2" style="font-size:150%; padding:10px;border-color: rgba(0,0,0,0);" | <center>{{{name|{{PAGENAME}}}}}</center>
 
 
|-
 
|-
! colspan="2" | <center>[[File:{{{image}}}|{{{size|300px}}}]]</center>
+
| colspan="4" align="center"  style="font-size:125%; height: 50px; border: 1px #1a181d solid;" bgcolor=#703d27 | '''{{{name|{{PAGENAME}}}}}'''
 
|-
 
|-
! Used By
+
{{#if: {{{image|}}} | {{!}} colspan="4" style="height: 200px;" {{!}} [[Image:{{{image}}}|{{{size|150px}}}|center]] }}
| {{{class}}}
 
 
|-
 
|-
! Effect Type
+
{{#if: {{{class|}}}|
| {{{effect}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Used By'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{class}}} }}
 
|-
 
|-
! Steam Cost
+
{{#if: {{{effect|}}}|
| {{{cost}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Effect Type'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{effect}}} }}
 
|-
 
|-
! Duration
+
{{#if: {{{cost|}}}|
| {{{duration}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Steam Cost'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{cost}}} }}
 +
|-
 +
{{#if: {{{duration|}}}|
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Duration'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{duration}}} }}
 +
|-
 +
{{#if: {{{cooldown|}}}|
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Cooldown'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{cooldown}}} }}
 
|-
 
|-
! Cooldown
 
| {{{cooldown}}}
 
 
|}
 
|}
</div>
 
 
[[Category:Secondary Abilities]]
 
[[Category:Secondary Abilities]]
 
</includeonly>
 
</includeonly>

Revision as of 15:48, 30 May 2019


Insert

{{InfoboxAbility
|name = Aura of Defense
|image = A2.png (put a representative image for the ability's effect here)
|size = 150px
|class = [[Shieldmaiden]]
|effect = Cloud (recommended inputs: Cloud, Bullet, Vortex [Merlin/Siege Tank? abilities], Spawn)
|cost = 70 (for cost/duration/cooldown changing with item tier, specify minimum and maximum values)
|duration = 11.5-21.5 seconds
|cooldown = 13 seconds
}}

to get

Aura of Defense
A2.png
Used By Shieldmaiden
Effect Type Cloud
Steam Cost 70
Duration 11.5-21.5 seconds
Cooldown 13 seconds