Template:Category/Forum/post row pinned
Row renderer for the pinned portion of the posts list in Template:Category/Forum. Do not transclude directly outside the forum landing.
The parent #ask already filters
true, so every row this template
receives is by definition an announcement; we always render with the
📌 marker and the warm tint (no #switch on Pinned needed). The companion
Template:Category/Forum/post_row_regular handles the unfiltered
half of the list and suppresses announcements there so they appear
exactly once.
Why two thin templates instead of one dispatcher with a mode flag:
SMW's format=template exposes a single userparam=
string per #ask; cramming both "mode" and
"default_forum" into one string would need an explode
parser function (StringFunctions, not installed on labki-platform —
only ParserFunctions ships by default). Splitting on template name
keeps the wiring trivial and lets userparam= carry just
default_forum.
Named-arg params (from the outer #ask):
Post— full title of the topic page (mainlabel=Post).Subject— first H2 from labki-forum's hook, used as
the rendered title text; falls back to last /-segment
of Post for legacy topics.
Forum—?Has forum=Forum. May be empty on
legacy posts; falls back to (the
forum landing's FULLPAGENAME).
Starter/Replies/People/
LastActivity — the meta-line stats.
userparam: passed by Template:Category/Forum as the
landing page's Template:Category/Forum/post row pinned, used as the default
forum when a post lacks Has forum. Hub-mode chained
queries always have Has forum set (it drives the
selection), so this fallback only fires on leaf-mode legacy posts.