Difference between revisions of "Template:TextsInPosition"

From Buddha-Nature
((by SublimeText.Mediawiker))
 
((by SublimeText.Mediawiker))
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="{{{ margins | mt-0 mb-0 mr-0 mr-lg-3 }}} text-center float-left" style="width: 150px; height: {{{ height | 222px }}};">
+
<includeonly><div class="filterable col-md-6 px-0 pr-3"><noglossary>
<div class="position-relative grey-hoverlay py-2" style="border-radius: 5px;">
+
<div class="bnw-page-tile pop-hover mt-1 mb-3 position-relative link-no-border">
<div class="position-relative">{{#widget:PersonPageRoundImage
+
<div class="tile-image-wrapper">{{#widget:DivWithBackImg
|filepath={{filepath:Sutra.jpg|150}}
+
|src={{filepath:{{{ 2 | }}}|{{#switch: {{{ 3 | }}}
|size=100px
+
|Tibetan Text
|depth=1
+
|Sanskrit Text
|link={{{1}}}
+
|Chinese Text
|classes=mx-auto my-2
+
|Korean Text=800
|linkclasses=none
+
|300
}}{{#switch: {{{ 2 | }}}  
+
}} }}
|true
+
|imageposition=center
|Qualified Yes
+
|classes=tile-image
|Qualified No=<div class="position-absolute" style="bottom: -7px; right: 20px;"><i class="fad fa-exclamation-circle fa-xs ml-2" style="color: #ba1b1d;" title="This is a nuanced position. Read notes for details." name="This is a nuanced position. Read notes for details."></i></div>
+
|styles=none
|
 
 
}}
 
}}
 
</div>
 
</div>
<div style="text-align: center; margin: .6em auto; font-size: .8em; max-width: 140px;">
+
<div class="tile-content">
<div class="line12">{{#if: {{#show:{{{1}}}|?MainNamePhon}}
+
<div class="tile-content-header clipped-2-lines">{{{ 5 | }}}</div>
|{{#show:{{{1}}}|?MainNamePhon}}
+
<hr class="tile-divider">
|{{#if: {{#show:{{{1}}}|?MainNameSkt}}
+
<div class="tile-description clipped-4-lines">{{{ 6 | }}}</div>
| {{#show:{{{1}}}|?MainNameSkt}}
+
</div>{{#switch: {{{ 4 | }}}  
| {{#if: {{#show:{{{1}}}|?namefirst}} {{#show:{{{1}}}|?namelast}}
+
|true
| {{#show:{{{1}}}|?namefirst}} {{#show:{{{1}}}|?namelast}}
+
|Qualified Yes
| {{#ifexist: {{{1|}}}
+
|Qualified No=<div class="position-absolute" style="bottom: 7px; right: 7px;"><i class="fad fa-exclamation-circle" style="color: #ba1b1d;" title="This is a nuanced position. Read notes for details." name="This is a nuanced position. Read notes for details."></i></div>
| {{SUBPAGENAME:{{{1}}}}}
+
|
| <span style="color: rgb(146, 27, 38);">{{{1}}}</span>
+
}}{{#widget:OverlayLink
}}
+
|link=/index.php/{{urlencode:{{{ 1 | }}}|WIKI}}
}}
+
|classes=no-classes
}}
+
|target=_self
}}
+
|title={{{ 1 | }}}
</div>{{#ifeq: {{{ showdates | }}} | no | | {{#if: {{#show:{{{1}}}|?yearbirth}}
+
}}
| <div class="grey-color" style="font-size: .8em;">{{#iferror: {{#time: Y | {{#show:{{{1}}}|?yearbirth}} }} | {{#show:{{{1}}}|?yearbirth}} | {{#time: Y | {{#replaceset:{{#show:{{{1}}}|?yearbirth}}|/c\. /=}} }} }} {{#if: {{#show:{{{1}}}|?yeardeath}}  
+
</div></noglossary>
|~ {{#iferror: {{#time: Y | {{#show:{{{1}}}|?yeardeath}} }} | {{#show:{{{1}}}|?yeardeath}} | {{#time: Y | {{#show:{{{1}}}|?yeardeath}} }} }}
 
|
 
}}</div>
 
|
 
}} }}
 
</div>
 
</div>
 
 
</div>
 
</div>
 +
</includeonly><noinclude>{{TemplateTag}}</noinclude>

Latest revision as of 14:04, 24 February 2021