Template:ArticleAuthors: Difference between revisions
From Buddha-Nature
((by SublimeText.Mediawiker)) |
((by SublimeText.Mediawiker)) |
||
(53 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class=" | <includeonly><div class="text-article p-2">{{#arraydefine:ppl|{{{ 1 | }}}|;}}{{#arrayunique:ppl}} | ||
{{#arraymap: {{#arrayprint:ppl|;}} | {{#arraymap: {{#arrayprint:ppl|;}} | ||
| ; | | ; | ||
| @@@ | | @@@ | ||
| {{#ifexist: | | {{#ifexist: @@@ | ||
| <div class="position-relative p-2 | | <div class="d-flex align-items-center justify-content-start position-relative p-2 clearfix"> | ||
|filepath= {{#show: @@@ |? | <div class="mr-3" style="width: 70px !important; height: 70px !important;">{{#widget:PersonPageRoundImage | ||
|filepath={{#if: {{#show: @@@ |?FirstImage# }} | |||
|size= | | {{#ifeq: {{#show: @@@ |?FirstImage# }} | ||
| File:Noimagefound.jpg | |||
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | |||
| {{filepath:{{#titleparts:{{PAGENAME:{{#show: @@@ |?FirstImage# }}}}}}|100}} | |||
}} | |||
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png | |||
}} | |||
|size=70px | |||
|depth=2 | |depth=2 | ||
|linkclasses=none | |linkclasses=none | ||
|classes= | }}</div> | ||
<div>{{#if: {{#show: @@@ |?MainNamePhon }} | |||
| {{#show: @@@ |?MainNamePhon }} | |||
| {{#if: {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }} | |||
|{{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }} | |||
|{{PAGENAME:@@@}} | |||
}} | |||
}}</div>{{#widget:OverlayLink | |||
|link=/index.php?title={{#ifexist: People/@@@ | |||
|People/@@@ | |||
|@@@ | |||
}} | |||
|classes=grey-hoverlay | |||
|title=@@@ | |||
}} | }} | ||
</div> | </div> | ||
| <div class="position-relative p-2 | | <div class="d-flex align-items-center justify-content-start position-relative p-2 clearfix">{{#widget:PersonPageRoundImage | ||
|filepath= https://commons.tsadra.org/images | |filepath= https://commons.tsadra.org/images/f/f6/Teaching_Mudra_2.jpg | ||
|size=70px | |||
|size= | |||
|depth=2 | |depth=2 | ||
|linkclasses=none | |linkclasses=none | ||
|classes= | |classes=mr-3 | ||
}} | }} | ||
< | <div>@@@{{#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>}}</div>{{#widget:OverlayLink | ||
|link=/index.php?title=People/{{urlencode:@@@|WIKI}}&action=edit&preload=Template:AddPersonCallTag | |||
|classes=none | |||
|target=_blank | |||
|title=@@@ | |||
}} | |||
</div> | </div> | ||
}} | }} |