Template:AudioEpisodeCard: Difference between revisions
(VSCode edit) Tag: Manual revert |
(Request a 100px thumbnail instead of the full-size image) |
||
| Line 1: | Line 1: | ||
<includeonly><div class="audio-episode filterable"> | <includeonly><div class="audio-episode filterable"> | ||
<div class="audio-episode-thumb">[[File:{{PAGENAME:{{#show:{{{ AssociatedArticle | }}}|?FrontCoverImg#}}}}|link={{{ AssociatedArticle | }}}|class=object-fit-cover w-100 h-100]]</div> | <div class="audio-episode-thumb">[[File:{{PAGENAME:{{#show:{{{ AssociatedArticle | }}}|?FrontCoverImg#}}}}|100px|link={{{ AssociatedArticle | }}}|class=object-fit-cover w-100 h-100]]</div> | ||
<div class="audio-episode-body"> | <div class="audio-episode-body"> | ||
<div class="audio-episode-title">[[{{{ AssociatedArticle | }}}|{{SUBPAGENAME:{{{ AssociatedArticle | }}}}}]]</div> | <div class="audio-episode-title">[[{{{ AssociatedArticle | }}}|{{SUBPAGENAME:{{{ AssociatedArticle | }}}}}]]</div> | ||
Revision as of 20:03, 24 August 2026
One row in the Listening Room list.
These recordings are narrations of specific site pages rather than standalone
episodes, so the row leads with the article it narrates and treats the narrator
and date as secondary metadata. The player is a plain File:…
transclusion, which MediaWiki renders as a native <audio controls>
element — that already exposes duration and scrubbing, so neither is duplicated
in the markup.
The edit pencil is wrapped in .tws-group-only so it stays out of the
way for readers without making the page uncacheable. See tws.js.