Template:Social media: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_declare:_table=social_media
{{#cargo_declare:_table=social_media
|date = Datetime
|original_date = Date (mandatory=1)
|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)
|ig_text = Text (mandatory=1)
|ig_photos = List (\\) of URL (mandatory=1)
|ig_slide = Integer
|ig_tags = List (,) of String
|fb_text = Text (mandatory=1)
|fb_photos = List (\\) of URL
|tw_texts = List (\\) of String
|tw_photos = List (\\) of URL
|tw_tags = List (,) of String
}}
}}
</noinclude><includeonly>{{#cargo_store:_table=social_media
</noinclude><includeonly>{{#cargo_store:_table=social_media
| date = {{{date}}}
|original_date = {{{date}}}
| subjects = {{{subjects}}}
|hour_of_day = {{{hour_of_day}}}
| ig_text = {{{ig_text}}}
|subjects = {{{subjects}}}
| ig_photos = {{#arraymap:{{{ig_photos}}}|\n|x|x| \ }}
| ig_slide = {{{ig_slide|1}}}
| ig_tags = {{{ig_tags|}}}
| fb_text = {{{fb_text}}}
| fb_photos = {{#if:{{{fb_photos|}}}|{{#arraymap:{{{fb_photos}}}|\n|x|x| \ }}}}
| tw_texts = {{#if:{{{tw_texts|}}}|{{#arraymap:{{{tw_texts}}}|\n\n|x|x| \ }}}}
| tw_photos = {{#if:{{{tw_photos|}}}|{{#arraymap:{{{tw_photos}}}|\n|x|x| \ }}}}
| tw_tags = {{{tw_tags|}}}
}}
}}
[[Category:Social media posts]]
[[Category:Social media posts]]
</includeonly>
</includeonly>

Revision as of 05:01, 29 November 2021

This template defines the table "social_media". View table.