Template:SessionTile: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(22 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">{{#widget:OverlayLink
<div class="m-tile tsdwiki-pop-off mb-4 position-relative link-no-border">
|link=/index.php/{{urlencode:{{{1}}}|WIKI}}
<h3 class="m-0 p-0 border-0 overflow-hidden" style="height: 0px;">{{#ifeq: {{{ header | }}} | title
|classes=no-classes
|{{{2}}}
|target=_self
|{{#switch: {{{ 10 | }}}  
|title={{{1}}}
|Kumagai, S.=Seiji Kumagai
}}
|Charrier, C.; Carré, P.=Charrier, Carré
<h3 class="m-0 p-0 border-0" style="height: 0px;">{{#switch: {{{3}}}  
|#default={{#arraymap: {{{3}}}
|Kumagai, S.=Seiji Kumagai
|;
|#default={{#arraymap: {{{3}}}
|@@@
|;
|{{#if: {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }}
|@@@
|{{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }}
|{{#if: {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }}
|{{#show: @@@ |?MainNamePhon }}
|{{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }}
}}
|{{#show: @@@ |?MainNamePhon }}
|,&nbsp;
}}
}}
}}
|,&nbsp;
}}
}}
}}</h3>
</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:{{#replaceset:{{{6}}}|/File:/i=}}|800}}
|src={{filepath:{{#titleparts:{{PAGENAME:{{{6}}}}}}}|500}}
|imageposition=center
|imageposition=center
|classes=session-tile-image
|classes=session-tile-image
|styles=none
}}
}}
</div>
</div>
Line 31: Line 32:
|Paper Presentation=Presentation
|Paper Presentation=Presentation
|Dharma Teaching=Teaching
|Dharma Teaching=Teaching
|Interview Clip=Clip
|Interview Clip=Excerpt
|{{{7}}}
|#default={{{7}}}
}}</div> | }}{{#ifeq: {{{3}}} | {{SUBPAGENAME:{{#show: {{PAGENAME}}|?AuthorPage}} }} | |
}}</div> | }}{{#ifeq: {{{3}}} | {{SUBPAGENAME:{{#show: {{PAGENAME}}|?AuthorPage}} }} | |
<div>{{#switch:{{{3}}}
<div>{{#switch:{{{ 10 | }}}
|Charrier, C.; Carré, P.=
|Charrier, C.; Carré, P.=
<div class="inline-person-tag position-relative d-inline-block nowrap px-1">
<div class="inline-person-tag position-relative d-inline-block nowrap px-1">
<div class="d-inline mr-2">{{#arraymap: {{{3}}}
<div class="d-inline mr-2">{{#arraymap: {{{ 10 | }}}
|;
|;
|@@@
|@@@
Line 43: Line 44:
|filepath={{#if:{{#show:@@@|?FirstImage}}
|filepath={{#if:{{#show:@@@|?FirstImage}}
|{{filepath:{{PAGENAME:{{#show:@@@|?FirstImage}}}}|100}}
|{{filepath:{{PAGENAME:{{#show:@@@|?FirstImage}}}}|100}}
|http://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png
|https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png
}}
}}
|size=25px
|size=25px
Line 49: Line 50:
|classes=d-inline-block align-sub ml-neg10
|classes=d-inline-block align-sub ml-neg10
|linkclasses=noclasses
|linkclasses=noclasses
|link={{urlencode:{{{1}}}|WIKI}}
}}
}}
|
|
}}</div>{{#arraymap: {{{3}}}
}}</div>{{#arraymap: {{{ 10 | }}}
|;
|;
|@@@
|@@@
Line 62: Line 64:
</div>
</div>
<hr class="m-tile-divider">
<hr class="m-tile-divider">
<div class="m-tile-session-description font-italic clipped-2-lines mb-2" style="height: 50px; max-height: inherit !important;"><noglossary>{{{2}}}</noglossary></div>
<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 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>

Latest revision as of 21:19, 7 January 2025