Difference between revisions of "Template:FullPagePanel"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 14: Line 14:
 
<div class="row depth-1 m-0 p-0 rounded" style="font-size: 1.5rem; line-height: 1.4; border-top: none; background: rgb(255, 252, 245); overflow: auto;">{{#widget:DivWithBackImg
 
<div class="row depth-1 m-0 p-0 rounded" style="font-size: 1.5rem; line-height: 1.4; border-top: none; background: rgb(255, 252, 245); overflow: auto;">{{#widget:DivWithBackImg
 
|src={{filepath:{{PAGENAME:{{{ image | }}} }}|800}}
 
|src={{filepath:{{PAGENAME:{{{ image | }}} }}|800}}
|classes=d-none d-md-block col-md-{{#if: {{{ imagecolumns | }}} | {{{ imagecolumns | }}} | 4 }}
+
|classes=d-none d-md-block col-md-{{#ifeq: {{{ imageattop | }}} | true | 12 | {{#if: {{{ imagecolumns | }}} | {{{ imagecolumns | }}} | 4 }} }}
|imageposition={{#if: {{{ imagePosition | }}} | {{{ imagePosition | }}} | center }}
+
|imageposition={{#if: {{{ imagePosition | }}}  
 +
| {{{ imagePosition | }}}  
 +
| center  
 +
}}
 
}}
 
}}
<div class="col-12 col-md-{{#if: {{{ textcolumns | }}} | {{{ textcolumns | }}} | 8 }} {{{ classes | }}}" style="padding: 2.25rem;">{{{ description | }}}</div>
+
<div class="col-12 col-md-{{#ifeq: {{{ imageattop | }}} | true | 12 | {{#if: {{{ textcolumns | }}}  
 +
| {{{ textcolumns | }}}  
 +
| 8  
 +
}} }} {{{ classes | }}}" style="padding: 2.25rem;">{{{ description | }}}</div>
 
</div>
 
</div>
 
</div>
 
</div>

Revision as of 13:55, 24 September 2019