Template:post
From Homestar Runner Wiki
(Difference between revisions)
(undo revision 798200; temporarily revert to see if the Instagram issue already existed) |
(trying out the latest and greatest version of the template! Hopefully everything is fine and nothing is ruined...) |
||
| Line 8: | Line 8: | ||
! class="unsortable" colspan=2{{!}} Text / Transcript | ! class="unsortable" colspan=2{{!}} Text / Transcript | ||
! width=100{{!}} Date / Link}} | ! width=100{{!}} Date / Link}} | ||
| - | |- id="{{{id|}}}" {{# | + | |- id="{{{id|}}}" {{#if:{{{reply|}}}|style="background:#F9F9F9"|}} |
| - | |width="200px" {{#switch:{{{pic|}}}|=colspan=2{{!}}|#default=align=center{{!}}{{ | + | |width="200px" <!-- |
| + | -->{{#switch:{{{pic|}}}|=colspan=2{{!}}|#default=align=center{{!}}<!-- | ||
| + | -->{{post-pic|{{{pic|}}}|size={{{size|}}}|date={{{date|}}}|{{{site|}}}|isvideo={{{video transcript|}}}|isFirst=1}}<!-- | ||
| + | -->{{post-pic|{{{pic2|}}}|size={{{size2|}}}|date={{{date|}}}|{{{site|}}}}}<!-- | ||
| + | -->{{post-pic|{{{pic3|}}}|size={{{size3|}}}|date={{{date|}}}|{{{site|}}}}}<!-- | ||
| + | -->{{post-pic|{{{pic4|}}}|size={{{size4|}}}|date={{{date|}}}|{{{site|}}}}}<!-- | ||
| + | -->{{post-pic|{{{pic5|}}}|size={{{size5|}}}|date={{{date|}}}|{{{site|}}}}} | ||
{{!}}}}<!-- | {{!}}}}<!-- | ||
| Line 17: | Line 23: | ||
|}}<!-- | |}}<!-- | ||
-->{{#switch:{{{retweet|}}}<!-- | -->{{#switch:{{{retweet|}}}<!-- | ||
| - | -->|={{# | + | -->|={{#if:{{{text|}}}<!-- |
| - | -->| | + | -->|<div style="font-size:120%">{{{text|}}}</div><!-- |
| - | -->| | + | -->|<p style="font-style:italic;font-size:85%;color: #aaa">(no text)</p><!-- |
-->}}<!-- | -->}}<!-- | ||
-->|#default=''This is a Retweet of {{{retweet|}}}''<!-- | -->|#default=''This is a Retweet of {{{retweet|}}}''<!-- | ||
-->}}<!-- | -->}}<!-- | ||
| - | -->{{ | + | -->{{post-this|{{{link|}}}|t={{spc}}links to {{{link|}}}|{{{site|}}}}}<!-- |
| - | + | -->{{post-this|{{{reply|}}}|t={{spc}}is a reply to {{{reply|}}}|{{{site|}}}}}<!-- | |
| - | + | -->{{post-this|{{{quote|}}}|t={{spc}}quotes {{{quote|}}}|{{{site|}}}}}<!-- | |
| - | -->{{ | + | -->{{post-this|{{{refer|}}}|t=, while not technically a reply, refers to {{{refer|}}}|{{{site|}}}}}<!-- |
| - | + | -->{{post-this|{{{deleted|}}}|t={{spc}}has been deleted.|{{{site|}}}}}<!-- | |
| - | + | -->{{post-subsection|{{{image transcript|}}}|name=Image Transcript}}<!-- | |
| - | -->{{ | + | -->{{post-subsection|{{{video transcript|}}}|name=Video Transcript}}<!-- |
| - | + | -->{{post-subsection|{{{live video transcript|}}}|name=Live Video Transcript}}<!-- | |
| - | + | -->{{post-subsection|{{{poll|}}}|name=Poll Options}}<!-- | |
| - | -->{{ | + | -->{{post-subsection|{{{fun facts|}}}|name=Fun Facts}} |
| - | + | ||
| - | + | ||
| - | -->{{ | + | |
| - | + | ||
| - | + | ||
| - | -->{{ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | -->{{ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | -->{{ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | -->{{ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | -->{{ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
| - | + | ||
|{{#if:{{{deleted|}}}<!-- | |{{#if:{{{deleted|}}}<!-- | ||
-->|{{{date|Date}}}<!-- | -->|{{{date|Date}}}<!-- | ||
| Line 86: | Line 57: | ||
|pic3=A third image. | |pic3=A third image. | ||
|pic4=A fourth image. | |pic4=A fourth image. | ||
| + | |pic5=A fifth image. | ||
|size=For changing the size of the image. Again, DO NOT USE unless there is a good reason, as the images are automatically formatted to be 200 pixels wide (188 for videos, due to the filmstrip border). | |size=For changing the size of the image. Again, DO NOT USE unless there is a good reason, as the images are automatically formatted to be 200 pixels wide (188 for videos, due to the filmstrip border). | ||
|size2=Size of the second image. | |size2=Size of the second image. | ||
|size3=Size of the third image. | |size3=Size of the third image. | ||
|size4=Size of the fourth image. | |size4=Size of the fourth image. | ||
| + | |size5=Size of the fifth image. | ||
|pinned=Set to a non-blank value if the Tweet has been pinned. | |pinned=Set to a non-blank value if the Tweet has been pinned. | ||
|text=The text of the post. | |text=The text of the post. | ||
| Line 107: | Line 80: | ||
}} | }} | ||
</pre> | </pre> | ||
| - | [[Category:Toon Article Formatting Templates]]</noinclude> | + | [[Category:Toon Article Formatting Templates|{{PAGENAME}}]]</noinclude> |
Revision as of 09:28, 23 January 2021
December
| Text / Transcript | Date / Link | |
|---|---|---|
(no text) | Date | |
How to use the template
{{post
|id=The number at the end of the post's URL (for example, 913122813711708161). This is used for two reasons— links to the section on the page ([[@StrongBadActual Tweets 2014#913122813711708161]]) and the URL in the Link column.
|site=For differentiating Twitter or Instagram posts. DO NOT USE unless absolutely necessary, as this template is programmed to match the page it's on.
|pic=The post's image or a video thumbnail.
|pic2=A second image.
|pic3=A third image.
|pic4=A fourth image.
|pic5=A fifth image.
|size=For changing the size of the image. Again, DO NOT USE unless there is a good reason, as the images are automatically formatted to be 200 pixels wide (188 for videos, due to the filmstrip border).
|size2=Size of the second image.
|size3=Size of the third image.
|size4=Size of the fourth image.
|size5=Size of the fifth image.
|pinned=Set to a non-blank value if the Tweet has been pinned.
|text=The text of the post.
|link=If the post is a link, put the link information here.
|quote=If the post is a Quote Tweet, put any additional information here, including the person who posted what was linked to, and a paraphrase of what they posted.
|reply=If the post is a reply, put any additional information here, including the person who was replied to, and a paraphrase of what they posted.
|refers=If the post refers to someone else's, but does not link to it, put any additional information here (such as a link to the post that was referenced).
|deleted=If the post has been deleted, put something here (for example, "yes" or "true").
|retweet=If a post is Retweeted with no additional text, put the username and content type here (for example, "@trogdorgame's video").
|image transcript=Transcribing the image if there is any text in it.
|video transcript=Transcribing the video.
|live video transcript=Transcribing a live video.
|poll=If a poll is posted, put the options here.
|fun facts=Fun facts regarding the post.
|date=The date of the post.
|film=Characters who appeared in the post.
}}
