Template:LazyTextSection: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
Line 1: Line 1:
<includeonly>{{#if:{{{directContent|}}}|
<includeonly>{{#if:{{{directContent|}}}
{{{header|}}}{{#if:{{{ source | }}}|
|{{{header|}}}{{#if:{{{ source | }}}
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{{ suffix  | }}}|}}
|{{SubpageSourceTable
<span class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-130}}">{{{directContent|}}}</span>|{{#ifexist:{{PAGENAME}}/{{{suffix|}}}|
|{{{ source | }}}
{{{header|}}}{{#if:{{{ source | }}}|
|{{{ sourceDate | }}}
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{{ suffix | }}}|}}
|{{{ PdfLink | }}}
<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>
|{{{ suffix  | }}}
}}
|
}}
<span class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-130}}">{{{directContent|}}}</span>
|{{#ifexist:{{PAGENAME}}/{{{suffix|}}}
|{{{header|}}}{{#if:{{{ source | }}}
|{{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>

Revision as of 18:02, 22 January 2026