Template:PeopleMentionedMedia: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="mt-0 mb-0 mr-0 mr-lg-3 text-center float-left" style="width: 150px; height: 222px;"> | <div class="{{{ margins | mt-0 mb-0 mr-0 mr-lg-3 }}} text-center float-left" style="width: 150px; height: {{{ height | 222px }}};"> | ||
<div class="position-relative grey-hoverlay py-2" style="border-radius: 5px;">{{#widget:PersonPageRoundImage | <div class="position-relative grey-hoverlay py-2" style="border-radius: 5px;">{{#widget:PersonPageRoundImage | ||
|filepath={{filepath:{{#titleparts:{{PAGENAME:{{#show:{{{1}}}|?FirstImage#}}}}}}|150}} | |filepath={{filepath:{{#titleparts:{{PAGENAME:{{#show:{{{1}}}|?FirstImage#}}}}}}|150}} | ||
Line 22: | Line 22: | ||
}} | }} | ||
}} | }} | ||
</div>{{#if: {{#show:{{{1}}}|?yearbirth}} | </div>{{#ifeq: {{{ showdates | }}} | 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 | {{#replaceset:{{#show:{{{1}}}|?yearbirth}}|/c\. /=}} }} }} {{#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}} }} }} | ||
| | | | ||
}}</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 |