Template:DisplayTmSection: Difference between revisions

From Bodhicitta
(VSCode edit)
(VSCode edit)
Line 7: Line 7:
<div class="d-inline-block text-70 line14 pb-1">{{#show:{{{ Text | }}}|?FullTitleTib}}</div>|}}
<div class="d-inline-block text-70 line14 pb-1">{{#show:{{{ Text | }}}|?FullTitleTib}}</div>|}}
</div>
</div>
|SubTitle={{#arraymap:{{FirstValueOfArray|{{#ask:[[{{{ Translation | }}}]]
<!--
Byline. The author of the work is shown at full size; the translator or editor
follows in smaller type, prefixed trans. or ed. so the two roles are not read
as a single list of collaborators. The prefix is chosen by which property the
name actually came from, so a work with an editor but no translator is
labelled correctly.
--> |SubTitle=<span class="tm-byline-author">{{#arraymap:{{FirstValueOfArray|{{#ask:[[{{{ Translation | }}}]]
|?SourceAuthor# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none
|?SourceAuthor# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none
}};{{#ask:[[{{{ Translation | }}}]]
}};{{#ask:[[{{{ Translation | }}}]]
|?BcaAuthor# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none
|?BcaAuthor# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none
}}|;}};{{FirstValueOfArray|{{#ask:[[{{{ Translation | }}}]]
|?Translator# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none
}};{{#ask:[[{{{ Translation | }}}]]
|?Editor# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none
}}|;}}
}}|;}}
|;
|;
Line 20: Line 22:
|[[@@@]]
|[[@@@]]
|&nbsp;·&nbsp;
|&nbsp;·&nbsp;
}}</span>{{#vardefine:tmRole|{{#if:{{#ask:[[{{{ Translation | }}}]]|?Translator# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none}}|trans.|ed.}}}}{{#if:{{FirstValueOfArray|{{#ask:[[{{{ Translation | }}}]]
|?Translator# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none
}};{{#ask:[[{{{ Translation | }}}]]
|?Editor# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none
}}|;}}
|<span class="tm-byline-role"><span class="tm-byline-role-label">{{#var:tmRole}}</span>{{#arraymap:{{FirstValueOfArray|{{#ask:[[{{{ Translation | }}}]]
|?Translator# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none
}};{{#ask:[[{{{ Translation | }}}]]
|?Editor# |mainlabel=- |headers=hide |sep=; |valuesep=; |link=none
}}|;}}
|;
|@@@
|[[@@@]]
|&nbsp;·&nbsp;
}}</span>
|
}} – {{#if: {{{ DisplayChapterTitle | }}}  
}} – {{#if: {{{ DisplayChapterTitle | }}}  
|{{{ DisplayChapterTitle | }}}
|{{{ DisplayChapterTitle | }}}

Revision as of 13:54, 19 August 2026