Template:Social media: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
(One intermediate revision by the same user not shown)
Line 4: Line 4:
|hour_of_day = Integer (mandatory=1;allowed values=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23)
|hour_of_day = Integer (mandatory=1;allowed values=0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23)
|subjects = List (,) of Page (mandatory=1)
|subjects = List (,) of Page (mandatory=1)
|type = List (,) of String (mandatory=1;allowed values=album,song,birthday,death,show)
}}
}}
</noinclude><includeonly>
</noinclude><includeonly>
Line 12: Line 13:
}}
}}
[[Category:Social media posts]]
[[Category:Social media posts]]
</includeonly>This page defines the social media posts for the release of {{#arraymap:{{{subjects|Untitled}}}|,|x|{{format release|x|bold}}|, | and }}.
</includeonly>This page defines the social media posts for {{#arraymap:{{{subjects|Untitled}}}|,|x|'''[[x]]'''|, | and }}.


This post is scheduled to deliver on '''{{#time:F j|{{{original_date|November 28, 2000}}}}} at {{{hour_of_day|13}}}:00 UTC'''.
This post is scheduled to deliver on '''{{#time:F j|{{{original_date|November 28, 2000}}}}} at {{{hour_of_day|13}}}:00 UTC'''.

Revision as of 06:32, 5 January 2022

This template defines the table "social_media". View table. This page defines the social media posts for 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.

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Original dateoriginal_date

Original date of the subject (release, show, etc.)

Daterequired
Hour of dayhour_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.

Numberrequired
Subjectssubjects

Comma-separated list of page titles of the subjects that this post is about it. It is usually only about one subject.

Stringrequired