Difference between revisions of "Template:EventPage"

From Buddha-Nature
((by SublimeText.Mediawiker))
m (Text replacement - "images-commons" to "images")
 
(194 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__{{#addbodyclass:no-first-heading}}
+
<includeonly>__NOTOC__{{#addbodyclass:no-first-heading}}
  
= {{{ title | }}} <br> <small>{{{ subtitle | }}}</small>=
+
<div class="h1 row pb-2 border-bottom-rightfade mx-0 mb-2"> {{#if: {{{ headerImage | }}} |
<div class="float-right muted">{{{ date | }}}</div>
+
{{#widget:DivWithBackImg
 +
|classes=col-4 col-lg-2 rounded depth-1
 +
|src={{filepath:{{#titleparts:{{{ headerImage | }}}}}|400}}
 +
|imageposition=50%
 +
|styles=none
 +
}} | }}
 +
<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 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 | }}} |
 +
 
 +
{{InsertLazyYoutube|{{{ youtubeid | }}}}} | }}{{#if: {{{ zoomlink | }}}{{{ facebooklink | }}} |
 +
 
 +
{{{!}} class="off-white table table-striped depth-1" {{#if: {{{ zoomlink | }}} | <br>
 +
{{!}}-
 +
! Join us on Zoom by signing up here
 +
{{!}} [{{{ zoomlink | }}} Sign Up Here for access to the event via Zoom. Space is limited!] | }}{{#if: {{{ facebooklink | }}} | <br>
 +
{{!}}-
 +
! Join us on Facebook without signing up!
 +
{{!}} [{{{ 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"> Description & Participants </h3>
 +
 
 +
<div class="row">
 +
<div class="col-lg-{{#expr:12-{{{ participantsectionwidth |6 }}}}} text-95 p-3">
  
=== Participants ===
+
''{{{ eventSubtitle | }}} <br> {{{ date | }}} · {{{ eventtime | }}} {{{ timezone | }}}''
  
{{{ participants | }}}
+
{{{ description | }}}
  
<div class="d-inline-block position-relative p-3 rounded text-center grey-hoverlay">
+
</div>
<div class="w-100 link-no-border">[[File:Tsadra Logo - White Drop Shadow 500px.png|300px|link=https://www.tsadra.org/|]]</div>
+
<div class="col-lg-{{{ participantsectionwidth |6 }}} d-flex flex-wrap p-3">{{{ participants | }}}</div>
<div class="text-110 mt-3">A Tsadra Foundation Event</div>
+
</div>{{#ifeq: {{{ EventSeries | }}} | Conversations on Buddha-Nature |
</div>
+
 
 +
<h2 class="border-bottom-rightfade-blue"> Conversations on Buddha-Nature </h2>
  
=== Access ===
+
<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 | }}} |
  
{| class="table table-striped table-hover table-bordered"
+
<h3 class="border-bottom-rightfade-blue mt-4"> Recommended content </h3>
|-
 
! Zoom
 
| [{{{ zoomlink | }}} {{{ zoomlinklabel | }}}]
 
|-
 
! Facebook
 
| [{{{ facebooklink | }}} {{{ facebooklabel | }}}]
 
|}
 
  
=== Description ===
+
<div class="row">
 +
{{PageTileQuery
 +
|query={{#arraymap:{{{ recommendedcontent | }}}
 +
|;
 +
|@@@
 +
|[[@@@]]
 +
|OR
 +
}}
 +
|classes=col-lg-6
 +
}}
 +
</div> | }}{{#if: {{{ externalRecommended | }}} |
  
<div class="font-weight-bold text-110">{{{ date | }}} · {{{ eventtime | }}} {{{ timezone | }}}</div>
+
<h3 class="border-bottom-rightfade-blue mt-4"> External resources </h3>
  
{{{ description | }}}
+
<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