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 1: Line 1:
<!--Start imagecard wrapper-->
<!--Start imagecard wrapper-->
<div class="wiki-template-imagecard {{#if:{{{class|}}}|{{{class}}}}} style="width:{{{width|300}}}px; height:{{{height}}}px;">
<div class="wiki-template-imagecard {{#if:{{{class|}}}|{{{class}}}}}>
<!--Start image wrapper--><div style="position:relative; overflow:hidden;">
<!--Start image wrapper--><div style="position:relative; overflow:hidden;">
<!--Start image-->
<!--Start image-->
<div> [[Image:{{{image}}}|alt={{{alt|}}}{{#if:{{{link|}}}|{{!}}link={{{link|}}} }} ]]
<div> [[Image:{{{image}}}{{#if:{{{alt}}}|{{!}}alt={{{alt}}}}}{{#if:{{{link}}}|{{!}}link={{{link}}} }} ]]
</div> <!-- end image --><!--Start text--><div style="background-color:{{{annot-background-color|transparent}}};">
</div> <!-- end image --><!--Start text--><div style="position: absolute; background-color:{{{annot-background-color|240, 240, 240}}}, {{{opacity|0.75}}}; width:100%; text-align:center; top:0px; padding:5px 0; pointer-events: none;">
<h3 class="wiki-template-infocard-title">{{{heading}}}</h3>
<h3 class="wiki-template-infocard-title">{{{heading}}}</h3></div
<div style="clear: both;"></div>
<div style="clear: both;"></div>
<div class="wiki-template-infocard-content">{{{content}}}</div><!-- end text-->
<div class="wiki-template-infocard-content" style="position: absolute; width:90%; bottom:0px; padding:6px 5% 3px 5%; background-color:{{{annot-background-color|240, 240, 240}}}, {{{opacity|0.75}}}; pointer-events: none;">{{{content}}}</div><!-- end text-->
</div>
</div>
</div>
</div><!-- end imagecard wrapper -->
</div><!-- end imagecard wrapper -->

Revision as of 02:23, June 9, 2020

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

{{{heading}}}

</div
{{{content}}}