Difference between revisions of "Template:SessionTile"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
m (Text replacement - "images-commons" to "images") |
||
(49 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="{{{ userparam | }}} filterable"> | + | <div class="{{{ #userparam | }}} filterable"> |
− | <div class="m-tile pop-hover mb-4 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 }} | ||
+ | }} | ||
+ | |, | ||
+ | }} | ||
+ | }} | ||
+ | }} | ||
+ | </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}}}| | + | |src={{filepath:{{#titleparts:{{PAGENAME:{{{6}}}}}}}|500}} |
|imageposition=center | |imageposition=center | ||
|classes=session-tile-image | |classes=session-tile-image | ||
+ | |styles=none | ||
}} | }} | ||
</div> | </div> | ||
<div class="m-tile-content"> | <div class="m-tile-content"> | ||
− | <div class="m-tile-content-header d-flex justify-content-between"> | + | <div class="m-tile-content-header d-flex justify-content-between">{{#if: {{{7|}}} | |
− | <div>{{#switch:{{{7}}} | + | <div class="nowrap">{{#switch:{{{7}}} |
|Welcome Speech=Welcome | |Welcome Speech=Welcome | ||
|Keynote Lecture=Keynote | |Keynote Lecture=Keynote | ||
|Paper Presentation=Presentation | |Paper Presentation=Presentation | ||
− | }}</div> | + | |Dharma Teaching=Teaching |
− | <div>{{#switch:{{{ | + | |Interview Clip=Excerpt |
+ | |#default={{{7}}} | ||
+ | }}</div> | }}{{#ifeq: {{{3}}} | {{SUBPAGENAME:{{#show: {{PAGENAME}}|?AuthorPage}} }} | | | ||
+ | <div>{{#switch:{{{ 10 | }}} | ||
|Charrier, C.; Carré, P.= | |Charrier, C.; Carré, P.= | ||
− | <div class="inline-person-tag position-relative d-inline-block nowrap px-1">{{#arraymap: {{{ | + | <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 | }}} | |
− | |||
− | |||
− | }} | ||
− | |||
− | |||
|; | |; | ||
|@@@ | |@@@ | ||
Line 41: | Line 59: | ||
|, | |, | ||
}}</div> | }}</div> | ||
− | |{{InlinePersonTag|{{{3}}}|link=none}} | + | |Kumagai, S.={{InlinePersonTag|page=People/Kumagai, S.|link=none}} |
− | }}</div> | + | |{{InlinePersonTag|page={{{3}}}|link=none}} |
+ | }}</div> }} | ||
</div> | </div> | ||
<hr class="m-tile-divider"> | <hr class="m-tile-divider"> | ||
− | <div class="font-italic | + | <div class="m-tile-session-description font-italic ellipsis mb-2" style="max-height: 50px !important;"><noglossary>{{{2}}}</noglossary></div> |
− | <div class=" | + | <div class="d-none" style="height: 0px;">{{{8|}}}; {{{9|}}}</div> |
− | </div> | + | </div>{{#widget:OverlayLink |
+ | |link=/index.php/{{urlencode:{{{1}}}|WIKI}} | ||
+ | |classes=no-classes | ||
+ | |target=_self | ||
+ | |title={{{1}}} | ||
+ | }} | ||
</div> | </div> | ||
</div> | </div> |