Template:prs

From Homestar Runner Wiki

Revision as of 23:05, 8 January 2023 by Stux (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[[@StrongBadActual Tweets {{{year}}}#{{{ID}}}|{{{day}}} {{{month}}} {{{year}}}]]

This template handles the short link portion of {{postref}}. Uses {{post-getType}} to determine post type.

[edit] Usage

{{prs|1254408772249845763|26|Apr|2020}}

Or with labelled parameters:

{{prs|ID=1254408772249845763|day=26|month=Apr|year=2020}}

Produces the following result:

26 Apr 2020

Or for Instagram posts:

{{prs|site=Instagram|BzWAeVkAAme|30|Jun|2019}}
30 Jun 2019

If you want to display the full date format:

{{prs|1254408772249845763|26|Apr|2020|full=1}}

Produces the following result:

April 26, 2020

If you want to use an alternate message:

{{prs|1254408772249845763|26|Apr|2020|alt=this is a tweet link}}

Produces the following result:

this is a tweet link

Personal tools