Template:LazyTextSection: Difference between revisions
From Bodhicitta
(VSCode edit) Tag: Reverted |
(VSCode edit) Tag: Manual revert |
||
| Line 8: | Line 8: | ||
}} | }} | ||
}} | }} | ||
|{{{header|}}} | |{{#ifexist:{{PAGENAME}}/{{{ suffix | }}} | ||
|{{{header|}}} | |||
{{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> | |||
|{{#if:{{{ PdfLink | }}} | |||
|{{{header|}}} | |||
{{SubpageSourceTable|{{{ source | }}}|{{{ sourceDate | }}}|{{{ PdfLink | }}}|{{#if:{{{ VersionContentSubpage | }}}|{{#replace:{{{ VersionContentSubpage | }}}| |_}}|{{{ suffix | }}}}}|{{{ TsadraVersion | }}}}} | |||
<center>[[File:{{PAGENAMEE:{{{ PdfLink | }}}}}|300px|class=rounded-lg shadow|link={{filepath: {{#titleparts: {{PAGENAME: {{{ PdfLink | }}} }} }} }}]]</center> | |||
| | |||
}} | |||
}} | }} | ||
}}</includeonly> | }}</includeonly> | ||