Difference between revisions of "Template:ArticleAuthors"

From Buddha-Nature
((by SublimeText.Mediawiker))
m (Text replacement - "images-commons" to "images")
 
(27 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
| ;  
 
| ;  
 
| @@@
 
| @@@
| <div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage
+
| {{#ifexist: @@@
|filepath= {{#show: @@@ |?FirstImageURL }}  
+
| <div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage
|link=People/@@@
+
|filepath={{#if: {{#show: @@@ |?FirstImage# }}
|size=200px
+
| {{#ifeq: {{#show: @@@ |?FirstImage# }}
|depth=2
+
| File:Noimagefound.jpg
|linkclasses=none
+
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png
|classes=m-auto
+
| {{filepath:{{#titleparts:{{PAGENAME:{{#show: @@@ |?FirstImage# }}}}}}|300}}
}}
+
}}
+
| https://commons.tsadra.org/images/d/db/Teaching_Mudra_2_reduced_opacity.png
<span style="font-size: 1.3em;">{{#if: {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?MainNamePhon }} | {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }} }}</span>
+
}}
</div>
+
|link={{#ifexist: People/@@@
 +
|People/@@@
 +
|@@@
 +
}}
 +
|size=200px
 +
|depth=2
 +
|linkclasses=none
 +
|classes=m-auto
 +
}}
 +
 +
<span style="font-size: 1.3em;">{{#if: {{#show: @@@ |?MainNamePhon }}  
 +
| {{#show: @@@ |?MainNamePhon }}  
 +
| {{#if: {{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }}
 +
|{{#show: @@@ |?namefirst }} {{#show: @@@ |?namelast }}
 +
|{{PAGENAME:@@@}}
 +
}}
 +
}}</span>
 +
</div>
 +
| <div class="position-relative p-2 grey-hoverlay">{{#widget:PersonPageRoundImage
 +
|filepath= https://commons.tsadra.org/images/f/f6/Teaching_Mudra_2.jpg
 +
|link=People/@@@
 +
|size=200px
 +
|depth=2
 +
|linkclasses=d-none
 +
|classes=m-auto
 +
}}
 +
 +
<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
 +
|classes=none
 +
|target=_blank
 +
|title=@@@
 +
}}
 +
</div>
 +
}}
 
|
 
|
 
}}
 
}}
 
</div></includeonly><noinclude>{{TemplateTag}}</noinclude>
 
</div></includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 14:20, 1 February 2023