Difference between revisions of "Template:FullPagePanel"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="fullpage">{{#addbodyclass:fullpage-panel no-first-heading}}
+
<div class="fullpage">{{#addbodyclass:fullpage-panel no-first-heading}}{{#set:
 +
|TileDescription={{{ description | }}}
 +
|PageTilePhoto={{PAGENAME:{{{ image | }}} }}
 +
}}
 
<div><noglossary>
 
<div><noglossary>
 
<div class="h1 large animated fadeIn speed-2s mb-1 pb-1">{{{ title | }}}</div>{{#if: {{{ subtitle | }}} |
 
<div class="h1 large animated fadeIn speed-2s mb-1 pb-1">{{{ title | }}}</div>{{#if: {{{ subtitle | }}} |
Line 13: Line 16:
 
}} p-0">
 
}} p-0">
 
<div class="row depth-1 m-3 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-3 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={{#ifeq: {{{ imageattop | }}}
+
|src={{filepath:{{PAGENAME:{{{ image | }}} }}|1000}}
| true
 
| {{filepath:{{PAGENAME:{{{ image | }}} }}|1000}}
 
| {{filepath:{{PAGENAME:{{{ image | }}} }}|500}}
 
}}
 
 
|classes=d-none d-md-block col-md-{{#ifeq: {{{ imageattop | }}} | true | 12 div-220px | {{#if: {{{ imagecolumns | }}} | {{{ imagecolumns | }}} | 4 }} }}
 
|classes=d-none d-md-block col-md-{{#ifeq: {{{ imageattop | }}} | true | 12 div-220px | {{#if: {{{ imagecolumns | }}} | {{{ imagecolumns | }}} | 4 }} }}
 
|imageposition={{#if: {{{ imagePosition | }}}  
 
|imageposition={{#if: {{{ imagePosition | }}}  
Line 45: Line 44:
 
</div>
 
</div>
 
</div> |  
 
</div> |  
<div class="down link-no-border dark-text">{{#widget:SmoothScrollToAnchor
+
<div class="d-none d-lg-block down link-no-border dark-text">{{#widget:SmoothScrollToAnchor
 
|anchor=page-content
 
|anchor=page-content
 
|text=<i class="fas fa-chevron-down"></i>
 
|text=<i class="fas fa-chevron-down"></i>

Latest revision as of 13:50, 23 September 2022