Difference between revisions of "Template:MiniTile"

From Buddha-Nature
m (Text replacement - "http://commons" to "https://commons")
m (Text replacement - "images-commons" to "images")
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><noglossary><div class="bnw-mini-tile position-relative link-no-border">{{#widget:OverlayLink|link=/index.php/{{urlencode:{{{1}}}|WIKI}}|classes=grey-hoverlay}}
+
<includeonly><noglossary><div class="bnw-mini-tile position-relative link-no-border">
 
<div class="float-left mr-2 position-relative text-center h-100" style="width: 50px;">{{#widget:PersonPageRoundImage
 
<div class="float-left mr-2 position-relative text-center h-100" style="width: 50px;">{{#widget:PersonPageRoundImage
 
|filepath={{#if: {{{20|}}}  
 
|filepath={{#if: {{{20|}}}  
| https://commons.tsadra.org/images-commons/a/a1/Sort-alpha-down-light.png
+
| https://commons.tsadra.org/images/a/a1/Sort-alpha-down-light.png
 
| {{#if: {{{10|}}}  
 
| {{#if: {{{10|}}}  
 
| {{filepath:{{#titleparts:{{PAGENAME:{{{10}}}}}}}}}  
 
| {{filepath:{{#titleparts:{{PAGENAME:{{{10}}}}}}}}}  
Line 41: Line 41:
 
|depth=1
 
|depth=1
 
|link={{{1|}}}
 
|link={{{1|}}}
 +
|classes=none
 
|linkclasses=tile-image
 
|linkclasses=tile-image
 
}}
 
}}
 
</div>
 
</div>
<div class="tile-content d-flex align-items-center"><p class="m-0">{{{ #userparam | }}}</p></div>
+
<div class="tile-content d-flex align-items-center"><p class="m-0">{{{ #userparam | }}}</p></div>{{#widget:OverlayLink
 +
|link=/index.php/{{urlencode:{{{1}}}|WIKI}}
 +
|classes=grey-hoverlay
 +
|target=_self
 +
|title={{{1}}}
 +
}}
 
</div></noglossary>
 
</div></noglossary>
 
</includeonly><noinclude>{{TemplateTag}}</noinclude>
 
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 14:21, 1 February 2023