Template:postentry

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(template rename)
(fix)
 
Line 1: Line 1:
-
{{u|{{#ifeq:{{{1|{{{SITE}}}}}}|Instagram|instagram|twitter}}}} '''[[{{#ifeq:{{{2|{{{SITE}}}}}}|Twitter|@StrongBadActual Tweets {{{3|{{{year}}}}}}|@strongbadactual (Instagram)}}#{{{2|{{{ID}}}}}}|{{{4|{{{day}}}}}} {{{5|{{{month}}}}}} {{{3|{{{year}}}}}}]]:''' {{{6|{{{TEXT}}}}}} {{linkbox|{{#ifeq:{{{1|{{{SITE}}}}}}|Twitter|StrongBadActual/status/|p/}}{{{2|{{{ID}}}}}}|view|{{{1|{{{SITE}}}}}}}}<noinclude>
+
{{u|{{#ifeq:{{{1|{{{SITE}}}}}}|Instagram|instagram|twitter}}}} '''[[{{#ifeq:{{{1|{{{SITE}}}}}}|Twitter|@StrongBadActual Tweets {{{3|{{{year}}}}}}|@strongbadactual (Instagram)}}#{{{2|{{{ID}}}}}}|{{{4|{{{day}}}}}} {{{5|{{{month}}}}}} {{{3|{{{year}}}}}}]]:''' {{{6|{{{TEXT}}}}}} {{linkbox|{{#ifeq:{{{1|{{{SITE}}}}}}|Twitter|StrongBadActual/status/|p/}}{{{2|{{{ID}}}}}}|view|{{{1|{{{SITE}}}}}}}}<noinclude>
==Usage==
==Usage==
<code><nowiki>{{postentry|Twitter|1254408772249845763|2020|Apr|26|This is fake and will never happen but OH STYLES if I could shove my boxing gloves into a bucket fulla these, 'twould be bliss.}}</nowiki></code>
<code><nowiki>{{postentry|Twitter|1254408772249845763|2020|Apr|26|This is fake and will never happen but OH STYLES if I could shove my boxing gloves into a bucket fulla these, 'twould be bliss.}}</nowiki></code>

Current revision as of 04:36, 2 August 2021

[[@strongbadactual (Instagram)#{{{ID}}}|{{{day}}} {{{month}}} {{{year}}}]]: {{{TEXT}}} [[{{{SITE}}}:p/{{{ID}}}|view]]

[edit] Usage

{{postentry|Twitter|1254408772249845763|2020|Apr|26|This is fake and will never happen but OH STYLES if I could shove my boxing gloves into a bucket fulla these, 'twould be bliss.}}

Or with labelled parameters:

{{postentry|SITE=Twitter|ID=1254408772249845763|year=2020|month=Apr|day=26|TEXT=This is fake and will never happen but OH STYLES if I could shove my boxing gloves into a bucket fulla these, 'twould be bliss.}}

Produces the following result:

26 Apr 2020: This is fake and will never happen but OH STYLES if I could shove my boxing gloves into a bucket fulla these, 'twould be bliss. view

Personal tools