Template:LazyTextSection: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
 
(52 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{directContent|}}}|
<includeonly>{{#if:{{{ VersionContentSubpage | }}}{{{ directContent | }}}
{{{header|}}}
|{{{header|}}}
{{#if:{{{ FullTextSource | }}}{{{ SktSource | }}}|
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{#if:{{{ VersionContentSubpage | }}}|{{#replace:{{{ VersionContentSubpage | }}}| |_}}|{{{ suffix  | }}}}}|{{{ TsadraVersion | }}}}}{{#if: {{{ directContent | }}}
 
|<noglossary><div class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}">{{{ directContent | }}}</div></noglossary>
|{{#if:{{{ VersionContentSubpage | }}}
{{SubpageSourceTable|{{{ SktSource | }}}|{{{ SktPubDate | }}}|{{{ SktPdfLink | }}}}}
|<noglossary><div class="lazy-load-section noglossary tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150|{{#ifeq:{{#switch:{{{ VersionLanguage | }}}
 
|Tibetan=tib
 
|Sanskrit=Skt
{{{!}} class="smwtable-clean th-top-right float-right border tsdwiki-depth-1" style="max-width: 300px;"
|Wylie=wyl
{{!}}-
}}
! Source
|tib
{{!}} {{{ FullTextSource | }}}
|text-150
{{!}}-
|
! Date
}}}}" data-page="{{PAGENAME}}/{{{ VersionContentSubpage | }}}" data-button-label="{{{ buttonLabel | Load content}}}" data-button-class="{{{ buttonClass | }}}" data-loading-label="{{{ loadingLabel |Loading... }}}"></div></noglossary>
{{!}} {{{ FullTextDate | }}} {{#if:{{{ PdfLink | }}}|<br>
|
{{!}}-
}}
{{!}} colspan="2" class="text-center" {{!}} [[{{{ PdfLink | }}}|x50px|link={{{ PdfLink | }}}|border]] | }}
}}  
{{!}}-
|{{#ifexist:{{PAGENAME}}/{{{ suffix | }}}
{{!}} colspan="2" | {{DharmamitraChromeExtNotice}}
|{{{header|}}}
{{!}}-
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{#if:{{{ VersionContentSubpage | }}}|{{#replace:{{{ VersionContentSubpage | }}}| |_}}|{{{ suffix  | }}}}}|{{{ TsadraVersion | }}}}}
{{!}} colspan="2" id="{{{suffix|}}}-download-button" {{!}}  
<noglossary><div class="lazy-load-section tibetan-downloadable {{#ifeq:{{{ suffix | }}}
{{!}}}
|tib
<span class="tibetan-downloadable">{{{directContent|}}}</span>|{{#ifexist:{{PAGENAME}}/{{{suffix|}}}|
|text-150
{{{header|}}}
|{{#ifeq:{{#switch:{{{ VersionLanguage | }}}
{{{sourceTable|}}}
|Tibetan=tib
<div class="lazy-load-section tibetan-downloadable" data-page="{{PAGENAME}}/{{{suffix|}}}" data-button-label="{{{buttonLabel|Load content}}}" data-button-class="{{{buttonClass|}}}" data-loading-label="{{{loadingLabel|Loading...}}}"></div>|}} }}</includeonly>
|Sanskrit=Skt
|Wylie=wyl
}}
|tib
|text-150
|
}}
}}" data-page="{{PAGENAME}}/{{{ suffix | }}}" data-button-label="{{{ buttonLabel | Load content}}}" data-button-class="{{{ buttonClass | }}}" data-loading-label="{{{ loadingLabel | Loading... }}}"></div></noglossary>
|{{#if:{{{ PdfLink | }}}
|{{{header|}}}
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{#if:{{{ VersionContentSubpage | }}}|{{#replace:{{{ VersionContentSubpage | }}}| |_}}|{{{ suffix  | }}}}}|{{{ TsadraVersion | }}}}}
<center>[[File:{{PAGENAMEE:{{{ PdfLink | }}}}}|300px|class=rounded-lg shadow|link={{filepath: {{#titleparts: {{PAGENAME: {{{ PdfLink | }}} }} }} }}]]</center>
|
}}
}}
}}</includeonly>

Latest revision as of 16:04, 4 September 2026