Template:Book-person: Difference between revisions

From Buddha-Nature
((by SublimeText.Mediawiker))
((by SublimeText.Mediawiker))
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#ifexist: {{{ PersonPage | }}} | <div class="bnw-author-description text-center grey-hoverlay p-3">{{#subobject:
<includeonly>{{#ifexist: {{{ PersonPage | }}}  
|PersonName={{{ PersonName | }}}
|<div class="d-flex align-items-center justify-content-start position-relative text-article p-2 clearfix">{{#subobject:
|PersonPage={{{ PersonPage | }}}
|PersonName={{{ PersonName | }}}
}}{{#widget:PersonPageRoundImage
|PersonPage={{{ PersonPage | }}}
|filepath={{#show: {{{ PersonPage | }}} |?FirstImageURL#}}
}}
|link={{{ PersonPage | }}}
<div class="mr-3" style="width: 70px !important; height: 70px !important;">{{#widget:PersonPageRoundImage
|linkclasses=none
|filepath={{filepath:{{#titleparts:{{PAGENAME:{{#show: {{{ PersonPage | }}} |?FirstImage#}}}}}}|100}}
|size=200px
|size=70px
|depth=2
|depth=2
|classes=m-auto
}}</div>
}}


<span style="font-size: 1.3em;">[[{{{ PersonPage | }}}|{{{ PersonName | }}}]]</span>
<div>[[{{{ PersonPage | }}}|{{{ PersonName | }}}]]</div>{{#widget:OverlayLink
|link=/index.php/People/{{{ PersonPage | }}}
|classes=grey-hoverlay
|title={{{ PersonName | }}}
}}


</div> |  
</div>  
<div class="position-relative p-2 grey-hoverlay text-center">{{#widget:PersonPageRoundImage
|<div class="d-flex align-items-center justify-content-start position-relative text-article p-2 clearfix">
|filepath= https://commons.tsadra.org/images-commons/f/f6/Teaching_Mudra_2.jpg
<div class="mr-3" style="width: 70px !important; height: 70px !important;">{{#widget:PersonPageRoundImage
|link={{{ PersonPage | }}}
|filepath= https://commons.tsadra.org/images/f/f6/Teaching_Mudra_2.jpg
|size=200px
|size=70px
|depth=2
|depth=2
|linkclasses=d-none
}}</div>
|classes=m-auto
}}
<div>{{{ PersonName | }}}<br><small style="color: darkred;">''Page not created.''<br>Click to create, but first make sure it exists on commons.tsadra.org.</small></div>{{#widget:OverlayLink
|link=/index.php?title=People/{{urlencode:{{PAGENAME:{{{ PersonPage | }}}}}|WIKI}}&action=edit&preload=Template:AddPersonCallTag
<span style="font-size: 1.3em; line-height: 1;">{{{ PersonName | }}}<br><small style="color: darkred;">''Page not created.''<br>Click to create, but first make sure it exists on commons.tsadra.org.</small></span>{{#widget:OverlayLink
|classes=grey-hoverlay
|link=/index.php?title=People/{{urlencode:{{PAGENAME:{{{ PersonPage | }}}}}|WIKI}}&action=edit&preload=Template:AddPersonCallTag
|target=_blank
|classes=none
|title={{{ PersonName | }}}
|target=_blank
}}
|title={{{ PersonName | }}}
</div>  
}}
}}</includeonly>
</div> }}

Latest revision as of 18:34, 16 January 2025