Difference between revisions of "Template:Ability"
Jump to navigation
Jump to search
>Caledor92 |
>Eave (support for dragon ability levels 3-5) |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 35: | Line 35: | ||
--><div class="panel" style="margin:auto;max-width:800px"> | --><div class="panel" style="margin:auto;max-width:800px"> | ||
<div class="panel-heading">{{{Name|{{PAGENAME}}}}}</div> | <div class="panel-heading">{{{Name|{{PAGENAME}}}}}</div> | ||
| − | <div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center"> | + | <div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;overflow:hidden"> |
| − | <div style="width:350px;text-align:center">{{#ifexist: File:{{{AbilityIconName|}}}.png | [[File:{{{AbilityIconName|}}}.png]] | [[File:Unknown.png | + | <div style="width:350px;text-align:center;display:flex;flex-direction:column;justify-content:center">{{#ifexist: File:{{{AbilityIconName|}}}.png | [[File:{{{AbilityIconName|}}}.png]] | [[File:Unknown.png|112px|link=File:{{{AbilityIconName|}}}.png]] }}</div> |
<div class="skill-levels skill-details" style="flex-grow:1;text-align:center"> | <div class="skill-levels skill-details" style="flex-grow:1;text-align:center"> | ||
<p style="width:300px;margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Description</p> | <p style="width:300px;margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Description</p> | ||
| Line 58: | Line 58: | ||
<p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Dragons with this ability</p> | <p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Dragons with this ability</p> | ||
| − | {{#cargo_query:tables=Dragons|fields=CONCAT('[[File:',BaseId,' 0',VariationId,'.png|24px|link=',_pageName,']] [[',_pageName,']]')|where=Abilities11= "{{{Id|}}}" OR Abilities12= "{{{Id|}}}" OR Abilities21= "{{{Id|}}}" OR Abilities22= "{{{Id|}}}"|format=ul|group by=_pageName|default= | + | {{#cargo_query:tables=Dragons|fields=CONCAT('[[File:',BaseId,' 0',VariationId,'.png|24px|link=',_pageName,']] [[',_pageName,']]')|where=Abilities11="{{{Id|}}}" OR Abilities12="{{{Id|}}}" OR Abilities13="{{{Id|}}}" OR Abilities14="{{{Id|}}}" OR Abilities15="{{{Id|}}}" OR Abilities21="{{{Id|}}}" OR Abilities22="{{{Id|}}}" OR Abilities23="{{{Id|}}}" OR Abilities24="{{{Id|}}}" OR Abilities25="{{{Id|}}}"|format=ul|group by=_pageName|default= |
:''There are no dragons with this ability.''|order by= ElementalTypeId ASC, Rarity DESC, Id DESC, FullName ASC}} | :''There are no dragons with this ability.''|order by= ElementalTypeId ASC, Rarity DESC, Id DESC, FullName ASC}} | ||