Template:LazyTextSection: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{directContent|}}}| | <includeonly>{{#if:{{{directContent|}}}| | ||
{{{header|}}} | {{{header|}}} | ||
{{{ | {{#if:{{{ FullTextSource | }}}{{{ SktSource | }}}| | ||
{{SubpageSourceTable|{{{ SktSource | }}}|{{{ SktPubDate | }}}|{{{ SktPdfLink | }}}}} | |||
{{{!}} class="smwtable-clean th-top-right float-right border tsdwiki-depth-1" style="max-width: 300px;" | |||
{{!}}- | |||
! Source | |||
{{!}} {{{ FullTextSource | }}} | |||
{{!}}- | |||
! Date | |||
{{!}} {{{ FullTextDate | }}} {{#if:{{{ PdfLink | }}}|<br> | |||
{{!}}- | |||
{{!}} colspan="2" class="text-center" {{!}} [[{{{ PdfLink | }}}|x50px|link={{{ PdfLink | }}}|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|}}} | ||
{{{sourceTable|}}} | {{{sourceTable|}}} | ||
<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> | ||