Difference between revisions of "Template:MiniTileButton"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
<div class="home-mini-tile pop-hover {{{ classes | }}}" style="width: 100%; height: {{{ height | }}};">{{#widget:OverlayLink|link={{{ link | }}}|classes=noclasses}}
+
<div class="{{{ wrapperClasses | }}}">
<div class="row m-0" style="height: 100%; ">
+
<div class="home-mini-tile pop-hover {{{ classes | }}}" style="width: 100%; height: {{{ height | }}};">{{#widget:OverlayLink|link={{{ link | }}}|classes=noclasses}}
{{#widget:MiniTileBack
+
<div class="row m-0" style="height: 100%; ">
|url={{#if: {{{ imgurl | }}} | {{{ imgurl | }}} | http://commons.tsadra.org/images-commons/2/22/Pecha1.jpg }}
+
{{#widget:MiniTileBack
|backposition={{{ backposition | center }}}
+
|url={{#if: {{{ imgurl | }}} | {{{ imgurl | }}} | http://commons.tsadra.org/images-commons/2/22/Pecha1.jpg }}
|classes=col-3
+
|backposition={{{ backposition | center }}}
}}
+
|classes=col-3
<div class="col-9 d-flex align-items-center {{#ifeq: {{{ ellipsis | }}} | yes | ellipsis | }}">
+
}}
{{{ label | }}}<i class="ml-1 fas fa-angle-{{{ angle | }}}" data-fa-transform="down-2"></i>
+
<div class="col-9 d-flex align-items-center {{#ifeq: {{{ ellipsis | }}} | yes | ellipsis | }}">
 +
{{{ label | }}}<i class="ml-1 fas fa-angle-{{{ angle | }}}" data-fa-transform="down-2"></i>
 +
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 23:31, 1 April 2019