Template:LazyTextSection: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| Line 4: | Line 4: | ||
|{{{ source | }}} | |{{{ source | }}} | ||
|{{{ sourceDate | }}} | |{{{ sourceDate | }}} | ||
|{{{ PdfLink | }}} | |{{{ PdfLink | }}}|{{{ suffix | }}}}} | ||
<div class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}">{{{directContent|}}}</div> | <div class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}">{{{directContent|}}}</div> | ||
|{{#ifexist:{{PAGENAME}}/{{{suffix|}}} | |{{#ifexist:{{PAGENAME}}/{{{suffix|}}} | ||
| Line 12: | Line 11: | ||
|{{{ source | }}} | |{{{ source | }}} | ||
|{{{ sourceDate | }}} | |{{{ sourceDate | }}} | ||
|{{{ PdfLink | }}} | |{{{ PdfLink | }}}|{{{ suffix | }}}}} | ||
<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="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> | ||