Work in progress — This wiki is an active migration / mirror of Homestar Runner Wiki and is not finished yet. Account registration and public editing are turned off until the migration is further along. For status updates, see the migration thread on the forums.

Template:post-getType: Difference between revisions

From HR Wiki Twice
Jump to navigationJump to search
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:
<!-- Mirrored from Homestar Runner Wiki (hrwiki.org) via Wayback Machine -->
<!-- Wayback HTML body (hrwiki.org); RawHtml -->
T
<html>
<p>T
</p>
<dl><dd>See {{<a href="/index.php?title=Template:post" title="Template:post">post</a>}}
</dd></dl>
<ul><li>Helper function to abstract detection the post type:
<ul><li> "T" = "Twitter"
</li><li> "B" = "Bluesky"
</li><li> "I" = "Instagram"
</li><li> "r" = "ronginald"
</li><li> Note that these post types are abbreviated to reduce the post-include size on very long pages (like <a href="/index.php?title=%40StrongBadActual_Tweets_2018" title="@StrongBadActual Tweets 2018">@StrongBadActual Tweets 2018</a>). 
</li><li> Since this is a very frequently-included template, small reductions add up.  See <a class="extiw" href="/index.php?title=WP:PEIS" title="wikipedia:WP:PEIS">WP:PEIS</a> for more information.
</li></ul>
</li><li>May be extended in the future for other post types
</li><li> The following templates will need to be updated if a new post type is added:
<ul><li> {{<a href="/index.php?title=Template:post" title="Template:post">post</a>}} (in the header and date sections)
</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:prs" title="Template:prs">prs</a>}}
</li><li> {{<a href="/index.php?title=Template:postref" title="Template:postref">postref</a>}}
</li></ul>
</li></ul>


See {{[[Template:post|post]]}}


* Helper function to abstract detection the post type:
 
** "T" = "Twitter"
** "B" = "Bluesky"
<div class="visualClear"></div>
** "I" = "Instagram"
</html>
** "r" = "ronginald"
** Note that these post types are abbreviated to reduce the post-include size on very long pages (like [[@StrongBadActual Tweets 2018]]).
** Since this is a very frequently-included template, small reductions add up. See [[WP:PEIS]] for more information.
* May be extended in the future for other post types
* The following templates will need to be updated if a new post type is added:
** {{[[Template:post|post]]}} (in the header and date sections)
** {{[[Template:post-getTypeName|post-getTypeName]]}}
** {{[[Template:prs|prs]]}}
** {{[[Template:postref|postref]]}}
[[Category:Toon Article Formatting Templates]]



Latest revision as of 21:00, 18 July 2026

T

See {{post}}
  • Helper function to abstract detection the post type:
    • "T" = "Twitter"
    • "B" = "Bluesky"
    • "I" = "Instagram"
    • "r" = "ronginald"
    • Note that these post types are abbreviated to reduce the post-include size on very long pages (like @StrongBadActual Tweets 2018).
    • Since this is a very frequently-included template, small reductions add up. See WP:PEIS for more information.
  • May be extended in the future for other post types
  • The following templates will need to be updated if a new post type is added: