Template:Book-person: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
m (Text replacement - "images-commons" to "images") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|PersonPage={{{ PersonPage | }}} | |PersonPage={{{ PersonPage | }}} | ||
}}{{#widget:PersonPageRoundImage | }}{{#widget:PersonPageRoundImage | ||
|filepath={{#show: {{{ PersonPage | }}} |? | |filepath={{filepath:{{#titleparts:{{PAGENAME:{{#show: {{{ PersonPage | }}} |?FirstImage#}}}}}}|300}} | ||
|link={{{ PersonPage | }}} | |link={{{ PersonPage | }}} | ||
|linkclasses=none | |linkclasses=none | ||
Line 14: | Line 14: | ||
</div> | | </div> | | ||
<div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage | <div class="position-relative p-2 grey-hoverlay text-center">{{#widget:PersonPageRoundImage | ||
|filepath= https://commons.tsadra.org/images | |filepath= https://commons.tsadra.org/images/f/f6/Teaching_Mudra_2.jpg | ||
|link={{{ PersonPage | }}} | |link={{{ PersonPage | }}} | ||
|size=200px | |size=200px | ||
Line 23: | Line 23: | ||
}} | }} | ||
<span style="font-size: 1.3em; line-height: 1;"> | <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 | ||
|link=/index.php?title=People/{{urlencode:{{PAGENAME:{{{ PersonPage | }}}}}|WIKI}}&action=edit&preload=Template:AddPersonCallTag | |link=/index.php?title=People/{{urlencode:{{PAGENAME:{{{ PersonPage | }}}}}|WIKI}}&action=edit&preload=Template:AddPersonCallTag | ||
|classes=none | |classes=none | ||
|target=_blank | |target=_blank | ||
|title= | |title={{{ PersonName | }}} | ||
}} | }} | ||
</div> }} | </div> }} |