Difference between revisions of "Template:MiniTileButton"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
Line 8: | Line 8: | ||
|title={{{ label | }}} | |title={{{ label | }}} | ||
}} | }} | ||
− | <div class="row m-0" style="height: 100%; ">{{#ifeq: {{{ imgurl | }}} | none | + | <div class="row m-0" style="height: 100%; ">{{#ifeq: {{{ imgurl | }}} |
− | {{#widget:MiniTileBack | + | | none |
+ | | | ||
+ | | {{#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 }} | ||
|backposition={{{ backposition | center }}} | |backposition={{{ backposition | center }}} | ||
|classes=col-3 | |classes=col-3 | ||
− | }} }} | + | }} |
− | + | }} | |
− | + | <div class="{{#ifeq: {{{ imgurl | }}} | none | col | 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>{{#if: {{{ wrapperClasses | }}} |</div>|}} | + | </div> |
+ | </div>{{#if: {{{ wrapperClasses | }}} | ||
+ | |</div> | ||
+ | | | ||
+ | }} |