Template:LazyTextSection: Difference between revisions

From Bodhicitta
(VSCode edit)
Tag: Manual revert
(VSCode edit)
Line 1: Line 1:
<includeonly>{{#if:{{{directContent|}}}{{{ PdfLink | }}}
<includeonly>{{#if:{{{ VersionContentSubpage | }}}
|{{{header|}}}
|{{{header|}}}
{{SubpageSourceTable
{{SubpageSourceTable
|{{{ source | }}}
|{{{ source | }}}
|{{{ sourceDate | }}}
|{{{ sourceDate | }}}
|{{{ PdfLink | }}}|{{{ suffix | }}}|{{{ TsadraVersion | }}}}}
|{{{ PdfLink | }}}|{{{ suffix | }}}|{{{ TsadraVersion | }}}}}
<div class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}">{{#if:{{{directContent|}}}
<div class="lazy-load-section tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}" data-page="{{PAGENAME}}/{{{ VersionContentSubpage | }}}" data-button-label="{{{buttonLabel|Load content}}}" data-button-class="{{{buttonClass|}}}" data-loading-label="{{{loadingLabel|Loading...}}}"></div>
|{{{directContent|}}}
|{{#if:{{{directContent|}}}{{{ PdfLink | }}}
|<center>[[{{{ PdfLink | }}}|300px|class=rounded-lg shadow|link={{filepath:{{PAGENAME:{{{ PdfLink | }}}}}}}]]</center>
}}</div>
|{{#ifexist:{{PAGENAME}}/{{{suffix|}}}
|{{{header|}}}
|{{{header|}}}
{{SubpageSourceTable
{{SubpageSourceTable
|{{{ source | }}}
|{{{ source | }}}
|{{{ sourceDate | }}}
|{{{ sourceDate | }}}
|{{{ PdfLink | }}}|{{{ suffix | }}}|{{{ TsadraVersion | }}}}}
|{{{ PdfLink | }}}|{{{ suffix | }}}|{{{ TsadraVersion | }}}}}
<div class="lazy-load-section tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}" data-page="{{PAGENAME}}/{{{suffix|}}}" data-button-label="{{{buttonLabel|Load content}}}" data-button-class="{{{buttonClass|}}}" data-loading-label="{{{loadingLabel|Loading...}}}"></div>
<div class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}">{{#if:{{{directContent|}}}
|
|{{{directContent|}}}
|<center>[[{{{ PdfLink | }}}|300px|class=rounded-lg shadow|link={{filepath:{{PAGENAME:{{{ PdfLink | }}}}}}}]]</center>
}}</div>
|{{#ifexist:{{PAGENAME}}/{{{suffix|}}}
|{{{header|}}}
{{SubpageSourceTable
|{{{ source | }}}
|{{{ sourceDate | }}}
|{{{ PdfLink | }}}|{{{ suffix | }}}|{{{ TsadraVersion | }}}}}
<div class="lazy-load-section tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}" data-page="{{PAGENAME}}/{{{suffix|}}}" data-button-label="{{{buttonLabel|Load content}}}" data-button-class="{{{buttonClass|}}}" data-loading-label="{{{loadingLabel|Loading...}}}"></div>
|
}}
}}
}}
}}</includeonly>
}}</includeonly>

Revision as of 16:42, 4 February 2026