Template:LazyTextSection: Difference between revisions
From Bodhicitta
(VSCode edit) Tag: Manual revert |
(VSCode edit) |
||
| Line 4: | Line 4: | ||
|<div class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}">{{{ directContent | }}}</div> | |<div class="tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150}}">{{{ directContent | }}}</div> | ||
|{{#if:{{{ VersionContentSubpage | }}} | |{{#if:{{{ VersionContentSubpage | }}} | ||
|<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> | |<div class="lazy-load-section tibetan-downloadable {{#ifeq:{{{ suffix | }}}|tib|text-150|{{#ifeq:{{#switch:{{{ VersionLanguage | }}} | ||
|Tibetan=tib | |||
|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> | |||
| | | | ||
}} | }} | ||
| Line 11: | 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 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 | |||
|{{#ifeq:{{#switch:{{{ VersionLanguage | }}} | |||
|Tibetan=tib | |||
|Sanskrit=Skt | |||
|Wylie=wyl | |||
}} | |||
|tib | |||
|text-150 | |||
| | |||
}} | |||
}}" data-page="{{PAGENAME}}/{{{ suffix | }}}" data-button-label="{{{ buttonLabel | Load content}}}" data-button-class="{{{ buttonClass | }}}" data-loading-label="{{{ loadingLabel | Loading... }}}"></div> | |||
|{{#if:{{{ PdfLink | }}} | |{{#if:{{{ PdfLink | }}} | ||
|{{{header|}}} | |{{{header|}}} | ||