Template:PeopleMentionedMediaTopicPage: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
 
((by SublimeText.Mediawiker))
 
(7 intermediate revisions by the same user not shown)
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
|link={{{1}}}
|classes=mx-auto my-2
|classes=mx-auto my-2
|linkclasses=none
|linkclasses=none
}}{{#ifeq: {{{ 2 | }}} | true |
}}{{#switch: {{{ 2 | }}}  
<div class="position-absolute" style="bottom: 0; right: 0;"><i class="fad fa-exclamation-circle fa-xs ml-2" style="color: #ba1b1d;" title="This is a nuanced position. Read notes for details." name="This is a nuanced position. Read notes for details."></i></div> | }}
|true
|Qualified Yes
|Qualified No=<div class="position-absolute" style="bottom: -7px; right: 20px;"><i class="fad fa-exclamation-circle fa-xs ml-2" style="color: #ba1b1d;" title="This is a nuanced position. Read notes for details." name="This is a nuanced position. Read notes for details."></i></div>
|
}}
</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 | }}}}}
| <span style="color: rgb(146, 27, 38);">{{{1}}}</span>
| <span style="color: rgb(146, 27, 38);">{{{ 1 | }}}</span>
}}
}}
}}
}}
}}
}}
}}
}}
</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>
|
|
}} }}
}} }}
</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 16:13, 14 January 2025