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: | ||
<!-- | <!-- Mirrored from Homestar Runner Wiki (hrwiki.org) via Wayback Machine --> | ||
T | |||
See {{[[Template:post|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: | |||
** {{[[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 04:58, 5 August 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}}