Template: Blog post/doc
No edit summary |
|||
Line 5: | Line 5: | ||
"date": { | "date": { | ||
"type": "date", | "type": "date", | ||
"required": true | "required": true, | ||
"label": "Date", | |||
"description": "The publication date of this post." | |||
}, | }, | ||
"date displayed": {}, | "date displayed": {}, | ||
"author": {}, | "author": { | ||
"label": "Author", | |||
"description": "Author's name.", | |||
"type": "string" | |||
}, | |||
"p": {}, | "p": {}, | ||
"draft": { | "draft": { | ||
"type": "boolean" | "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.", | "description": "Main metadata template for blog posts.", | ||
"format": "block" | "format": "block", | ||
"paramOrder": [ | |||
"date", | |||
"author", | |||
"description", | |||
"keywords", | |||
"image", | |||
"date displayed", | |||
"p", | |||
"draft" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> |
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 |