Template:Category/Newsletter
Render template for Category:Newsletter pages (issues of the Miniscope Newsletter and any other wiki's newsletter).
Called by the SemanticSchemas dispatcher {{Newsletter}}.
Newsletter is a subcategory of Category:Post but declares its own
|has_display_template=Category/Newsletter, so this masthead
replaces Template:Category/Post on issue pages.
This template only resolves values; Template:Category/Newsletter/masthead
draws them. Each value is read from the parameter the dispatcher passes
first and from SMW second. Parameters are what make the masthead appear
in "Show preview" on a page that has never been saved; #show
alone returns nothing until the first save.
What it renders
- Kicker: Type · Issue NN · publication date.
- Coverage window: "Covering Jul 1 – Sep 18, 2026", from
Property:Has period start and Property:Has period end.
- Introduction: Property:Has description, written as the issue's
opening paragraph. The same text is the teaser on News and Main Page cards, so the introduction is written once, not twice.
Deliberately not rendered
- Property:Has subject line and Property:Has preheader are for the
email edition. On the wiki the page title and introduction do that job.
- Property:Has card image is for listing cards only. The featured
story carries the issue's image. Rendering the card image again here as a floated hero would show the same picture twice on most issues, and a float fights the fixed reading column.
- Property:Has author renders as a raw
User:link. The
issue is signed in Template:Newsletter footer instead.
Reading column
Template:Category/Newsletter/styles.css caps every element that follows
the masthead at a comfortable line length (.newsletter-masthead ~ *).
That works because the masthead is a direct child of
.mw-parser-output and the issue body follows it as siblings,
so no opening/closing wrapper template is needed.
Editing
Issues are written with Form:Newsletter issue, and stories are Template:Newsletter story calls. This template therefore:
- sets
{{#default_form:Newsletter issue}}, so "Edit with form"
opens the hand-written form instead of the generated
Form:Newsletter. It runs after the generated dispatcher's own
#default_form, and the later call is the one that counts.
- sets
__NOEDITSECTION__. Headings produced by a template
have section [edit] links that open the template rather than the story, which is confusing; editing goes through the form.
Parameters: the has_* fields passed by the dispatcher, plus
page (defaults to {{FULLPAGENAME}}).
Status
An empty has_post_status is stored as Published
here, as in Template:Category/Post: the listings query
[[Has post status::Published]] and SMW can't query for a
missing value. A Draft issue is left out of News, the Main
Page and project pages, and the masthead shows a draft banner.