Template:Book-person: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#ifexist: {{{ PersonPage | }}} | <div class=" | <includeonly>{{#ifexist: {{{ PersonPage | }}} | ||
|<div class="d-flex align-items-center justify-content-start position-relative text-article p-2 clearfix">{{#subobject: | |||
|PersonName={{{ PersonName | }}} | |||
}}{{#widget:PersonPageRoundImage | |PersonPage={{{ PersonPage | }}} | ||
}} | |||
<div class="mr-3" style="width: 70px !important; height: 70px !important;">{{#widget:PersonPageRoundImage | |||
|filepath={{filepath:{{#titleparts:{{PAGENAME:{{#show: {{{ PersonPage | }}} |?FirstImage#}}}}}}|100}} | |||
|size=70px | |||
|depth=2 | |||
}}</div> | |||
}} | |||
< | <div>[[{{{ PersonPage | }}}|{{{ PersonName | }}}]]</div>{{#widget:OverlayLink | ||
|link=/index.php/People/{{{ PersonPage | }}} | |||
|classes=grey-hoverlay | |||
|title={{{ PersonName | }}} | |||
}} | |||
</div> | | </div> | ||
<div class="position-relative p-2 | |<div class="d-flex align-items-center justify-content-start position-relative text-article p-2 clearfix"> | ||
<div class="mr-3" style="width: 70px !important; height: 70px !important;">{{#widget:PersonPageRoundImage | |||
|filepath= https://commons.tsadra.org/images/f/f6/Teaching_Mudra_2.jpg | |||
|size=70px | |||
|depth=2 | |||
}}</div> | |||
<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 | |||
|classes=grey-hoverlay | |||
|target=_blank | |||
|title={{{ PersonName | }}} | |||
}} | |||
</div> | |||
}}</includeonly> | |||
</div> }} |