Template:Social media: Difference between revisions
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
''NOTE:'' The structure must follow the guide at [[SPCodex:Social media]] exactly for the automated posts to work. | ''NOTE:'' The structure must follow the guide at [[SPCodex:Social media]] exactly for the automated posts to work. | ||
<noinclude> | |||
---- | ---- | ||
<templatedata> | |||
{ | |||
"params": { | |||
"original_date": { | |||
"label": "Original date", | |||
"description": "Original date of the subject (release, show, etc.)", | |||
"type": "date", | |||
"required": true | |||
}, | |||
"hour_of_day": { | |||
"label": "Hour of day", | |||
"description": "The hour of the day at which the post should be sent out. This is in UTC time. Use values 0 (midnight) through 23.", | |||
"type": "number", | |||
"required": true | |||
}, | |||
"subjects": { | |||
"label": "Subjects", | |||
"description": "Comma-separated list of page titles of the subjects that this post is about it. It is usually only about one subject.", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "Stores metadata for social media posts, some of which (will) be automatically posted." | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 06:01, 29 November 2021
This template defines the table "social_media". View table.
This page defines the social media posts for the release of "Untitled" .
This post is scheduled to deliver on November 28 at 13:00 UTC.
NOTE: The structure must follow the guide at SPCodex:Social media exactly for the automated posts to work.
Stores metadata for social media posts, some of which (will) be automatically posted.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Original date | original_date | Original date of the subject (release, show, etc.) | Date | required |
Hour of day | hour_of_day | The hour of the day at which the post should be sent out. This is in UTC time. Use values 0 (midnight) through 23. | Number | required |
Subjects | subjects | Comma-separated list of page titles of the subjects that this post is about it. It is usually only about one subject. | String | required |