Difference between revisions of "Template:EventPage"

From Buddha-Nature
((by SublimeText.Mediawiker))
m (Text replacement - "images-commons" to "images")
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>__NOTOC__{{#addbodyclass:no-first-heading}}
 
<includeonly>__NOTOC__{{#addbodyclass:no-first-heading}}
  
<div class="h1 row pb-2 border-bottom-rightfade"> {{#if: {{{ headerImage | }}} |  
+
<div class="h1 row pb-2 border-bottom-rightfade mx-0 mb-2"> {{#if: {{{ headerImage | }}} |  
 
{{#widget:DivWithBackImg
 
{{#widget:DivWithBackImg
 
|classes=col-4 col-lg-2 rounded depth-1  
 
|classes=col-4 col-lg-2 rounded depth-1  
|src=https://commons.tsadra.org/thumb.php?f={{{ headerImage | }}}&width=500
+
|src={{filepath:{{#titleparts:{{{ headerImage | }}}}}|400}}
 
|imageposition=50%
 
|imageposition=50%
 
|styles=none
 
|styles=none
Line 10: Line 10:
 
<div class="col-8 col-lg-10 pl-4">{{{ eventTitle | }}}{{#if: {{{ eventSubtitle | }}} |
 
<div class="col-8 col-lg-10 pl-4">{{{ eventTitle | }}}{{#if: {{{ eventSubtitle | }}} |
 
<div class="text-60 font-italic mb-3">{{{ eventSubtitle | }}}</div> | }}
 
<div class="text-60 font-italic mb-3">{{{ eventSubtitle | }}}</div> | }}
<div class="text-60 muted mt-5">{{{ date | }}} · {{{ eventtime | }}} {{{ timezone | }}}</div>
+
<div class="text-60 muted mt-5">{{{ date | }}}{{#if: {{{ eventtime | }}} | &nbsp;· {{{ eventtime | }}} {{{ timezone | }}} | }}</div>
 
</div>
 
</div>
</div>{{#if: {{{ youtubeid | }}} |
+
</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 | }}} |
  
{{InsertLazyYoutube|{{{ youtubeid | }}}}} | }}
+
{{InsertLazyYoutube|{{{ youtubeid | }}}}} | }}{{#if: {{{ zoomlink | }}}{{{ facebooklink | }}} |
  
{| class="off-white table table-striped depth-1"
+
{{{!}} class="off-white table table-striped depth-1" {{#if: {{{ zoomlink | }}} | <br>
|-
+
{{!}}-
 
! Join us on Zoom by signing up here
 
! Join us on Zoom by signing up here
| [{{{ zoomlink | }}} Sign Up Here for access to the event via Zoom. Space is limited!]
+
{{!}} [{{{ zoomlink | }}} Sign Up Here for access to the event via Zoom. Space is limited!] | }}{{#if: {{{ facebooklink | }}} | <br>
|-
+
{{!}}-
 
! Join us on Facebook without signing up!  
 
! Join us on Facebook without signing up!  
| [{{{ facebooklink | }}} Join us live on Facebook. Space is NOT limited.]
+
{{!}} [{{{ facebooklink | }}} Join us live on Facebook. Space is NOT limited.] | }}
|}{{#if: {{{ InterviewPage | }}} |
+
{{!}}} | }}{{#if: {{{ ExtEventTileLink | }}}{{{ InterviewPage | }}} |  
  
<div class="row mt-5">
+
<div class="row mt-5">{{#if: {{{ ExtEventTileLink | }}} |
 
{{LocalTile
 
{{LocalTile
|classes=col-lg-6 offset-lg-3
+
|classes=col-lg-6
 +
|ExtLink={{{ ExtEventTileLink | }}}
 +
|header={{{ eventTitle | }}}: {{{ eventSubtitle | }}}
 +
|image={{{ ExtEventTileImage | }}}
 +
|content={{{ description | }}}
 +
|watermark=Link
 +
}} | }}{{#if: {{{ InterviewPage | }}} |
 +
{{LocalTile
 +
|classes=col-lg-6
 
|link={{{ InterviewPage | }}}
 
|link={{{ InterviewPage | }}}
|header=Interview Page
+
|header=Full Content Page
|image=https://commons.tsadra.org/images-commons/9/9a/Video_image.jpg
+
|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>
 
|content=<span style="color: #d25e54;">See the full video, edited clips by topic, and a detailed description here.</span>
}}
+
}} | }}
 
</div> | }}
 
</div> | }}
  
<h3 class="border-bottom-rightfade-blue"> Participants </h3>
+
<h3 class="border-bottom-rightfade-blue"> Description & Participants </h3>
  
 
<div class="row">
 
<div class="row">
Line 45: Line 54:
  
 
</div>
 
</div>
<div class="col-lg-{{{ participantsectionwidth |6 }}} d-flex justify-content-around flex-wrap p-3">{{{ participants | }}}</div>
+
<div class="col-lg-{{{ participantsectionwidth |6 }}} d-flex flex-wrap p-3">{{{ participants | }}}</div>
</div>
+
</div>{{#ifeq: {{{ EventSeries | }}} | Conversations on Buddha-Nature |
  
<h2 class="border-bottom-rightfade-blue"> {{{ eventSeriesTitle | }}} </h2>
+
<h2 class="border-bottom-rightfade-blue"> Conversations on Buddha-Nature </h2>
  
 
<div class="row">
 
<div class="row">
Line 56: Line 65:
 
</div>
 
</div>
 
<div class="col-md-8 col-lg-9">
 
<div class="col-md-8 col-lg-9">
<div class="font-italic text-110 mb-2">{{{ eventSeriesSubtitle | }}}</div>{{{ lowerDescription | }}}</div>
+
<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>{{#if: {{{ recommendedcontent | }}} |  
+
</div>
 +
</div> | }}{{#if: {{{ recommendedcontent | }}} |  
  
 
<h3 class="border-bottom-rightfade-blue mt-4"> Recommended content </h3>
 
<h3 class="border-bottom-rightfade-blue mt-4"> Recommended content </h3>
Line 78: Line 88:
 
{{{ externalRecommended | }}}
 
{{{ externalRecommended | }}}
 
</div> | }}[[Category:Events]]{{#set:
 
</div> | }}[[Category:Events]]{{#set:
|pagename={{{ pagename | }}}
+
|pagename={{#if: {{{ pagename | }}} | {{{ pagename | }}} | {{PAGENAME}} }}
 
|InterviewPage={{{ InterviewPage | }}}
 
|InterviewPage={{{ InterviewPage | }}}
 
|headerImage={{{ headerImage | }}}
 
|headerImage={{{ headerImage | }}}
Line 84: Line 94:
 
|eventSubtitle={{{ eventSubtitle | }}}
 
|eventSubtitle={{{ eventSubtitle | }}}
 
|description={{{ description | }}}
 
|description={{{ description | }}}
 +
|EventSeries={{{ EventSeries | }}}
 
|eventSeriesTitle={{{ eventSeriesTitle | }}}
 
|eventSeriesTitle={{{ eventSeriesTitle | }}}
 
|eventSeriesSubtitle={{{ eventSeriesSubtitle | }}}
 
|eventSeriesSubtitle={{{ eventSeriesSubtitle | }}}
Line 94: Line 105:
 
|facebooklink={{{ facebooklink | }}}
 
|facebooklink={{{ facebooklink | }}}
 
|recommendedcontent={{{ recommendedcontent | }}}
 
|recommendedcontent={{{ recommendedcontent | }}}
 +
|ExtEventTileImage={{{ ExtEventTileImage | }}}
 +
|ExtEventTileWatermark={{{ ExtEventTileWatermark | }}}
 +
|ExtEventTileHeader={{{ ExtEventTileHeader | }}}
 +
|ExtEventTileContent={{{ ExtEventTileContent | }}}
 +
|ExtEventTileLink={{{ ExtEventTileLink | }}}
 
}}</includeonly><noinclude>{{TemplateTag}}</noinclude>
 
}}</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 15:21, 1 February 2023