Template:DisplayTmSection: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
 
(One intermediate revision by the same user not shown)
Line 38: Line 38:
}}</span>
}}</span>
|
|
}} – {{#if: {{{ DisplayChapterTitle | }}}  
}}<!--
Chapter title on its own line, below the byline. Previously it ran on after
the names separated by a dash, which read as though the chapter were another
collaborator. Splitting it makes the heading say who made the work, then
which part of it you are looking at.
--><div class="tm-byline-chapter">{{#if: {{{ DisplayChapterTitle | }}}
|{{{ DisplayChapterTitle | }}}
|{{{ DisplayChapterTitle | }}}
|{{SUBPAGENAME}}
|{{SUBPAGENAME}}
Line 48: Line 53:
}}
}}
|&colon;&nbsp;
|&colon;&nbsp;
}}
}}</div>
|watermark=Bilingual
|watermark=Bilingual
}}{{#ifeq:{{{ IncludeJumbo | }}}|yes|
}}{{#ifeq:{{{ IncludeJumbo | }}}|yes|
Line 117: Line 122:
|template=SectionNavigation
|template=SectionNavigation
}}
}}
<div class="text-110 text-center font-weight-bold mt-2 mb-3">Search</div>
<div class="tm-sidebar-heading">Search</div>
<div class="text-110 mb-4">{{#widget:filterInput
<div class="tm-sidebar-block">{{#widget:filterInput
|class=border border-carnelian
|class=border border-carnelian
|placeholder=Filter segments
|placeholder=Filter segments
}}</div>{{#if:{{{ Translation | }}}|
}}</div>{{#if:{{{ Translation | }}}|
<div class="text-110 text-center font-weight-bold mt-2 mb-3">People</div>
<div class="tm-sidebar-heading">People</div>
<div class="mt-4">{{#arraymap:{{Uniquify|{{#if:{{{ PeopleOverride | }}}
<div class="tm-sidebar-block tm-sidebar-people">{{#arraymap:{{Uniquify|{{#if:{{{ PeopleOverride | }}}
|{{{ PeopleOverride | }}}
|{{{ PeopleOverride | }}}
|{{#ask:[[{{{ Translation | }}}]]
|{{#ask:[[{{{ Translation | }}}]]
Line 140: Line 145:
|
|
}}</div>|}}{{#if:{{#show:{{{ Translation | }}}|?Citation}}
}}</div>|}}{{#if:{{#show:{{{ Translation | }}}|?Citation}}
|<div class="text-110 text-center font-weight-bold mt-2 mb-3">Source</div>
|<div class="tm-sidebar-heading">Source</div>
<div class="mb-4">{{#show:{{{ Translation | }}}|?Citation}}</div>
<div class="tm-sidebar-block tm-sidebar-citation">{{#show:{{{ Translation | }}}|?Citation}}</div>
|
|
}}
}}

Latest revision as of 14:21, 19 August 2026