Template:LazyTextSection: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
Line 1: Line 1:
<includeonly>{{#if:{{{directContent|}}}|
<includeonly>{{#if:{{{directContent|}}}|
{{{header|}}}
{{{header|}}}{{#if:{{{ source | }}}|
{{#if:{{{ FullTextSource | }}}{{{ SktSource | }}}|
{{SubpageSourceTable
{{{!}} class="smwtable-clean th-top-right float-right border tsdwiki-depth-1" style="max-width: 300px;"
|{{{ source | }}}
{{!}}-
|{{{ sourceDate | }}}
! Source
|{{{ PdfLink | }}}
{{!}} {{{ FullTextSource | }}}{{{ SktSource | }}}
|{{{ suffix |}}}
{{!}}-
}}|}}
! Date
{{!}} {{{ FullTextDate | }}}{{{ SktPubDate | }}} {{#if:{{{ PdfLink | }}}{{{ SktPdfLink | }}}|<br>
{{!}}-
{{!}} colspan="2" class="text-center" {{!}} [[{{{ PdfLink | }}}{{{ SktPdfLink | }}}|x50px|link={{{ PdfLink | }}}{{{ SktPdfLink | }}}|border]] | }}
{{!}}-
{{!}} colspan="2" | {{DharmamitraChromeExtNotice}}
{{!}}-
{{!}} colspan="2" id="{{{suffix|}}}-download-button" {{!}}  
{{!}}} | }}
<span class="tibetan-downloadable">{{{directContent|}}}</span>|{{#ifexist:{{PAGENAME}}/{{{suffix|}}}|
<span class="tibetan-downloadable">{{{directContent|}}}</span>|{{#ifexist:{{PAGENAME}}/{{{suffix|}}}|
{{{header|}}}
{{{header|}}}{{#if:{{{ source | }}}|
{{{sourceTable|}}}
{{SubpageSourceTable
|{{{ source | }}}
|{{{ sourceDate | }}}
|{{{ PdfLink | }}}
|{{{ suffix | }}}
}}|}}
<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>
<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>

Revision as of 17:53, 22 January 2026