Difference between revisions of "Template:SessionTile"

From Buddha-Nature
((by SublimeText.Mediawiker))
m (Text replacement - "images-commons" to "images")
 
(39 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é
<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:{{{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">
 
<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 40: 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 46: 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 56: Line 61:
 
|Kumagai, S.={{InlinePersonTag|page=People/Kumagai, S.|link=none}}
 
|Kumagai, S.={{InlinePersonTag|page=People/Kumagai, S.|link=none}}
 
|{{InlinePersonTag|page={{{3}}}|link=none}}
 
|{{InlinePersonTag|page={{{3}}}|link=none}}
}}</div>
+
}}</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|}}}; {{{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 15:22, 1 February 2023