Difference between revisions of "Template:HomeTile"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 2: Line 2:
 
<div class="home-tile link-no-border pop-hover over-hidden">
 
<div class="home-tile link-no-border pop-hover over-hidden">
 
<div class="{{{ backimgclass | }}}" style="padding-top: 60%; background-position: 0% 30%!important;"></div>
 
<div class="{{{ backimgclass | }}}" style="padding-top: 60%; background-position: 0% 30%!important;"></div>
<div class="px-3 pt-1 home-tile-heading">{{{ header | }}}</div>
+
<div class="px-3 pt-1 home-tile-heading">{{{ header | }}}</div>{{#if: {{{ description | }}} |
 
<div class="px-3" style="padding-bottom: 2.5rem;">
 
<div class="px-3" style="padding-bottom: 2.5rem;">
 
<div class="home-tile-text">{{{ description | }}}</div>
 
<div class="home-tile-text">{{{ description | }}}</div>
</div>
+
</div> | }}
 
<div class="px-3" style="padding-top: 1.75rem; padding-bottom: 1rem; border-top: 1px solid rgba(179, 0, 0, 1)">
 
<div class="px-3" style="padding-top: 1.75rem; padding-bottom: 1rem; border-top: 1px solid rgba(179, 0, 0, 1)">
 
<div class="bottom-label" style="left: 1rem; bottom: 1rem;">{{{ bottomleftlabel | }}}</div>
 
<div class="bottom-label" style="left: 1rem; bottom: 1rem;">{{{ bottomleftlabel | }}}</div>

Revision as of 12:24, 11 August 2020