This site is a developmental version of Wiki Law School. To go to the production site: www.wikilawschool.org
Template:ImageCard: Difference between revisions
From wikilawschool.net. Wiki Law School does not provide legal advice. For educational purposes only.
Lost Student (talk | contribs) No edit summary |
Lost Student (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
<div class="wiki-template-imagecard" > | <div class="wiki-template-imagecard" > | ||
<!--Start image--> | <!--Start image--> | ||
[[Image:{{{image|}}}{{#if:{{{link}}}|{{!}}link={{{link}}}}}|class=image-card {{#if:{{{link}}}|fade-image}}]] | |||
<!-- 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;"> | ||
<span class="wiki-template-infocard-title" style="font-size: 1.5em; font-weight: bolder;">{{{heading|}}}</span></div> | <span class="wiki-template-infocard-title" style="font-size: 1.5em; font-weight: bolder;">{{{heading|}}}</span></div> | ||
<div class="wiki-template-infocard-content" style="position: absolute; width:90%; bottom:0px; padding:6px 5% 3px 5%; background-color:rgba({{{annot-background-color|240, 240, 240}}}, {{{opacity|0.75}}}); pointer-events: none;">{{{content}}}</div><!-- end text--> | <div class="wiki-template-infocard-content" style="position: absolute; width:90%; bottom:0px; padding:6px 5% 3px 5%; background-color:rgba({{{annot-background-color|240, 240, 240}}}, {{{opacity|0.75}}}); pointer-events: none;">{{{content}}}</div><!-- end text--> | ||
</div><!-- end imagecard wrapper --> | </div><!-- end imagecard wrapper --> |
Revision as of 01:18, June 10, 2020
[[Image:|link={{{link}}}|class=image-card fade-image]]
{{{content}}}