Template:prs: 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 --> | ||
[[@StrongBadActual Tweets {{{year}}}#{{{ID}}}|{{{day}}} {{{month}}} {{{year}}}]] | <html> | ||
<p>[[@StrongBadActual Tweets {{{year}}}#{{{ID}}}|{{{day}}} {{{month}}} {{{year}}}]] | |||
</p><p>This template handles the short link portion of {{<a href="/index.php?title=Template:postref" title="Template:postref">postref</a>}}. Uses {{<a href="/index.php?title=Template:post-getType" title="Template:post-getType">post-getType</a>}} to determine post type. | |||
</p> | |||
<a id="Usage" name="Usage"></a><h2> <span class="mw-headline">Usage</span></h2> | |||
<p><code>{{prs|1254408772249845763|26|Apr|2020}}</code> | |||
</p><p>Or with labelled parameters: | |||
</p><p><code>{{prs|ID=1254408772249845763|day=26|month=Apr|year=2020}}</code> | |||
</p><p>Produces the following result: | |||
</p><p><a href="/index.php?title=%40StrongBadActual_Tweets_2020" title="@StrongBadActual Tweets 2020">26 Apr 2020</a> | |||
</p><p>Or for Instagram posts: | |||
</p><p><code>{{prs|site=Instagram|BzWAeVkAAme|30|Jun|2019}}</code><br/> | |||
<a href="/index.php?title=%40strongbadactual_%28Instagram%29" title="@strongbadactual (Instagram)">30 Jun 2019</a> | |||
</p><p>Or for Bluesky posts: | |||
</p><p><code>{{prs|site=Bluesky|3lcqald3s5k2i|08|Dec|2024}}</code><br/> | |||
<a class="mw-redirect" href="/index.php?title=%40StrongBadNoFoolin.bsky.social" title="@StrongBadNoFoolin.bsky.social">08 Dec 2024</a> | |||
</p><p>If you want to display the full date format: | |||
</p><p><code>{{prs|1254408772249845763|26|Apr|2020|full=1}}</code> | |||
</p><p>Produces the following result: | |||
</p><p><a href="/index.php?title=%40StrongBadActual_Tweets_2020" title="@StrongBadActual Tweets 2020">April 26, 2020</a> | |||
</p><p>If you want to use an alternate message: | |||
</p><p><code>{{prs|1254408772249845763|26|Apr|2020|alt=this is a tweet link}}</code> | |||
</p><p>Produces the following result: | |||
</p><p><a href="/index.php?title=%40StrongBadActual_Tweets_2020" title="@StrongBadActual Tweets 2020">this is a tweet link</a> | |||
</p> | |||
<div class="visualClear"></div> | |||
</html> | |||
Latest revision as of 21:00, 18 July 2026
[[@StrongBadActual Tweets {{{year}}}#{{{ID}}}|{{{day}}} {{{month}}} {{{year}}}]]
This template handles the short link portion of {{postref}}. Uses {{post-getType}} to determine post type.
Usage
{{prs|1254408772249845763|26|Apr|2020}}
Or with labelled parameters:
{{prs|ID=1254408772249845763|day=26|month=Apr|year=2020}}
Produces the following result:
Or for Instagram posts:
{{prs|site=Instagram|BzWAeVkAAme|30|Jun|2019}}
30 Jun 2019
Or for Bluesky posts:
{{prs|site=Bluesky|3lcqald3s5k2i|08|Dec|2024}}
08 Dec 2024
If you want to display the full date format:
{{prs|1254408772249845763|26|Apr|2020|full=1}}
Produces the following result:
If you want to use an alternate message:
{{prs|1254408772249845763|26|Apr|2020|alt=this is a tweet link}}
Produces the following result: