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:{{ | |filepath={{filepath:{{#titleparts:{{PAGENAME:{{{ 3 | }}}}}}}|150}} | ||
|size=100px | |size=100px | ||
|depth=1 | |depth=1 | ||
|classes=mx-auto my-2 | |classes=mx-auto my-2 | ||
|linkclasses=none | |linkclasses=none | ||
}}{{# | }}{{#switch: {{{ 2 | }}} | ||
|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: {{ | <div class="line12">{{#if: {{{ 4 | }}} | ||
|{ | |{{{ 4 | }}} | ||
|{{#if: { | |{{#if: {{{ 5 | }}} | ||
| { | | {{{ 5 | }}} | ||
| {{#if: { | | {{#if: {{{ 6 | }}} {{{ 7 | }}} | ||
| { | | {{{ 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: {{ | </div>{{#ifeq: {{{ showdates | }}} | no | | {{#if: {{{ 8 | }}} | ||
| <div class="grey-color" style="font-size: .8em;">{{#iferror: {{#time: Y | { | | <div class="grey-color" style="font-size: .8em;">{{#iferror: {{#time: Y | {{{ 8 | }}} }} | {{{ 8 | }}} | {{#time: Y | {{#replaceset:{{{ 8 | }}}|/c\. /=}} }} }} {{#if: {{{ 9 | }}} | ||
|~ {{#iferror: {{#time: Y | { | |~ {{#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> |