Template:post-getType: 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 --> | ||
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> | |||
<div class="visualClear"></div> | |||
</html> | |||
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:
- {{post}} (in the header and date sections)
- {{post-getTypeName}}
- {{prs}}
- {{postref}}