Template:PeopleMentionedMediaTopicPage: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
Line 2: Line 2:
<div class="position-relative grey-hoverlay py-2" style="border-radius: 5px;">
<div class="position-relative grey-hoverlay py-2" style="border-radius: 5px;">
<div class="position-relative">{{#widget:PersonPageRoundImage
<div class="position-relative">{{#widget:PersonPageRoundImage
|filepath={{filepath:{{#titleparts:{{PAGENAME:{{#show:{{{1}}}|?FirstImage#}}}}}}|150}}
|filepath={{filepath:{{#titleparts:{{PAGENAME:{{{ 3 | }}}}}}}|150}}
|size=100px
|size=100px
|depth=1
|depth=1
Line 16: Line 16:
</div>
</div>
<div style="text-align: center; margin: .6em auto; font-size: .8em; max-width: 140px;">
<div style="text-align: center; margin: .6em auto; font-size: .8em; max-width: 140px;">
<div class="line12">{{#if: {{#show:{{{1}}}|?MainNamePhon}}
<div class="line12">{{#if: {{{ 4 | }}}
|{{#show:{{{1}}}|?MainNamePhon}}
|{{{ 4 | }}}
|{{#if: {{#show:{{{1}}}|?MainNameSkt}}
|{{#if: {{{ 5 | }}}
| {{#show:{{{1}}}|?MainNameSkt}}
| {{{ 5 | }}}
| {{#if: {{#show:{{{1}}}|?namefirst}} {{#show:{{{1}}}|?namelast}}
| {{#if: {{{ 6 | }}} {{{ 7 | }}}
| {{#show:{{{1}}}|?namefirst}} {{#show:{{{1}}}|?namelast}}
| {{{ 6 | }}} {{{ 7 | }}}
| {{#ifexist: {{{1|}}}
| {{#ifexist: {{{1|}}}
| {{SUBPAGENAME:{{{1}}}}}
| {{SUBPAGENAME:{{{1}}}}}
Line 29: Line 29:
}}
}}
}}
}}
</div>{{#ifeq: {{{ showdates | }}} | no | | {{#if: {{#show:{{{1}}}|?yearbirth}}  
</div>{{#ifeq: {{{ showdates | }}} | no | | {{#if: {{{ 8 | }}}  
| <div class="grey-color" style="font-size: .8em;">{{#iferror: {{#time: Y | {{#show:{{{1}}}|?yearbirth}} }} | {{#show:{{{1}}}|?yearbirth}} | {{#time: Y | {{#replaceset:{{#show:{{{1}}}|?yearbirth}}|/c\. /=}} }} }} {{#if: {{#show:{{{1}}}|?yeardeath}}  
| <div class="grey-color" style="font-size: .8em;">{{#iferror: {{#time: Y | {{{ 8 | }}} }} | {{{ 8 | }}} | {{#time: Y | {{#replaceset:{{{ 8 | }}}|/c\. /=}} }} }} {{#if: {{{ 9 | }}}  
|~ {{#iferror: {{#time: Y | {{#show:{{{1}}}|?yeardeath}} }} | {{#show:{{{1}}}|?yeardeath}} | {{#time: Y | {{#show:{{{1}}}|?yeardeath}} }} }}
|~ {{#iferror: {{#time: Y | {{{ 9 | }}} }} | {{{ 9 | }}} | {{#time: Y | {{{ 9 | }}} }} }}
|
|
}}</div>
}}</div>

Revision as of 16:12, 14 January 2025

{{{1}}}