Template:PowerBox: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
m (Added Link override, tidied.)
m (override blockquote border and padding in Vector skin)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="margin: 0.5em;">
<div role="figure" aria-labelledby="{{anchorencode:{{{Name}}}}}" style="position: relative; margin: 0.5em; border: 1px solid #AAAAAA; padding: 0 1em 0 48px; max-width: 70ch; background-color: #F4F4F4;">
{| width="100%" style="background-color: #F4F4F4; border: 1px solid #AAAAAA;"
<div style="position: absolute; left: 8px; top: 10px;">[[File:{{{Icon}}}|link=|alt=Power]]</div>
| style="vertical-align: top; padding: 0.25em;" | [[Image:{{{Icon}}}]]
<div id="{{anchorencode:{{{Name}}}}}" style="margin: 1em 0; font-weight: bold;">{{#if:{{{Nolink|}}}|{{{Name}}}|{{#if:{{{Link|}}}|[[{{{Link}}}{{!}}{{{Name}}}]]|{{linkifexists|{{{Name}}}}}}}}}</div>
| style="width:100%; padding: 0.25em;" | '''{{#if:{{{Link|}}}|[[{{{Link}}}{{!}}{{{Name}}}]]|{{linkifexists|{{{Name}}}}}}}''' {{{Effect}}}<br />{{{Desc}}}
<blockquote style="margin: 1em 0; border: 0; padding: 0;">
|}</div><noinclude>
{{{Effect}}}
 
{{{Desc}}}
</blockquote>
</div><noinclude>


[[Category:Powers Templates]]</noinclude>
[[Category:Powers Templates]]</noinclude>

Latest revision as of 09:53, 17 October 2022

[[File:{{{Icon}}}|link=|alt=Power]]
{{{Name}}}

{{{Effect}}}

{{{Desc}}}