Template: Blog post
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
-->'''<time datetime="{{#time: c | {{{date|{{REVISIONTIMESTAMP}}}}} }}"><!-- | -->'''<time datetime="{{#time: c | {{{date|{{REVISIONTIMESTAMP}}}}} }}"><!-- | ||
-->{{{date displayed | {{#time: g:i a l, j F Y | {{{date|{{REVISIONTIMESTAMP}}}}} }}}}}<!-- | -->{{{date displayed | {{#time: g:i a l, j F Y | {{{date|{{REVISIONTIMESTAMP}}}}} }}}}}<!-- | ||
--></time>{{{p|.}}}'''<!-- | --></time><!-- | ||
-->{{#if: {{{author|}}} |, {{{author}}} }}<!-- | |||
-->{{{p|.}}}'''<!-- | |||
# Categorise if this isn't a draft: | # Categorise if this isn't a draft: |
Revision as of 02:43, 17 June 2018
This template has a sandbox (edit) for editors to experiment.
This template is used on blog posts that are shown on the news page and elsewhere.
To create a new post, enter its title in the box below:
A news feed is available for the most recent blog posts: https://wikimedia.org.au/news.rss
TemplateData
Template used to create the header on news posts.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | date | The publication date of this post in YYYY-MM-DD format. | Date | required |
Description | description | Short sentence describing the post, shown on the news page and in social media previews etc. | Content | suggested |
Authors | authors | Semicolon-separated list of author names. Each will be linked to their page on this wiki. | String | optional |
Keywords | keywords | Comma-separated list of keywords (each keyword should be a wiki page). | String | suggested |
Mode | mode | Either 'draft', 'featured', or 'hidden'. | String | optional |
Image filename | image | The filename (without 'File:') of an image to use for the page banner and to share on social media. | File | optional |
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. | Boolean | optional |
Banner image origin | image_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.
| String | optional |