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:{{{ | {{SubpageSourceTable | ||
{{ | |{{{ source | }}} | ||
|{{{ sourceDate | }}} | |||
|{{{ PdfLink | }}} | |||
|{{{ suffix |}}} | |||
}}|}} | |||
<span class="tibetan-downloadable">{{{directContent|}}}</span>|{{#ifexist:{{PAGENAME}}/{{{suffix|}}}| | <span class="tibetan-downloadable">{{{directContent|}}}</span>|{{#ifexist:{{PAGENAME}}/{{{suffix|}}}| | ||
{{{header|}}} | {{{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> | <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> | ||