Template:ImageCard: Difference between revisions

From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
No edit summary
No edit summary
Line 2: Line 2:
<div class="wiki-template-imagecard" >
<div class="wiki-template-imagecard" >
<!--Start image-->
<!--Start image-->
<div {{#if:{{{link}}}|class="fade-image"}} {{#if:{{{width}}}{{{height}}}|style="{{#if:{{{width}}}|width:{{{width}}};}}{{#if:{{{height}}}|height:{{{height}}};}}"}}> [[Image:{{{image|}}}{{#if:{{{alt}}}|{{!}}alt={{{alt|}}}}}{{#if:{{{link}}}|{{!}}link={{{link}}}}}]]
<div {{#if:{{{link}}}|class="fade-image"}} style="width:100%; height:100%;"> [[Image:{{{image|}}}{{#if:{{{alt}}}|{{!}}alt={{{alt|}}}}}{{#if:{{{link}}}|{{!}}link={{{link}}}}}]]
</div><!-- end image -->
</div><!-- end image -->
<!--Start text--><div style="position: absolute; background-color:rgba({{{annot-background-color|240, 240, 240}}}, {{{opacity|0.75}}}); width:100%; text-align:center; top:0px; padding:5px 0; pointer-events: none;">
<!--Start text--><div style="position: absolute; background-color:rgba({{{annot-background-color|240, 240, 240}}}, {{{opacity|0.75}}}); width:100%; text-align:center; top:0px; padding:5px 0; pointer-events: none;">

Revision as of 00:19, June 10, 2020

[[Image:|alt=|link={{{link}}}]]

{{{content}}}