Template:Ability card: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
m Added label for ability link |
||
(15 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
<div style="display:flex; flex-direction:column;"> | <div style="display:flex; flex-direction:column;"> | ||
<div class="ability_details_main" style="display: flex; flex-wrap: wrap; align-items: flex-start;"> | <div class="ability_details_main" style="display: flex; flex-wrap: wrap; align-items: flex-start;"> | ||
<div class="ability_box" style="flex:0 1 | <div class="ability_box" style="flex:0 1 650px; margin-right:15px;"> | ||
<div class="abilityHeader" | <div class="abilityHeader" | ||
style="color: #ffefd7; font-weight:bold; font-size:140%; padding: 10px 10px 10px 10px; background: #121212;"> | style="color: #ffefd7; font-weight:bold; font-size:140%; padding: 10px 10px 10px 10px; background: #121212;"> | ||
<div style="display: flex; align-items: center;">{{{name}}}</div> | <div style="display: flex; align-items: center;"> {{#if:{{{name_link|}}}|[[{{{name_link}}}|{{{name}}}]]|{{{name}}}}}</div> | ||
</div> | </div> | ||
<div class="summaryInfoAndImage" style="display:inline-flex; background: #353535; width:100%"> | <div class="summaryInfoAndImage" style="display:inline-flex; background: #353535; width:100%"> | ||
Line 13: | Line 13: | ||
<div class="ability-icon" | <div class="ability-icon" | ||
style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center;"> | style="width:100%; height:100%; display:flex; flex-direction:column; justify-content:center;"> | ||
[[File:{{{name}}}.png|link=| | {{#if:{{{ability icon|}}}|[[File:{{{ability icon}}}|90x90px|middle|center|link=]]|[[File:{{{name}}}.png|link=|90x90px|middle|center]]}} | ||
</div> | </div> | ||
</div> | </div> | ||
Line 24: | Line 24: | ||
-->{{#if:{{{duration|}}}|{{Ability card/Data row|name=Duration|value={{{duration}}} }} }}<!-- | -->{{#if:{{{duration|}}}|{{Ability card/Data row|name=Duration|value={{{duration}}} }} }}<!-- | ||
-->{{#if:{{{cooldown|}}}|{{Ability card/Data row|name=Cooldown|value={{{cooldown}}} }} }}<!-- | -->{{#if:{{{cooldown|}}}|{{Ability card/Data row|name=Cooldown|value={{{cooldown}}} }} }}<!-- | ||
-->{{#if:{{{effect1|}}}|{{Ability card/ | -->{{#if:{{{effect1|}}}|{{Template:Ability card/Effect row|{{{effect1}}} }} }}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{effect2|}}}|{{Template:Ability card/Effect row|{{{effect2}}} }} }}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{effect3|}}}|{{Template:Ability card/Effect row|{{{effect3}}} }} }}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{effect4|}}}|{{Template:Ability card/Effect row|{{{effect4}}} }} }}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{effect5|}}}|{{Template:Ability card/Effect row|{{{effect5}}} }} }}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{effect6|}}}|{{Template:Ability card/Effect row|{{{effect6}}} }} }}<!-- | ||
-->{{#if:{{{effect7|}}}|{{Template:Ability card/Effect row|{{{effect7}}} }} }}<!-- | |||
-->{{#if:{{{effect8|}}}|{{Template:Ability card/Effect row|{{{effect8}}} }} }}<!-- | |||
-->{{#if:{{{effect9|}}}|{{Template:Ability card/Effect row|{{{effect9}}} }} }}<!-- | |||
-->{{#if:{{{upgrade1|}}}|{{Template:Ability card/Upgrade row|ap=1|description={{{upgrade1}}} }} }}<!-- | |||
-->{{#if:{{{upgrade2|}}}|{{Template:Ability card/Upgrade row|ap=2|description={{{upgrade2}}} }} }}<!-- | |||
-->{{#if:{{{upgrade3|}}}|{{Template:Ability card/Upgrade row|ap=5|description={{{upgrade3}}} }} }}</div></div></div></div></div> | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{doc}} | {{doc}} | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"ability_name": {}, | |||
"name": { | |||
"description": "Name of the ability (must match exactly)", | |||
"example": "Siphon Life", | |||
"type": "string" | |||
}, | |||
"ability icon": { | |||
"description": "Optional: If the ability uses another icon enter it here. Most likely for unreleased characters", | |||
"example": "Siphon Life.png", | |||
"type": "wiki-file-name" | |||
}, | |||
"description": {}, | |||
"radius": {}, | |||
"range": {}, | |||
"ability_width": {}, | |||
"duration": {}, | |||
"cooldown": {}, | |||
"effect1": {}, | |||
"effect2": {}, | |||
"effect3": {}, | |||
"effect4": {}, | |||
"effect5": {}, | |||
"effect6": {}, | |||
"effect7": {}, | |||
"effect8": {}, | |||
"effect9": {}, | |||
"upgrade1": {}, | |||
"upgrade2": {}, | |||
"upgrade3": {} | |||
} | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 15:46, 14 September 2024
Template:Doc
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ability_name | ability_name | no description | Unknown | optional |
name | name | Name of the ability (must match exactly)
| String | optional |
ability icon | ability icon | Optional: If the ability uses another icon enter it here. Most likely for unreleased characters
| File | optional |
description | description | no description | Unknown | optional |
radius | radius | no description | Unknown | optional |
range | range | no description | Unknown | optional |
ability_width | ability_width | no description | Unknown | optional |
duration | duration | no description | Unknown | optional |
cooldown | cooldown | no description | Unknown | optional |
effect1 | effect1 | no description | Unknown | optional |
effect2 | effect2 | no description | Unknown | optional |
effect3 | effect3 | no description | Unknown | optional |
effect4 | effect4 | no description | Unknown | optional |
effect5 | effect5 | no description | Unknown | optional |
effect6 | effect6 | no description | Unknown | optional |
effect7 | effect7 | no description | Unknown | optional |
effect8 | effect8 | no description | Unknown | optional |
effect9 | effect9 | no description | Unknown | optional |
upgrade1 | upgrade1 | no description | Unknown | optional |
upgrade2 | upgrade2 | no description | Unknown | optional |
upgrade3 | upgrade3 | no description | Unknown | optional |