Template:FullPagePanel: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="fullpage">{{#addbodyclass:fullpage-panel no-first-heading}}
<div class="fullpage text-article">{{#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 text-center large animated fadeIn speed-2s mb-1 pb-1">{{{ title | }}}</div>{{#if: {{{ subtitle | }}} |
<div class="h2 text-center font-italic border-0 mt-1 pt-1 animated fadeIn speed-2s">{{{ subtitle | }}}</div> | }}</noglossary>
<div class="h2 text-center font-italic border-0 mt-1 pt-1 animated fadeIn speed-2s">{{{ subtitle | }}}</div> | }}</noglossary>
<div class="container mt-5">
<div class="row mt-5">
<div class="row">
<div class="col-lg-{{#if: {{{ jumbocolumns | }}} | {{{ jumbocolumns | }}} | 10 }} offset-lg-{{#switch: {{{ jumbocolumns | }}}
<div class="col-lg-{{#if: {{{ jumbocolumns | }}} | {{{ jumbocolumns | }}} | 10 }} offset-lg-{{#switch: {{{ jumbocolumns | }}}
|12=0
|12=0
|10=1
|10=1
|8=2
|8=2
|6=3
|6=3
|#default=1
|#default=1
}} p-0">
}} p-0">
<div class="row tsdwiki-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-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 | }}} }}|1000}}
|src={{#ifeq: {{{ imageattop | }}}
|classes=d-none d-md-block col-md-{{#ifeq: {{{ imageattop | }}} | true | 12 div-220px | {{#if: {{{ imagecolumns | }}} | {{{ imagecolumns | }}} | 4 }} }}
| true
|imageposition={{#if: {{{ imagePosition | }}}  
| {{filepath:{{PAGENAME:{{{ image | }}} }}|1000}}
| {{{ imagePosition | }}}  
| {{filepath:{{PAGENAME:{{{ image | }}} }}|500}}
| center  
}}
|classes=d-none d-md-block col-md-{{#ifeq: {{{ imageattop | }}} | true | 12 div-220px | {{#if: {{{ imagecolumns | }}} | {{{ imagecolumns | }}} | 4 }} }}
|imageposition={{#if: {{{ imagePosition | }}}  
| {{{ imagePosition | }}}  
| center  
}}
}}
}}
<div class="col-12 col-md-{{#ifeq: {{{ imageattop | }}} | true | 12 | {{#if: {{{ textcolumns | }}}  
}}
| {{{ textcolumns | }}}  
<div class="col-12 col-md-{{#ifeq: {{{ imageattop | }}} | true | 12 | {{#if: {{{ textcolumns | }}}  
| 8  
| {{{ textcolumns | }}}  
}} }} {{{ classes | }}}" style="padding: 2.25rem;">{{{ description | }}}</div>
| 8  
</div>
}} }} {{{ classes | }}} p-4 p-lg-5">{{{ description | }}}</div>
</div>
</div>
</div>{{#if: {{{ discoverAnchor | }}} |
<div class="row d-none d-lg-flex mt-3">
<div class="col-0 col-lg-4 offset-lg-4 p-0 animated fadeIn delay-15s" style="height: 40px; border-left: 1px solid #000000; border-right: 1px solid #000000;"></div>
</div>
</div>
<div class="row d-none d-lg-flex">
</div>{{#if: {{{ discoverAnchor | }}} |
<div class="col-lg-4 offset-lg-2">
<div class="row d-none d-lg-flex mt-3">
<div class="h1 link-no-border link-no-color dark-text text-center my-1 animated fadeInDown delay-1s grey-hoverlay rounded p-1 pb-2 plainlinks">[http://buddhanature.tsadra.org/index.php/Discover{{{ discoverAnchor | }}} <i class="fas fa-chevron-left opac-70" style="font-size: 1.9rem; vertical-align: baseline;"></i> Discover]</div>
<div class="col-0 col-lg-4 offset-lg-4 p-0 animated fadeIn delay-15s" style="height: 40px; border-left: 1px solid #000000; border-right: 1px solid #000000;"></div>
</div>
</div>
<div class="col-lg-4">
<div class="row d-none d-lg-flex">
<div class="h1 link-no-border link-no-color dark-text text-center my-1 animated fadeInDown delay-1s grey-hoverlay rounded p-1 pb-2">{{#widget:SmoothScrollToAnchor
<div class="col-lg-4 offset-lg-2">
|anchor=page-content
<div class="h1 border-0 link-no-border link-no-color dark-text text-center my-1 animated fadeInDown delay-1s grey-hoverlay rounded p-1 pb-2 plainlinks">[http://buddhanature.tsadra.org/index.php/Discover{{{ discoverAnchor | }}} <i class="fas fa-chevron-left opac-70" style="font-size: 1.9rem; vertical-align: baseline;"></i> Discover]</div>
|text=<i class="fas fa-chevron-down opac-70" style="font-size: 1.9rem;"></i> Explore
</div>
}}</div>
<div class="col-lg-4">
</div>
<div class="h1 border-0 link-no-border link-no-color dark-text text-center my-1 animated fadeInDown delay-1s grey-hoverlay rounded p-1 pb-2">{{#widget:SmoothScrollToAnchor
</div> |
<div class="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 opac-70" style="font-size: 1.9rem;"></i> Explore
}}
}}</div>
</div> }}
</div>
</div>
</div> |
<div class="d-none d-lg-block down link-no-border dark-text">{{#widget:SmoothScrollToAnchor
|anchor=page-content
|text=<i class="fas fa-chevron-down"></i>
}}
</div> }}
</div>
</div>
</div>
</div>

Latest revision as of 22:00, 7 January 2025