Template:post: Difference between revisions
imported>HRWikiMirrorBot Reimported from hrwiki.org Wayback HTML→wikitext (full reconvert) |
imported>HRWikiMirrorBot Reimported from hrwiki.org Wayback HTML→wikitext (full reconvert) |
||
| Line 1: | Line 1: | ||
<!-- | <!-- Wayback HTML body (hrwiki.org); RawHtml --> | ||
<html> | |||
<table border="1" cellpadding="3" cellspacing="0" style="border-collapse:collapse" width="100%"> | |||
<tr bgcolor="#eeeeee"> | |||
<th class="unsortable" colspan="2"> Text / Transcript | |||
</th><th width="100"> Date / Link | |||
</th></tr> | |||
<tr id=""> | |||
<td colspan="2" width="200px"><p style="font-style:italic;font-size:85%;color: #aaa">(no text)</p> | |||
</td><td style="position: relative;"><a class="extiw" href="https://twitter.com/StrongBadActual/status/" title="twitter:StrongBadActual/status/">Date</a><div style="clear:both;"></div> | |||
=== How to use the template | </td></tr></table> | ||
<a id="How_to_use_the_template" name="How_to_use_the_template"></a><h3> <span class="mw-headline">How to use the template</span></h3> | |||
<pre> | <pre> | ||
{{post | {{post | ||
| Line 79: | Line 79: | ||
}} | }} | ||
</pre> | </pre> | ||
<a id="See_Also" name="See_Also"></a><h3> <span class="mw-headline">See Also</span></h3> | |||
<p>The following helper templates are used: | |||
</p> | |||
<ul><li>{{<a href="/index.php?title=Template:post-table-header" title="Template:post-table-header">post-table-header</a>}} | |||
</li><li>{{<a href="/index.php?title=Template:post-setTypeOverride" title="Template:post-setTypeOverride">post-setTypeOverride</a>}} | |||
</li><li>{{<a href="/index.php?title=Template:post-getType" title="Template:post-getType">post-getType</a>}} (See documentation for abbreviated code values.) | |||
</li><li>{{<a href="/index.php?title=Template:post-getTypeName" title="Template:post-getTypeName">post-getTypeName</a>}} | |||
</li><li>{{<a href="/index.php?title=Template:post-pic" title="Template:post-pic">post-pic</a>}} | |||
</li><li>{{<a href="/index.php?title=Template:post-this" title="Template:post-this">post-this</a>}} | |||
</li><li>{{<a href="/index.php?title=Template:post-subsection" title="Template:post-subsection">post-subsection</a>}} | |||
</li><li>{{<a href="/index.php?title=Template:post-film" title="Template:post-film">post-film</a>}} | |||
</li><li>{{<a href="/index.php?title=Template:post-table-end" title="Template:post-table-end">post-table-end</a>}} | |||
</li></ul> | |||
<p>Related templates: | |||
</p> | |||
<ul><li>{{<a href="/index.php?title=Template:prs" title="Template:prs">prs</a>}} | |||
</li><li>{{<a href="/index.php?title=Template:postref" title="Template:postref">postref</a>}} | |||
</li><li>{{<a href="/index.php?title=Template:%40" title="Template:@">@</a>}} | |||
</li></ul> | |||
<p>Development pages: | |||
</p> | |||
<ul><li> Please test any changes to this template in its development sandbox: | |||
<ul><li> <a href="/index.php?title=User:Stux/post-devel" title="User:Stux/post-devel">User:Stux/post-devel</a> is the development copy of this template. | |||
</li><li> Any changes to that template are reflected in this page: <a href="/index.php?title=User:Stux/post-sandbox" title="User:Stux/post-sandbox">User:Stux/post-sandbox</a>. | |||
</li><li> If the changes are successful, the entire page may be copied to {{<strong class="selflink">post</strong>}} verbatim. | |||
<ul><li> Otherwise, please revert development changes back to the last known good copy of <a href="/index.php?title=User:Stux/post-devel" title="User:Stux/post-devel">User:Stux/post-devel</a> that matches {{<strong class="selflink">post</strong>}} so that the two pages remain synchronized. | |||
</li><li> Any partial, in-development code may be commented out using HTML comments until the feature can be finalized and/or fixed. | |||
</li></ul> | |||
</li><li> Also note that the helper templates listed above do not have sandboxed equivalents. Changes made to those templates will be immediate. | |||
</li></ul> | |||
</li></ul> | |||
<div class="visualClear"></div> | |||
</html> | |||
Latest revision as of 21:00, 18 July 2026
| Text / Transcript | Date / Link | |
|---|---|---|
(no text) | Date | |
How to use the template
{{post
|table-begin=1
/* Indicates this is the first item on the table and a table header needs to be built! */
|id=The number at the end of the post's URL (for example, 913122813711708161).
(REQUIRED, value must be UNIQUE to the page!)
This is used for two purposes:
creating anchor links to the section on the page
(e.g. [[@StrongBadActual Tweets 2014#913122813711708161]])
and generating the Twitter URL in the Link column.
|id2=secondary ID for this entry, if necessary (OPTIONAL)
|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.
(Note: this temporarily overrides the setTypeOverride value for a single post.)
|setTypeOverride=Use this to PERMANENTLY override the post type
(for the lifetime of the current page, unless overridden again), expected values are:
Instagram|Twitter|ronginald|Bluesky
For a complete list, see: {{post-getType}}
(Note: this calls {{post-setTypeOverride}} which may be called separately.)
|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.
|nopic=1 /* If set, indicates that the post's first image needs to be uploaded. The corresponding pic value will be used as the suggested filename. */
|nopic2=1 /* The second image needs to be uploaded. */
|nopic3=1 /* The third image needs to be uploaded. */
|nopic4=1 /* The fourth image needs to be uploaded. */
|nopic5=1 /* The fifth image needs to be uploaded. */
|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.
|refer=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).
|altdesc=If the post contains an alternate image description as defined
here: https://help.twitter.com/en/using-twitter/how-to-use-alt-gif
|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.
|film1=First Character who appeared in the post. (**DO NOT INCLUDE STRONG BAD!**)
|film2=Second Character who appeared in the post. (**DO NOT INCLUDE STRONG BAD!**)
|film3=Third Character who appeared in the post. (**DO NOT INCLUDE STRONG BAD!**)
|film4=Fourth Character who appeared in the post. (**DO NOT INCLUDE STRONG BAD!**)
|film5=Fifth Character who appeared in the post. (**DO NOT INCLUDE STRONG BAD!**)
|film=General list of Characters who appeared in the post. (**DO NOT INCLUDE STRONG BAD!**)
|table-end=1
/* Indicates this is the last item on the table and a table footer needs to be built! */
}}
See Also
The following helper templates are used:
- {{post-table-header}}
- {{post-setTypeOverride}}
- {{post-getType}} (See documentation for abbreviated code values.)
- {{post-getTypeName}}
- {{post-pic}}
- {{post-this}}
- {{post-subsection}}
- {{post-film}}
- {{post-table-end}}
Related templates:
Development pages:
- Please test any changes to this template in its development sandbox:
- User:Stux/post-devel is the development copy of this template.
- Any changes to that template are reflected in this page: User:Stux/post-sandbox.
- If the changes are successful, the entire page may be copied to {{post}} verbatim.
- Otherwise, please revert development changes back to the last known good copy of User:Stux/post-devel that matches {{post}} so that the two pages remain synchronized.
- Any partial, in-development code may be commented out using HTML comments until the feature can be finalized and/or fixed.
- Also note that the helper templates listed above do not have sandboxed equivalents. Changes made to those templates will be immediate.