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">{{#widget:OverlayLink
+
<div class="m-tile pop-hover 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é
 +
|#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=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:{{{3}}}
+
|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: {{{3}}}
+
<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}}
+
|{{#widget:PersonPageRoundImage
|{{filepath:{{PAGENAME:{{#show:@@@|?FirstImage}}}}|100}}
+
|filepath={{#if:{{#show:@@@|?FirstImage}}
|http://commons.tsadra.org/images-commons/d/db/Teaching_Mudra_2_reduced_opacity.png
+
|{{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}}
 
}}
 
}}
|size=25px
+
|
|depth=1
+
}}</div>{{#arraymap: {{{ 10 | }}}
|classes=d-inline-block align-sub ml-neg10
 
|linkclasses=noclasses
 
}}
 
|
 
}}{{#arraymap: {{{3}}}
 
 
|;
 
|;
 
|@@@
 
|@@@
Line 41: Line 59:
 
|,&nbsp;
 
|,&nbsp;
 
}}</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 clipped-2-lines mb-2" style="height: 50px !important; 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="hidden" style="height: 0px;">{{{8|}}}</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 14:22, 1 February 2023