Difference between revisions of "Template:MiniTileButton"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 1: Line 1:
{{#if: {{{ wrapperClasses | }}} |<div class="{{{ wrapperClasses | }}}">|}}<div class="home-mini-tile pop-hover {{{ classes | }}}" style="width: 100%; height: {{{ height | }}};">{{#widget:OverlayLink|link={{{ link | }}}|classes=noclasses|target=_self}}
+
{{#if: {{{ wrapperClasses | }}}  
<div class="row m-0" style="height: 100%; ">{{#ifeq: {{{ imgurl | }}} | none | |
+
| <div class="{{{ wrapperClasses | }}}">
 +
|
 +
}} <div class="home-mini-tile pop-hover {{{ classes | }}}" style="width: 100%; height: {{{ height | }}};">{{#widget:OverlayLink
 +
|link={{{ link | }}}
 +
|classes=noclasses
 +
|target=_self
 +
|title={{{ label | }}}
 +
}}
 +
<div class="row m-0" style="height: 100%; ">{{#ifeq: {{{ imgurl | }}} | none | |
 
{{#widget:MiniTileBack
 
{{#widget:MiniTileBack
 
|url={{#if: {{{ imgurl | }}} | {{{ imgurl | }}} | http://commons.tsadra.org/images-commons/2/22/Pecha1.jpg }}
 
|url={{#if: {{{ imgurl | }}} | {{{ imgurl | }}} | http://commons.tsadra.org/images-commons/2/22/Pecha1.jpg }}

Revision as of 05:04, 1 July 2019