Template: Blog post/doc
(→Usage) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== | == TemplateData == | ||
< | <templatedata> | ||
{{ | { | ||
"params": { | |||
"date": { | |||
"type": "date", | |||
}}</ | "required": true, | ||
"label": "Date", | |||
"description": "The publication date of this post." | |||
}, | |||
"date displayed": {}, | |||
"author": { | |||
"label": "Author", | |||
"description": "Author's name.", | |||
"type": "string" | |||
}, | |||
"p": {}, | |||
"draft": { | |||
"type": "boolean" | |||
}, | |||
"keywords": { | |||
"label": "Keywords", | |||
"description": "Comma-separated list of keywords.", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"image": { | |||
"label": "Image filename", | |||
"description": "The filename (without 'File:') of an image to use for the page banner and to share on social media.", | |||
"type": "wiki-file-name" | |||
}, | |||
"description": { | |||
"label": "Description", | |||
"type": "content", | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Main metadata template for blog posts.", | |||
"format": "block", | |||
"paramOrder": [ | |||
"date", | |||
"author", | |||
"description", | |||
"keywords", | |||
"image", | |||
"date displayed", | |||
"p", | |||
"draft" | |||
] | |||
} | |||
</templatedata> | |||
== See also == | |||
* {{tl|blog post/preload}} |
Revision as of 07:48, 2 June 2021
TemplateData
Main metadata template for blog posts.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Date | date | The publication date of this post. | Date | required |
Author | author | Author's name. | String | optional |
Description | description | no description | Content | suggested |
Keywords | keywords | Comma-separated list of keywords. | String | suggested |
Image filename | image | The filename (without 'File:') of an image to use for the page banner and to share on social media. | File | optional |
date displayed | date displayed | no description | Unknown | optional |
p | p | no description | Unknown | optional |
draft | draft | no description | Boolean | optional |