Template:Social Media Thread: Difference between revisions
Appearance
Works! Max 20 messages. |
m TemplateData for first three messages |
||
| Line 192: | Line 192: | ||
}}</div> | }}</div> | ||
<noinclude> | <noinclude> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"author1": { | |||
"label": "Author 1", | |||
"description": "Do NOT use all-caps. Include the serial number in parentheses if known. This will allow the authors to become links.", | |||
"example": "Byron (7)", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"author2": { | |||
"label": "Author 2", | |||
"example": "Byron (7)", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
}, | |||
"message1": { | |||
"label": "Message 1", | |||
"description": "To include an image, you must you wiki markdown, like [[File:...]].", | |||
"type": "content", | |||
"required": true | |||
}, | |||
"message2": { | |||
"label": "Message 2", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"message3": { | |||
"label": "Message 3", | |||
"example": "Byron (7)", | |||
"type": "string" | |||
}, | |||
"author3": { | |||
"label": "Author 3", | |||
"type": "string" | |||
} | |||
}, | |||
"description": "An in-universe sequence of social media posts. (Max 20 messages)", | |||
"paramOrder": [ | |||
"author1", | |||
"message1", | |||
"author2", | |||
"message2", | |||
"author3", | |||
"message3" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Revision as of 04:56, 24 November 2023
Usage
Example:
{{Social Media Thread
|author1=Budahas (917)
|message1=Seriously, what the Founder was that thing in the sky? We all saw that, right? I didn't accidentally turn on Sleep Mode while Herman was talking, did I? (I mean it's always tempting...)
|author2=Thecla (862)
|message2=The Founder works in mysterious ways.
|author3=1k (1000)
|message3=Maybe it really was a sign.
|author4=Ovis (909)
|message4=Thank you, 1k. I'm glad you see it that way.
}}
produces
| BUDAHAS (917) Seriously, what the Founder was that thing in the sky? We all saw that, right? I didn't accidentally turn on Sleep Mode while Herman was talking, did I? (I mean it's always tempting...) |
||
| THECLA (862) The Founder works in mysterious ways. |
||
| 1K (1000) Maybe it really was a sign. | ||
| OVIS (909) Thank you, 1k. I'm glad you see it that way. |
||
An in-universe sequence of social media posts. (Max 20 messages)
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Author 1 | author1 | Do NOT use all-caps. Include the serial number in parentheses if known. This will allow the authors to become links.
| String | required |
| Message 1 | message1 | To include an image, you must you wiki markdown, like [[File:...]]. | Content | required |
| Author 2 | author2 | no description
| Page name | suggested |
| Message 2 | message2 | no description | Content | suggested |
| Author 3 | author3 | no description | String | optional |
| Message 3 | message3 | no description
| String | optional |