Template:postref
From Homestar Runner Wiki
Bleu Ninja (Talk | contribs) (Linking "posted" gives the impression that clicking that link will take you to the *post*, link platform instead to reduce ambiguity.) |
(add Bluesky support) |
||
Line 2: | Line 2: | ||
-->|{{#switch:{{post-getType|{{{site|Twitter}}}}}<!-- /* choose target page and heading */ | -->|{{#switch:{{post-getType|{{{site|Twitter}}}}}<!-- /* choose target page and heading */ | ||
-->|Instagram=posted to [[@strongbadactual (Instagram)|Instagram]] <!-- | -->|Instagram=posted to [[@strongbadactual (Instagram)|Instagram]] <!-- | ||
+ | -->|Bluesky=posted to [[@StrongBadNoFoolin.bsky.social|Bluesky]] <!-- | ||
-->|ronginald=posted to [[@ronginald|Twitter]]<!-- | -->|ronginald=posted to [[@ronginald|Twitter]]<!-- | ||
-->|#default=posted to [[@StrongBadActual|Twitter]]<!-- | -->|#default=posted to [[@StrongBadActual|Twitter]]<!-- | ||
Line 7: | Line 8: | ||
-->|{{#switch:{{post-getType|{{{site|Twitter}}}}}<!-- /* choose target page and heading */ | -->|{{#switch:{{post-getType|{{{site|Twitter}}}}}<!-- /* choose target page and heading */ | ||
-->|Instagram=[[@strongbadactual (Instagram)|@strongbadactual]] Instagram post<!-- | -->|Instagram=[[@strongbadactual (Instagram)|@strongbadactual]] Instagram post<!-- | ||
+ | -->|Bluesky=[[@StrongBadNoFoolin.bsky.social]] Bluesky post<!-- | ||
-->|ronginald=[[@ronginald]] tweet<!-- | -->|ronginald=[[@ronginald]] tweet<!-- | ||
-->|#default=[[@StrongBadActual]] tweet<!-- | -->|#default=[[@StrongBadActual]] tweet<!-- | ||
Line 34: | Line 36: | ||
<code><nowiki>{{postref|site=Instagram|BzWAeVkAAme|30|Jun|2019}}</nowiki></code><br> | <code><nowiki>{{postref|site=Instagram|BzWAeVkAAme|30|Jun|2019}}</nowiki></code><br> | ||
{{postref|site=Instagram|BzWAeVkAAme|30|Jun|2019}} | {{postref|site=Instagram|BzWAeVkAAme|30|Jun|2019}} | ||
+ | |||
+ | Or for Bluesky posts: | ||
+ | |||
+ | <code><nowiki>{{postref|site=Bluesky|3lcqald3s5k2i|08|Dec|2024}}</nowiki></code><br> | ||
+ | {{postref|site=Bluesky|3lcqald3s5k2i|08|Dec|2024}} | ||
Or for @ronginald historical posts: | Or for @ronginald historical posts: |
Current revision as of 15:13, 8 December 2024
@StrongBadActual tweet ([[@StrongBadActual Tweets {{{year}}}#{{{ID}}}|{{{day}}} {{{month}}} {{{year}}}]])
[edit] Usage
{{postref|1254408772249845763|26|Apr|2020}}
Or with labelled parameters:
{{postref|ID=1254408772249845763|day=26|month=Apr|year=2020}}
Produces the following result:
@StrongBadActual tweet (26 Apr 2020)
Or with the "posted" parameter:
{{postref|1254408772249845763|26|Apr|2020|posted=1}}
posted to Twitter on April 26, 2020
Or for Instagram posts:
{{postref|site=Instagram|BzWAeVkAAme|30|Jun|2019}}
@strongbadactual Instagram post (30 Jun 2019)
Or for Bluesky posts:
{{postref|site=Bluesky|3lcqald3s5k2i|08|Dec|2024}}
@StrongBadNoFoolin.bsky.social Bluesky post (08 Dec 2024)
Or for @ronginald historical posts:
{{postref|site=ronginald|114395585209053184|15|Sep|2011}}
@ronginald tweet (15 Sep 2011)
[edit] See Also
- Template {{prs}} for shorter links
- Uses {{post-getType}} to determine post type.