Template:ReadingRoomText: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| Line 15: | Line 15: | ||
</div> | </div> | ||
<div class="row justify-content-center">{{#if:{{{ coverImg | }}} | | <div class="row justify-content-center">{{#if:{{{ coverImg | }}} | | ||
<div class="col-8 col-sm-6 col-md-4 col-lg-3 pr-md-0 pb-4">[[{{{ coverImg | }}}|400px|class=mt-2 w-100 h-auto rounded-xl shadow-sm]]</div> | <div class="col-8 col-sm-6 col-md-4 col-lg-3 pr-md-0 pb-4">[[{{{ coverImg | }}}|400px|class=fancybox mt-2 w-100 h-auto rounded-xl shadow-sm]]</div> | ||
<div class="col-sm-6 col-md-8 col-lg-9"> | | <div class="col-sm-6 col-md-8 col-lg-9"> | | ||
<div class="col-12"> }}{{#if: {{{ description | }}} | | <div class="col-12"> }}{{#if: {{{ description | }}} | | ||
{{{ description | }}} | | {{{ description | }}} | | ||
{{#show:{{{ page | }}}|?TileDescription}} }} | {{#show:{{{ page | }}}|?TileDescription}} }} | ||
</div>{{#if:{{{ coverImg | }}} | | |||
<div class="col-sm-6 col-md-8 col-lg-9"> | | |||
<div class="col-12"> }} | |||
<div class="row justify-content-center mx-n2 mt-3 mb-4"> | |||
{{MiniTile | |||
|wrapperclasses=d-block col-12 px-2 | |||
|classes=pr-3 | |||
|styles=height: 40px !important; border: 1px solid #BA1B1D; | |||
|link={{#if:{{{ readLink | }}} | |||
|{{{ readLink | }}} | |||
|{{#ifexist:{{{ page | }}}/Full_text | |||
|{{{ page | }}}/Full_text | |||
| | |||
}} | |||
}} | |||
|image=none | |||
|text-wrapper-classes=d-flex w-100 justify-content-between align-items-center | |||
|text=<span><i class="fa-sharp-duotone fa-solid fa-book-open-reader fa-fw mx-1 tsadra-blue-text"></i> Read the text </span><i class="fa-sharp-duotone fa-solid fa-angles-right ml-1 fa-sm align-baseline carnelian"></i> | |||
}}{{#ifeq:{{{ page | }}}|Texts/Bodhicaryāvatāra|{{MiniTile | |||
|wrapperclasses=d-block col-12 px-2 | |||
|classes=pr-3 | |||
|styles=height: 40px !important; border: 1px solid #BA1B1D; | |||
|link=Texts/Bodhicaryāvatāra/Verses/1.1 | |||
|image=none | |||
|text-wrapper-classes=d-flex w-100 justify-content-between align-items-center | |||
|text=<span><i class="fa-sharp-duotone fa-solid fa-code-compare fa-fw mx-1 green-text"></i> Study the Verses </span><i class="fa-sharp-duotone fa-solid fa-angles-right ml-1 fa-sm align-baseline carnelian"></i> | |||
}}|}}{{MiniTile | |||
|wrapperclasses=d-block col-sm-6 px-2 | |||
|classes=pr-3 | |||
|styles=height: 40px !important; border: 1px solid #BA1B1D; | |||
|link={{SUBPAGENAME:{{{ page | }}}}} | |||
|image=none | |||
|text-wrapper-classes=d-flex w-100 justify-content-between align-items-center | |||
|text=<span><i class="fa-sharp-duotone fa-solid fa-book-open-lines fa-fw mx-1 carnelian"></i> About this text </span><i class="fa-sharp-duotone fa-solid fa-angles-right ml-1 fa-sm align-baseline carnelian"></i> | |||
}}{{#ask:[[{{{ page | }}}]] | |||
|?BcaAuthor | |||
|?People | |||
|format=template | |||
|template=ShowFirstPersonTile | |||
|valuesep=; | |||
|link=none | |||
}}{{MiniTile | |||
|wrapperclasses=d-block col-sm-6 px-2 | |||
|classes=pr-3 | |||
|styles=height: 40px !important; | |||
|link={{{ page | }}} | |||
|image=none | |||
|text-wrapper-classes=d-flex w-100 justify-content-between align-items-center | |||
|text=<span><i class="fa-sharp-duotone fa-solid fa-books fa-fw mx-1 carnelian"></i> Library Page </span><i class="fa-sharp-duotone fa-solid fa-angles-right ml-1 fa-sm align-baseline carnelian"></i> | |||
}} | |||
</div> | |||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
</div></includeonly> | </div></includeonly> | ||