Template:postref
From Homestar Runner Wiki
(Difference between revisions)
(default parameters) |
(undo revision 793032; these parameter values are not functional values and may add confusion to those using the template) |
||
| Line 1: | Line 1: | ||
| - | {{#ifeq:{{{site|}}}||[[@StrongBadActual]] Tweet|[[@strongbadactual (Instagram)|@strongbadactual]] Instagram post}} ([[{{#ifeq:{{{site|}}}||@StrongBadActual Tweets {{{4|{{{year | + | {{#ifeq:{{{site|}}}||[[@StrongBadActual]] Tweet|[[@strongbadactual (Instagram)|@strongbadactual]] Instagram post}} ([[{{#ifeq:{{{site|}}}||@StrongBadActual Tweets {{{4|{{{year}}}}}}|@strongbadactual (Instagram)}}#{{{1|{{{ID}}}}}}|{{{2|{{{day}}}}}} {{{3|{{{month}}}}}} {{{4|{{{year}}}}}}]])<noinclude> |
==Usage== | ==Usage== | ||
<code><nowiki>{{postref|1254408772249845763|26|Apr|2020}}</nowiki></code> | <code><nowiki>{{postref|1254408772249845763|26|Apr|2020}}</nowiki></code> | ||
Revision as of 21:03, 5 September 2020
@StrongBadActual Tweet ([[@StrongBadActual Tweets {{{year}}}#{{{ID}}}|{{{day}}} {{{month}}} {{{year}}}]])
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 for Instagram posts:
{{postref|site=Instagram|BzWAeVkAAme|30|Jun|2019}}
@strongbadactual Instagram post (30 Jun 2019)
