Template:DisplayTmSection: Difference between revisions
From Bodhicitta
(VSCode edit) |
(VSCode edit) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 22: | Line 22: | ||
|[[@@@]] | |[[@@@]] | ||
| · | | · | ||
}}</span> | }}</span>{{#if:{{FirstValueOfArray|{{#ask:[[{{{ Translation | }}}]] | ||
|?Translator# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none | |?Translator# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none | ||
}};{{#ask:[[{{{ Translation | }}}]] | }};{{#ask:[[{{{ Translation | }}}]] | ||
|?Editor# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none | |?Editor# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none | ||
}}|;}} | }}|;}} | ||
|<span class="tm-byline-role"><span class="tm-byline-role-label">{{# | |<span class="tm-byline-role"><span class="tm-byline-role-label">{{#if:{{#ask:[[{{{ Translation | }}}]]|?Translator# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none}}|trans.|ed.}}</span>{{#arraymap:{{FirstValueOfArray|{{#ask:[[{{{ Translation | }}}]] | ||
|?Translator# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none | |?Translator# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none | ||
}};{{#ask:[[{{{ Translation | }}}]] | }};{{#ask:[[{{{ Translation | }}}]] | ||
| Line 38: | Line 38: | ||
}}</span> | }}</span> | ||
| | | | ||
}} | }}<!-- | ||
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: | ||
}} | }} | ||
|: | |: | ||
}} | }}</div> | ||
|watermark=Bilingual | |watermark=Bilingual | ||
}}{{#ifeq:{{{ IncludeJumbo | }}}|yes| | }}{{#ifeq:{{{ IncludeJumbo | }}}|yes| | ||
| Line 117: | Line 122: | ||
|template=SectionNavigation | |template=SectionNavigation | ||
}} | }} | ||
<div class=" | <div class="tm-sidebar-heading">Search</div> | ||
<div class=" | <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=" | <div class="tm-sidebar-heading">People</div> | ||
<div class=" | <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=" | |<div class="tm-sidebar-heading">Source</div> | ||
<div class=" | <div class="tm-sidebar-block tm-sidebar-citation">{{#show:{{{ Translation | }}}|?Citation}}</div> | ||
| | | | ||
}} | }} | ||