Template: Blog post

Blog post
 
update
Tag: Reverted
Line 24: Line 24:
     }}<!--
     }}<!--
-->}}<!--
-->}}<!--
Description:
-->{{#if: {{{description|}}}
  | <div style="font-size:larger; margin:1em 0">{{{description}}}</div>
}}<!--
Start meta line:
--><div style="color:#444; font-size:smaller; margin-bottom:2em;"><!--


Date:
Date:
Line 43: Line 35:
Authors:
Authors:
-->{{#invoke: blog_post | authorList |format=linked |author={{{author|}}} |authors={{{authors|}}} }}<!--
-->{{#invoke: blog_post | authorList |format=linked |author={{{author|}}} |authors={{{authors|}}} }}<!--
Description:
-->{{#if: {{{description|}}}
  | <div style="font-size:larger; margin:1em 0">{{{description}}}</div>
}}<!--
Start meta line:
--><div style="color:#444; font-size:smaller; margin-bottom:2em;"><!--


Ending punctuation:
Ending punctuation:

Revision as of 19:37, 14 May 2026

This template defines the table "blog_posts". View table.

[edit] Template documentation

This template is used on blogs and articles including those that appear on News.

To create a new post, enter its title in the box below:

Parameters

Template used to create the header on news posts.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Datedate

The publication date of this post in YYYY-MM-DD format.

Daterequired
Descriptiondescription

Short sentence describing the post, shown on the news page and in social media previews etc.

Contentsuggested
Authorsauthors

Semicolon-separated list of author names. Each will be linked to their page on this wiki.

Stringoptional
Keywordskeywords

Comma-separated list of keywords (each keyword should be a wiki page).

Stringsuggested
Modemode

Either 'draft', 'featured', or 'hidden'.

Stringoptional
Image filenameimage

The filename (without 'File:') of an image to use for the page banner and to share on social media.

Fileoptional
Hide banner?hide_banner

Do not show the image as a banner. Can be useful for portrait-orientation images that should be shown on the news list page but not on the article itself.

Booleanoptional
Banner image originimage_origin

Focal point for the banner image, used to move the image up or down as required. See https://www.mediawiki.org/wiki/Extension:WikidataPageBanner#'origin'_parameter for more details.

Example
"0,1" for the top centre.
Stringoptional

See also