Difference between revisions of "Template:SessionTile"

From Buddha-Nature
((by SublimeText.Mediawiker))
m (Text replacement - "images-commons" to "images")
 
(78 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="{{{ userparam | }}}">
+
<div class="{{{ #userparam | }}} filterable">
<div class="m-tile depth-2 mx-2 mb-5 position-relative link-no-border">
+
<div class="m-tile pop-hover mb-4 position-relative link-no-border">
 +
<h3 class="m-0 p-0 border-0 overflow-hidden" style="height: 0px;">{{#ifeq: {{{ header | }}} | title
 +
|{{{2}}}
 +
|{{#switch: {{{ 10 | }}}
 +
|Kumagai, S.=Seiji Kumagai
 +
|Charrier, C.; Carré, P.=Charrier, Carré
 +
|#default={{#arraymap: {{{3}}}
 +
|;
 +
|@@@
 +
|{{#if: {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }}
 +
|{{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }}
 +
|{{#show: @@@ |?MainNamePhon }}
 +
}}
 +
|,&nbsp;
 +
}}
 +
}}
 +
}}
 +
</h3>
 
<div class="border-bottom border-dark position-relative" style="padding-top: 56.25%;">{{#widget:DivWithBackImg
 
<div class="border-bottom border-dark position-relative" style="padding-top: 56.25%;">{{#widget:DivWithBackImg
|src={{filepath:{{{6}}}|400}}
+
|src={{filepath:{{#titleparts:{{PAGENAME:{{{6}}}}}}}|500}}
 
|imageposition=center
 
|imageposition=center
|classes=position-absolute h-100 w-100
+
|classes=session-tile-image
 +
|styles=none
 
}}
 
}}
 
</div>
 
</div>
 
<div class="m-tile-content">
 
<div class="m-tile-content">
<div class="m-tile-content-header clipped-1-line">{{SUBPAGENAME:{{{1}}}}}</div>
+
<div class="m-tile-content-header d-flex justify-content-between">{{#if: {{{7|}}} |
<hr class="m-tile-divider"><em>{{{2}}}</em>
+
<div class="nowrap">{{#switch:{{{7}}}
<div class="m-tile-description text-right">[[{{{1}}}|<i class="fad fa-photo-video"></i> Media page <i class="fad fa-angle-right fa-sm" style="vertical-align: middle;"></i>]]</div>
+
|Welcome Speech=Welcome
</div>
+
|Keynote Lecture=Keynote
 +
|Paper Presentation=Presentation
 +
|Dharma Teaching=Teaching
 +
|Interview Clip=Excerpt
 +
|#default={{{7}}}
 +
}}</div> | }}{{#ifeq: {{{3}}} | {{SUBPAGENAME:{{#show: {{PAGENAME}}|?AuthorPage}} }} | |
 +
<div>{{#switch:{{{ 10 | }}}
 +
|Charrier, C.; Carré, P.=
 +
<div class="inline-person-tag position-relative d-inline-block nowrap px-1">
 +
<div class="d-inline mr-2">{{#arraymap: {{{ 10 | }}}
 +
|;
 +
|@@@
 +
|{{#widget:PersonPageRoundImage
 +
|filepath={{#if:{{#show:@@@|?FirstImage}}
 +
|{{filepath:{{PAGENAME:{{#show:@@@|?FirstImage}}}}|100}}
 +
|https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png
 +
}}
 +
|size=25px
 +
|depth=1
 +
|classes=d-inline-block align-sub ml-neg10
 +
|linkclasses=noclasses
 +
|link={{urlencode:{{{1}}}|WIKI}}
 +
}}
 +
|
 +
}}</div>{{#arraymap: {{{ 10 | }}}
 +
|;
 +
|@@@
 +
|{{#show: @@@ |?namelast}}
 +
|,&nbsp;
 +
}}</div>
 +
|Kumagai, S.={{InlinePersonTag|page=People/Kumagai, S.|link=none}}
 +
|{{InlinePersonTag|page={{{3}}}|link=none}}
 +
}}</div> }}
 +
</div>
 +
<hr class="m-tile-divider">
 +
<div class="m-tile-session-description font-italic ellipsis mb-2" style="max-height: 50px !important;"><noglossary>{{{2}}}</noglossary></div>
 +
<div class="d-none" style="height: 0px;">{{{8|}}}; {{{9|}}}</div>
 +
</div>{{#widget:OverlayLink
 +
|link=/index.php/{{urlencode:{{{1}}}|WIKI}}
 +
|classes=no-classes
 +
|target=_self
 +
|title={{{1}}}
 +
}}
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 14:22, 1 February 2023