Difference between revisions of "Template:CommentatorSeparator"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<h3 style="visibility: hidden; height: 1px;">{{{1}}}{{#if: {{{2|}}}|&nbsp;and {{{2}}}|}}</h3>
+
<h3 class="p-0 m-0" style="visibility: hidden;">{{{1}}}{{#if: {{{2|}}}|&nbsp;and {{{2}}}|}}</h3>
<div class="mt-0 mb-5 d-flex justify-content-center">
+
<div class="mt-0 mb-5 d-flex justify-content-center {{{ classes | }}}">
<div class="position-relative grey-hoverlay" style="border-radius: 5px; padding: 12px;">{{#widget:PersonPageRoundImage|filepath={{#show:{{{1}}}|?FirstImageURL}}|size=180px|depth=3|link={{{1}}}}}
+
<div class="position-relative grey-hoverlay" style="border-radius: 5px; padding: 12px;">{{#widget:PersonPageRoundImage
<div style="text-align: center; font-size: 1.3em; margin-top: .4em;">{{#if:{{#show:{{{1}}}|?MainNamePhon}}|{{#show:{{{1}}}|?MainNamePhon}}|{{#show:{{{1}}}|?MainNameSkt}}}}{{#if: {{#show:{{{1}}}|?yearbirth}} | <div class="grey-color" style="font-size: .8em;">{{#show:{{{1}}}|?yearbirth}} {{#if: {{#show:{{{1}}}|?yeardeath}} |~ {{#show:{{{1}}}|?yeardeath}}|}}</div>|}}</div>
+
|filepath={{#if: {{{3|}}} | {{{3}}} | {{#show:{{{1}}}|?FirstImageURL}} }}
 +
|size=180px
 +
|depth=3
 +
|link={{{1}}}
 +
|classes=mx-auto
 +
|linkclasses=none
 +
}}
 +
<div style="text-align: center; font-size: 1.3em; margin-top: .4em;">{{#if: {{{ name | }}} | {{{ name | }}} | {{#if: {{#show:{{{1}}}|?MainNamePhon}}
 +
|{{#show:{{{1}}}|?MainNamePhon}}
 +
|{{#if: {{#show:{{{1}}}|?MainNameSkt}}
 +
| {{#show:{{{1}}}|?MainNameSkt}}
 +
| {{#show:{{{1}}}|?namefirst}} {{#show:{{{1}}}|?namelast}}
 +
}}
 +
}} }}{{#ifeq: {{{ date | }}} | No | | {{#if: {{#show:{{{1}}}|?yearbirth}}  
 +
| <div class="grey-color" style="font-size: .8em;">{{#iferror: {{#time: Y | {{#show:{{{1}}}|?yearbirth}} }} | {{#show:{{{1}}}|?yearbirth}} | {{#time: Y | {{#show:{{{1}}}|?yearbirth}} }} }} {{#if: {{#show:{{{1}}}|?yeardeath}}  
 +
|~ {{#iferror: {{#time: Y | {{#show:{{{1}}}|?yeardeath}} }} | {{#show:{{{1}}}|?yeardeath}} | {{#time: Y | {{#show:{{{1}}}|?yeardeath}} }} }}
 +
|
 +
}}</div>
 +
|
 +
}} }}</div>
 
</div>{{#if: {{{2|}}}|
 
</div>{{#if: {{{2|}}}|
<div class="position-relative grey-hoverlay" style="border-radius: 5px; padding: 12px;">{{#widget:PersonPageRoundImage|filepath={{#show:{{{2}}}|?FirstImageURL}}|size=180px|depth=3|link={{{2}}}}}
+
<div class="position-relative grey-hoverlay" style="border-radius: 5px; padding: 12px;">{{#widget:PersonPageRoundImage
<div style="text-align: center; font-size: 1.3em; margin-top: .2em;">{{#if:{{#show:{{{2}}}|?MainNamePhon}}|{{#show:{{{2}}}|?MainNamePhon}}|{{#show:{{{2}}}|?MainNameSkt}}}}{{#if: {{#show:{{{2}}}|?yearbirth}} | <div class="grey-color" style="font-size: .8em;">{{#show:{{{2}}}|?yearbirth}} {{#if: {{#show:{{{2}}}|?yeardeath}} |~ {{#show:{{{2}}}|?yeardeath}}|}}</div>|}}</div>
+
|filepath={{#show:{{{2}}}|?FirstImageURL}}
</div>| }}
+
|size=180px
 +
|depth=3
 +
|link={{{2}}}
 +
|classes=mx-auto
 +
|linkclasses=none
 +
}}
 +
<div style="text-align: center; font-size: 1.3em; margin-top: .4em;">{{#if: {{{ name | }}} | {{{ name | }}} | {{#if: {{#show:{{{2}}}|?MainNamePhon}}
 +
|{{#show:{{{2}}}|?MainNamePhon}}
 +
|{{#show:{{{2}}}|?MainNameSkt}}
 +
}} }}{{#ifeq: {{{ date | }}} | No | | {{#if: {{#show:{{{2}}}|?yearbirth}}  
 +
| <div class="grey-color" style="font-size: .8em;">{{#iferror: {{#time: Y | {{#show:{{{2}}}|?yearbirth}} }} | {{#show:{{{2}}}|?yearbirth}} | {{#time: Y | {{#show:{{{2}}}|?yearbirth}} }} }} {{#if: {{#show:{{{2}}}|?yeardeath}}  
 +
|~ {{#iferror: {{#time: Y | {{#show:{{{2}}}|?yeardeath}} }} | {{#show:{{{2}}}|?yeardeath}} | {{#time: Y | {{#show:{{{2}}}|?yeardeath}} }} }}
 +
|
 +
}}</div>
 +
|
 +
}} }}</div>
 +
</div> | }}
 
</div>
 
</div>

Latest revision as of 11:57, 19 September 2020