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.

[Edit template data]

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Datedate

The publication date of this post.

Daterequired
Authorauthor

Author's name.

Stringoptional
Descriptiondescription

no description

Contentsuggested
Keywordskeywords

Comma-separated list of keywords.

Stringsuggested
Image filenameimage

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

Fileoptional
date displayeddate displayed

no description

Unknownoptional
pp

no description

Unknownoptional
draftdraft

no description

Booleanoptional

See also

Discuss this page