Difference between revisions of "Template:CommentatorSeparator"

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(8 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
 
<div class="position-relative grey-hoverlay" style="border-radius: 5px; padding: 12px;">{{#widget:PersonPageRoundImage
|filepath={{#show:{{{1}}}|?FirstImageURL}}
+
|filepath={{#if: {{{3|}}} | {{{3}}} | {{#show:{{{1}}}|?FirstImageURL}} }}
 
|size=180px
 
|size=180px
 
|depth=3
 
|depth=3
 
|link={{{1}}}
 
|link={{{1}}}
 +
|classes=mx-auto
 +
|linkclasses=none
 
}}
 
}}
<div style="text-align: center; font-size: 1.3em; margin-top: .4em;">{{#if: {{#show:{{{1}}}|?MainNamePhon}}
+
<div style="text-align: center; font-size: 1.3em; margin-top: .4em;">{{#if: {{{ name | }}} | {{{ name | }}} | {{#if: {{#show:{{{1}}}|?MainNamePhon}}
 
|{{#show:{{{1}}}|?MainNamePhon}}
 
|{{#show:{{{1}}}|?MainNamePhon}}
|{{#show:{{{1}}}|?MainNameSkt}}
+
|{{#if: {{#show:{{{1}}}|?MainNameSkt}}
}}{{#if: {{#show:{{{1}}}|?yearbirth}}  
+
| {{#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}}  
 
| <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}} }} }}
 
|~ {{#iferror: {{#time: Y | {{#show:{{{1}}}|?yeardeath}} }} | {{#show:{{{1}}}|?yeardeath}} | {{#time: Y | {{#show:{{{1}}}|?yeardeath}} }} }}
Line 16: Line 21:
 
}}</div>
 
}}</div>
 
|
 
|
}}</div>
+
}} }}</div>
 
</div>{{#if: {{{2|}}}|
 
</div>{{#if: {{{2|}}}|
 
<div class="position-relative grey-hoverlay" style="border-radius: 5px; padding: 12px;">{{#widget:PersonPageRoundImage
 
<div class="position-relative grey-hoverlay" style="border-radius: 5px; padding: 12px;">{{#widget:PersonPageRoundImage
Line 23: Line 28:
 
|depth=3
 
|depth=3
 
|link={{{2}}}
 
|link={{{2}}}
 +
|classes=mx-auto
 +
|linkclasses=none
 
}}
 
}}
<div style="text-align: center; font-size: 1.3em; margin-top: .4em;">{{#if: {{#show:{{{2}}}|?MainNamePhon}}
+
<div style="text-align: center; font-size: 1.3em; margin-top: .4em;">{{#if: {{{ name | }}} | {{{ name | }}} | {{#if: {{#show:{{{2}}}|?MainNamePhon}}
 
|{{#show:{{{2}}}|?MainNamePhon}}
 
|{{#show:{{{2}}}|?MainNamePhon}}
 
|{{#show:{{{2}}}|?MainNameSkt}}
 
|{{#show:{{{2}}}|?MainNameSkt}}
}}{{#if: {{#show:{{{2}}}|?yearbirth}}  
+
}} }}{{#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}}  
 
| <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}} }} }}
 
|~ {{#iferror: {{#time: Y | {{#show:{{{2}}}|?yeardeath}} }} | {{#show:{{{2}}}|?yeardeath}} | {{#time: Y | {{#show:{{{2}}}|?yeardeath}} }} }}
Line 33: Line 40:
 
}}</div>
 
}}</div>
 
|
 
|
}}</div>
+
}} }}</div>
 
</div> | }}
 
</div> | }}
 
</div>
 
</div>

Latest revision as of 11:57, 19 September 2020