Difference between revisions of "Template:MiniTileButton"

From Buddha-Nature
((by SublimeText.Mediawiker))
m (Text replacement - "images-commons" to "images")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div class="{{{ wrapperClasses | }}}">
 
<div class="{{{ wrapperClasses | }}}">
<div class="home-mini-tile pop-hover {{{ classes | }}}" style="width: 100%; height: {{{ height | }}};">{{#widget:OverlayLink
+
<div class="home-mini-tile pop-hover {{{ classes | }}}" style="width: 100%; height: {{{ height | }}};">
|link={{{ link | }}}
 
|classes=noclasses
 
|target=_self
 
|title={{{ label | }}}
 
}}
 
 
<div class="row m-0" style="height: 100%; ">{{#ifeq: {{{ imgurl | }}}  
 
<div class="row m-0" style="height: 100%; ">{{#ifeq: {{{ imgurl | }}}  
 
| none  
 
| none  
 
|  
 
|  
 
| {{#widget:MiniTileBack
 
| {{#widget:MiniTileBack
|url={{#if: {{{ imgurl | }}} | {{{ imgurl | }}} | http://commons.tsadra.org/images-commons/2/22/Pecha1.jpg }}
+
|url={{#if: {{{ imgurl | }}} | {{{ imgurl | }}} | https://commons.tsadra.org/images/thumb/2/22/Pecha1.jpg/320px-Pecha1.jpg }}
 
|backposition={{{ backposition | center }}}
 
|backposition={{{ backposition | center }}}
 
|classes=col-3
 
|classes=col-3
Line 19: Line 14:
 
<p><i class="ml-1 fas fa-angle-{{{ angle | }}}" data-fa-transform="down-2"></i></p>
 
<p><i class="ml-1 fas fa-angle-{{{ angle | }}}" data-fa-transform="down-2"></i></p>
 
</div>
 
</div>
</div>
+
</div>{{#widget:OverlayLink
 +
|link={{{ link | }}}
 +
|classes=noclasses
 +
|target=_self
 +
|title={{{ label | }}}
 +
}}
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 14:21, 1 February 2023