Template:LazyTextSection: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
 
(24 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{ VersionContentSubpage | }}}
<includeonly>{{#if:{{{ VersionContentSubpage | }}}{{{ directContent | }}}
|{{{header|}}}
|{{{header|}}}
{{SubpageSourceTable
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{#if:{{{ VersionContentSubpage | }}}|{{#replace:{{{ VersionContentSubpage | }}}| |_}}|{{{ suffix  | }}}}}|{{{ TsadraVersion | }}}}}{{#if: {{{ directContent | }}}
|{{{ source | }}}
|<noglossary><div class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}">{{{ directContent | }}}</div></noglossary>
|{{{ sourceDate | }}}
|{{#if:{{{ VersionContentSubpage | }}}
|{{{ PdfLink | }}}|{{#replace:{{{ VersionContentSubpage | }}}| |_}}|{{{ TsadraVersion | }}}}}
|<noglossary><div class="lazy-load-section noglossary tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150|{{#ifeq:{{#switch:{{{ VersionLanguage | }}}
<div class="lazy-load-section tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}" data-page="{{PAGENAME}}/{{{ VersionContentSubpage | }}}" data-button-label="{{{buttonLabel|Load content}}}" data-button-class="{{{buttonClass|}}}" data-loading-label="{{{loadingLabel|Loading...}}}"></div>
|Tibetan=tib
|{{#if:{{{directContent|}}}{{{ PdfLink | }}}
|Sanskrit=Skt
|Wylie=wyl
}}
|tib
|text-150
|
}}}}" data-page="{{PAGENAME}}/{{{ VersionContentSubpage | }}}" data-button-label="{{{ buttonLabel | Load content}}}" data-button-class="{{{ buttonClass | }}}" data-loading-label="{{{ loadingLabel |Loading... }}}"></div></noglossary>
|
}}
}}
|{{#ifexist:{{PAGENAME}}/{{{ suffix | }}}
|{{{header|}}}
|{{{header|}}}
{{SubpageSourceTable
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{#if:{{{ VersionContentSubpage | }}}|{{#replace:{{{ VersionContentSubpage | }}}| |_}}|{{{ suffix  | }}}}}|{{{ TsadraVersion | }}}}}
|{{{ source | }}}
<noglossary><div class="lazy-load-section tibetan-downloadable {{#ifeq:{{{ suffix | }}}
|{{{ sourceDate | }}}
|tib
|{{{ PdfLink | }}}|{{{ suffix  | }}}|{{{ TsadraVersion | }}}}}
|text-150
<div class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}">{{#if:{{{directContent|}}}
|{{#ifeq:{{#switch:{{{ VersionLanguage | }}}
|{{{directContent|}}}
|Tibetan=tib
|<center>[[{{{ PdfLink | }}}|300px|class=rounded-lg shadow|link={{filepath:{{PAGENAME:{{{ PdfLink | }}}}}}}]]</center>
|Sanskrit=Skt
}}</div>
|Wylie=wyl
|{{#ifexist:{{PAGENAME}}/{{{suffix|}}}
}}
|tib
|text-150
|
}}
}}" data-page="{{PAGENAME}}/{{{ suffix | }}}" data-button-label="{{{ buttonLabel | Load content}}}" data-button-class="{{{ buttonClass | }}}" data-loading-label="{{{ loadingLabel | Loading... }}}"></div></noglossary>
|{{#if:{{{ PdfLink | }}}
|{{{header|}}}
|{{{header|}}}
{{SubpageSourceTable
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{#if:{{{ VersionContentSubpage | }}}|{{#replace:{{{ VersionContentSubpage | }}}| |_}}|{{{ suffix | }}}}}|{{{ TsadraVersion | }}}}}
|{{{ source | }}}
<center>[[File:{{PAGENAMEE:{{{ PdfLink | }}}}}|300px|class=rounded-lg shadow|link={{filepath: {{#titleparts: {{PAGENAME: {{{ PdfLink | }}} }} }} }}]]</center>
|{{{ sourceDate | }}}
|{{{ PdfLink | }}}|{{{ suffix | }}}|{{{ TsadraVersion | }}}}}
<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>

Latest revision as of 16:04, 4 September 2026