Difference between revisions of "Template:EventPage"

From Buddha-Nature
m (Text replacement - "images-commons" to "images")
 
(102 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__{{#addbodyclass:no-first-heading}}
+
<includeonly>__NOTOC__{{#addbodyclass:no-first-heading}}
  
<h1 class="pb-2 border-bottom-rightfade">  
+
<div class="h1 row pb-2 border-bottom-rightfade mx-0 mb-2"> {{#if: {{{ headerImage | }}} |
<div class="float-right d-inline-block position-relative p-3 rounded text-center text-50 grey-hoverlay">
+
{{#widget:DivWithBackImg
<div class="w-100 link-no-border">[[File:Tsadra Logo Master.png|120px|link=https://www.tsadra.org/|]]</div>
+
|classes=col-4 col-lg-2 rounded depth-1
<div class="mt-4 text-80 font-italic">A Tsadra Foundation Event</div>
+
|src={{filepath:{{#titleparts:{{{ headerImage | }}}}}|400}}
</div> {{{ title-line1 | }}}
+
|imageposition=50%
<div class="text-60 font-italic mb-3">{{{ title-line2 | }}}</div><br/>
+
|styles=none
<div class="text-80 font-weight-bold">{{{ title-line3 | }}}</div>
+
}} | }}
<div class="text-70 font-italic">{{{ title-line4 | }}}</div>
+
<div class="col-8 col-lg-10 pl-4">{{{ eventTitle | }}}{{#if: {{{ eventSubtitle | }}} |
<div class="text-60 muted mt-3">{{{ date | }}} · {{{ eventtime | }}} {{{ timezone | }}}</div>
+
<div class="text-60 font-italic mb-3">{{{ eventSubtitle | }}}</div> | }}
</h1>
+
<div class="text-60 muted mt-5">{{{ date | }}}{{#if: {{{ eventtime | }}} | &nbsp;· {{{ eventtime | }}} {{{ timezone | }}} | }}</div>
 +
</div>
 +
</div>
 +
<div class="d-flex justify-content-between flex-wrap read-versions mb-4 mt-1">[[Events|<i class="fad fa-arrow-left fa-sm"></i> Back to Events Page]]</div>{{#if: {{{ youtubeid | }}} |
  
{{#if: {{{ youtubeid | }}}
+
{{InsertLazyYoutube|{{{ youtubeid | }}}}} | }}{{#if: {{{ zoomlink | }}}{{{ facebooklink | }}} |
|{{InsertLazyYoutube|{{{ youtubeid | }}}}}
+
 
|
+
{{{!}} class="off-white table table-striped depth-1" {{#if: {{{ zoomlink | }}} | <br>
{{{!}} class="off-white table table-striped table-hover depth-1" {{#if: {{{ zoomlink | }}} | <br>
 
 
{{!}}-
 
{{!}}-
! Zoom
+
! Join us on Zoom by signing up here
{{!}} [{{{ zoomlink | }}} {{{ zoomlinklabel | }}}] | }}{{#if: {{{ facebooklink | }}} | <br>
+
{{!}} [{{{ zoomlink | }}} Sign Up Here for access to the event via Zoom. Space is limited!] | }}{{#if: {{{ facebooklink | }}} | <br>
 
{{!}}-
 
{{!}}-
! Facebook
+
! Join us on Facebook without signing up!
{{!}} [{{{ facebooklink | }}} {{{ facebooklabel | }}}] | }}
+
{{!}} [{{{ facebooklink | }}} Join us live on Facebook. Space is NOT limited.] | }}
{{!}}}
+
{{!}}} | }}{{#if: {{{ ExtEventTileLink | }}}{{{ InterviewPage | }}} |
}}
 
  
 +
<div class="row mt-5">{{#if: {{{ ExtEventTileLink | }}} |
 +
{{LocalTile
 +
|classes=col-lg-6
 +
|ExtLink={{{ ExtEventTileLink | }}}
 +
|header={{{ eventTitle | }}}: {{{ eventSubtitle | }}}
 +
|image={{{ ExtEventTileImage | }}}
 +
|content={{{ description | }}}
 +
|watermark=Link
 +
}} | }}{{#if: {{{ InterviewPage | }}} |
 +
{{LocalTile
 +
|classes=col-lg-6
 +
|link={{{ InterviewPage | }}}
 +
|header=Full Content Page
 +
|image=https://commons.tsadra.org/images/9/9a/Video_image.jpg
 +
|content=<span style="color: #d25e54;">See the full video, edited clips by topic, and a detailed description here.</span>
 +
}} | }}
 +
</div> | }}
  
<h3 class="border-bottom-rightfade-blue"> Participants </h3>
+
<h3 class="border-bottom-rightfade-blue"> Description & Participants </h3>
  
 
<div class="row">
 
<div class="row">
<div class="col-lg-{{{ participantsectionwidth | 6 }}} d-flex justify-content-around flex-wrap p-3">{{{ participants | }}}</div>
+
<div class="col-lg-{{#expr:12-{{{ participantsectionwidth |6 }}}}} text-95 p-3">
<div class="col-lg-{{#expr:12-{{{ participantsectionwidth | 6 }}}}} text-95 p-3">{{{ participantsdescription | }}}</div>
+
 
</div>
+
''{{{ eventSubtitle | }}} <br> {{{ date | }}} · {{{ eventtime | }}} {{{ timezone | }}}''
 +
 
 +
{{{ description | }}}
 +
 
 +
</div>
 +
<div class="col-lg-{{{ participantsectionwidth |6 }}} d-flex flex-wrap p-3">{{{ participants | }}}</div>
 +
</div>{{#ifeq: {{{ EventSeries | }}} | Conversations on Buddha-Nature |
  
<h3 class="border-bottom-rightfade-blue"> A Buddha-Nature Project Event </h3>
+
<h2 class="border-bottom-rightfade-blue"> Conversations on Buddha-Nature </h2>
<div class="font-weight-bold text-150">{{{ title-line1 | }}}</div>
 
  
{{{ description | }}}{{#if: {{{ recommendedcontent | }}} |  
+
<div class="row">
 +
<div class="col-md-4 col-lg-3 position-relative pl-4 pr-5 rounded text-center text-90 grey-hoverlay">
 +
<div class="w-100 link-no-border">[[File:Tsadra Logo Master.png|300px|class=w-100 h-auto|link=https://www.tsadra.org/|]]</div>
 +
<div class="mt-4 font-italic">A Tsadra Foundation Event</div>
 +
</div>
 +
<div class="col-md-8 col-lg-9">
 +
<div class="font-italic text-110 mb-2">Regular live interviews with Buddhist practitioners, scholars, and thinkers.</div>This is a space for stimulating and inspiring conversations on Buddha-Nature and related subjects. As a part of the Buddha-Nature Project of the Tsadra Foundation, Karma Phuntsho will host conversations with a Buddhist leader, influencer or expert each month on the theories and practices of Buddha-Nature, which will be live on Facebook. As an exercise of mindful listening, right speech, and wholesome exploration of meaning and nature of life and existence, these conversations aim to enhance the understanding and awareness of Buddha-Nature and promote the ethos of innate goodness and positive perception.
 +
</div>
 +
</div> | }}{{#if: {{{ recommendedcontent | }}} |  
  
<h3 class="border-bottom-rightfade-blue"> Recommended content </h3>
+
<h3 class="border-bottom-rightfade-blue mt-4"> Recommended content </h3>
  
 
<div class="row">
 
<div class="row">
Line 48: Line 79:
 
|OR
 
|OR
 
}}
 
}}
|classes=col-lg-6 col-xl-4
+
|classes=col-lg-6
 
}}
 
}}
</div> | }}[[Category:Event Pages]]
+
</div> | }}{{#if: {{{ externalRecommended | }}} |
 +
 
 +
<h3 class="border-bottom-rightfade-blue mt-4"> External resources </h3>
 +
 
 +
<div class="row">
 +
{{{ externalRecommended | }}}
 +
</div> | }}[[Category:Events]]{{#set:
 +
|pagename={{#if: {{{ pagename | }}} | {{{ pagename | }}} | {{PAGENAME}} }}
 +
|InterviewPage={{{ InterviewPage | }}}
 +
|headerImage={{{ headerImage | }}}
 +
|eventTitle={{{ eventTitle | }}}
 +
|eventSubtitle={{{ eventSubtitle | }}}
 +
|description={{{ description | }}}
 +
|EventSeries={{{ EventSeries | }}}
 +
|eventSeriesTitle={{{ eventSeriesTitle | }}}
 +
|eventSeriesSubtitle={{{ eventSeriesSubtitle | }}}
 +
|lowerDescription={{{ lowerDescription | }}}
 +
|date={{{ date | }}}
 +
|eventtime={{{ eventtime | }}}
 +
|timezone={{{ timezone | }}}
 +
|youtubeid={{{ youtubeid | }}}
 +
|zoomlink={{{ zoomlink | }}}
 +
|facebooklink={{{ facebooklink | }}}
 +
|recommendedcontent={{{ recommendedcontent | }}}
 +
|ExtEventTileImage={{{ ExtEventTileImage | }}}
 +
|ExtEventTileWatermark={{{ ExtEventTileWatermark | }}}
 +
|ExtEventTileHeader={{{ ExtEventTileHeader | }}}
 +
|ExtEventTileContent={{{ ExtEventTileContent | }}}
 +
|ExtEventTileLink={{{ ExtEventTileLink | }}}
 +
}}</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 15:21, 1 February 2023