Template:LazyTextSection: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
 
Line 2: Line 2:
|{{{header|}}}
|{{{header|}}}
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{#if:{{{ VersionContentSubpage | }}}|{{#replace:{{{ VersionContentSubpage | }}}| |_}}|{{{ suffix  | }}}}}|{{{ TsadraVersion | }}}}}{{#if: {{{ directContent | }}}
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{#if:{{{ VersionContentSubpage | }}}|{{#replace:{{{ VersionContentSubpage | }}}| |_}}|{{{ suffix  | }}}}}|{{{ TsadraVersion | }}}}}{{#if: {{{ directContent | }}}
|<div class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}">{{{ directContent | }}}</div>
|<noglossary><div class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}">{{{ directContent | }}}</div></noglossary>
|{{#if:{{{ VersionContentSubpage | }}}
|{{#if:{{{ VersionContentSubpage | }}}
|<div class="lazy-load-section noglossary tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150|{{#ifeq:{{#switch:{{{ VersionLanguage | }}}
|<noglossary><div class="lazy-load-section noglossary tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150|{{#ifeq:{{#switch:{{{ VersionLanguage | }}}
|Tibetan=tib
|Tibetan=tib
|Sanskrit=Skt
|Sanskrit=Skt
Line 12: Line 12:
|text-150
|text-150
|
|
}}}}" data-page="{{PAGENAME}}/{{{ VersionContentSubpage | }}}" data-button-label="{{{ buttonLabel | Load content}}}" data-button-class="{{{ buttonClass | }}}" data-loading-label="{{{ loadingLabel |Loading... }}}"></div>
}}}}" data-page="{{PAGENAME}}/{{{ VersionContentSubpage | }}}" data-button-label="{{{ buttonLabel | Load content}}}" data-button-class="{{{ buttonClass | }}}" data-loading-label="{{{ loadingLabel |Loading... }}}"></div></noglossary>
|
|
}}
}}
Line 19: Line 19:
|{{{header|}}}
|{{{header|}}}
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{#if:{{{ VersionContentSubpage | }}}|{{#replace:{{{ VersionContentSubpage | }}}| |_}}|{{{ suffix  | }}}}}|{{{ TsadraVersion | }}}}}
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{#if:{{{ VersionContentSubpage | }}}|{{#replace:{{{ VersionContentSubpage | }}}| |_}}|{{{ suffix  | }}}}}|{{{ TsadraVersion | }}}}}
<div class="lazy-load-section noglossary tibetan-downloadable {{#ifeq:{{{ suffix | }}}
<noglossary><div class="lazy-load-section tibetan-downloadable {{#ifeq:{{{ suffix | }}}
|tib
|tib
|text-150
|text-150
Line 31: Line 31:
|
|
}}
}}
}}" data-page="{{PAGENAME}}/{{{ suffix | }}}" data-button-label="{{{ buttonLabel | Load content}}}" data-button-class="{{{ buttonClass | }}}" data-loading-label="{{{ loadingLabel | Loading... }}}"></div>
}}" data-page="{{PAGENAME}}/{{{ suffix | }}}" data-button-label="{{{ buttonLabel | Load content}}}" data-button-class="{{{ buttonClass | }}}" data-loading-label="{{{ loadingLabel | Loading... }}}"></div></noglossary>
|{{#if:{{{ PdfLink | }}}
|{{#if:{{{ PdfLink | }}}
|{{{header|}}}
|{{{header|}}}

Latest revision as of 16:04, 4 September 2026