Difference between revisions of "Template:ArticleAuthors"
From Buddha-Nature
((by SublimeText.Mediawiker)) |
m (Text replacement - "images-commons" to "images") |
||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div class="bnw-author-description">{{#arraydefine:ppl| | + | <includeonly><div class="bnw-author-description">{{#arraydefine:ppl|{{{ 1 | }}}|;}}{{#arrayunique:ppl}} |
{{#arraymap: {{#arrayprint:ppl|;}} | {{#arraymap: {{#arrayprint:ppl|;}} | ||
| ; | | ; | ||
Line 5: | Line 5: | ||
| {{#ifexist: @@@ | | {{#ifexist: @@@ | ||
| <div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage | | <div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage | ||
− | |filepath= {{#show: @@@ |? | + | |filepath={{#if: {{#show: @@@ |?FirstImage# }} |
− | |link=People/@@@ | + | | {{#ifeq: {{#show: @@@ |?FirstImage# }} |
+ | | File:Noimagefound.jpg | ||
+ | | https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | ||
+ | | {{filepath:{{#titleparts:{{PAGENAME:{{#show: @@@ |?FirstImage# }}}}}}|300}} | ||
+ | }} | ||
+ | | https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | ||
+ | }} | ||
+ | |link={{#ifexist: People/@@@ | ||
+ | |People/@@@ | ||
+ | |@@@ | ||
+ | }} | ||
|size=200px | |size=200px | ||
|depth=2 | |depth=2 | ||
Line 13: | Line 23: | ||
}} | }} | ||
− | <span style="font-size: 1.3em;">{{#if: {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }} }}</span> | + | <span style="font-size: 1.3em;">{{#if: {{#show: @@@ |?MainNamePhon }} |
+ | | {{#show: @@@ |?MainNamePhon }} | ||
+ | | {{#if: {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }} | ||
+ | |{{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }} | ||
+ | |{{PAGENAME:@@@}} | ||
+ | }} | ||
+ | }}</span> | ||
</div> | </div> | ||
| <div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage | | <div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage | ||
− | |filepath= https://commons.tsadra.org/images | + | |filepath= https://commons.tsadra.org/images/f/f6/Teaching_Mudra_2.jpg |
|link=People/@@@ | |link=People/@@@ | ||
|size=200px | |size=200px | ||
Line 24: | Line 40: | ||
}} | }} | ||
− | <span style="font-size: 1.3em | + | <span style="font-size: 1.3em;">@@@{{#ifsysop:<br><small style="color: darkred; line-height: 1;">''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:@@@|WIKI}}&action=edit&preload=Template:AddPersonCallTag | |link=/index.php?title=People/{{urlencode:@@@|WIKI}}&action=edit&preload=Template:AddPersonCallTag | ||
|classes=none | |classes=none |