Template:PowerBox: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
m (Added Link override, tidied.)
(rewrite in html5 blockquote style, limit line length for widescreen readability)
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=]]</div>
| style="vertical-align: top; padding: 0.25em;" | [[Image:{{{Icon}}}]]
<div style="margin: 1em 0;"><span id="{{anchorencode:{{{Name}}}}}" style="font-weight: bold;">{{#if:{{{Link|}}}|[[{{{Link}}}{{!}}{{{Name}}}]]|{{linkifexists|{{{Name}}}}}}}</span> {{{Effect}}}</div>
| style="width:100%; padding: 0.25em;" | '''{{#if:{{{Link|}}}|[[{{{Link}}}{{!}}{{{Name}}}]]|{{linkifexists|{{{Name}}}}}}}''' {{{Effect}}}<br />{{{Desc}}}
<blockquote style="margin: 0;">
|}</div><noinclude>
{{{Desc}}}
</blockquote>
</div><noinclude>


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

Revision as of 13:12, 20 March 2022

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

{{{Desc}}}