Difference between revisions of "Template:CoAbility"
Jump to navigation
Jump to search
>Teg (Created page with "<noinclude>{{doc}}Category:Templates<!-- // Cargo Declare -->{{#cargo_declare: _table=CoAbilities |Id=String |GenericName=String |Name=String |Details=Wikitext (size=3000...") |
>Eave m (fix incorrect usage of ! and specify size for unknown icon) |
||
| (74 intermediate revisions by 6 users not shown) | |||
| Line 27: | Line 27: | ||
// Template Display Content | // Template Display Content | ||
| − | -->{| class=" | + | --><div class="panel" style="margin:auto;max-width:800px"> |
| − | + | <div class="panel-heading">{{{Name|{{PAGENAME}}}}}</div> | |
| − | + | <div class="panel-body" style="display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center"> | |
| − | + | <div style="width:350px;text-align:center">{{#ifexist: File:{{{AbilityIconName|}}}.png | [[File:{{{AbilityIconName|}}}.png]] | [[File:Unknown.png|112px|link=File:{{{AbilityIconName|}}}.png]] }}</div> | |
| − | |}</includeonly> | + | <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> | ||
| + | <div style="flex-grow:1;text-align:center"> | ||
| + | <div style="width:300px;margin:5px auto 10px;font-style:italic;font-size:.9em;">{{{Details|No details yet.}}}</div> | ||
| + | </div> | ||
| + | |||
| + | {{TermDescription|Might Value|{{{PartyPowerWeight|}}} }} | ||
| + | {{TermDescription|Generic Name|[[{{{GenericName|}}}]] }} | ||
| + | </div> | ||
| + | </div> | ||
| + | <div style="padding:1em;"> | ||
| + | <p style="margin:15px auto;border-bottom:1px solid;margin-bottom:15px;font-size:1.2em;font-variant-caps: small-caps;font-weight:bold">Adventurers with this co-ability</p> | ||
| + | {{#cargo_query:tables=Adventurers|fields=CONCAT('[[File:',Id,' 0',VariationId,' r0',Rarity,'.png|24px|link=',_pageName,']] [[',_pageName,']]')||where=IsPlayable AND (ExAbilityData1= "{{{Id|}}}" OR ExAbilityData2= "{{{Id|}}}" OR ExAbilityData3= "{{{Id|}}}" OR ExAbilityData4= "{{{Id|}}}" OR ExAbilityData5= "{{{Id|}}}")|format=ul|group by=_pageName|default= | ||
| + | :''There are no adventurers with this co-ability.''|order by= ElementalTypeId ASC, WeaponTypeId ASC, Rarity DESC, Id DESC, FullName ASC}} | ||
| + | |||
| + | |||
| + | [[Category:Co-abilities]]</includeonly> | ||