If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

User:Ashbinary/Sandbox/Twitter Template

From The Cutting Room Floor
Jump to navigation Jump to search


A template that inserts a Tweet as a blockquote into a page. Intended for archival purposes and/or in place of lengthy Twitter citations in a single article.

Usage

{{User:Ashbinary/Sandbox/Twitter Template
|imagepfp=
|displayname=
|username=
|textbody=
|image1=
|image2=
|image3=
|image4=
|sourcelink=
|date=
}}

Legend

  • imagepfp: Optional parameter. Renders a profile picture in the upper left. The picture needs to have been uploaded to the wiki separately. Must be formatted as Filename.extension.
  • displayname: Required parameter. Renders the Tweet owner's display name.
  • username: Required parameter. Renders the Tweet owner's username.
  • textbody: Required parameter. The text body of the associated Tweet; use this to imitate the Tweet as best as possible.
  • image1-4: Optional parameter. Adds images to the Tweet.
  • sourcelink: Required parameter. Renders a link to the original Tweet.
  • date: Required parameter. Renders the date the Tweet was posted on. Must be formatted as {{date|yyyy|Month|dd|nocat=true}} as it uses the date template.

Examples

Code

{{User:Ashbinary/Sandbox/Twitter Template
|imagepfp=NintendoAmerica_TwitterPFP.jpg
|username=Nintendo
|displayname=任天堂株式会社
|textbody=[キャリア採用情報]「ゲームソフト開発コーディネーター」(京都勤務)の募集要項を掲載しました。https://www.nintendo.co.jp/jobs/career/index.html?utm_source=twitter&utm_medium=social&utm_content=20240315&utm_campaign=jobs
|sourcelink=https://twitter.com/Nintendo/status/1768509194616131892
|date={{date|2024|March|15|nocat=true}}
}}
{{User:Ashbinary/Sandbox/Twitter Template
|imagepfp=NintendoAmerica_TwitterPFP.jpg
|username=NintendoAmerica
|displayname=Nintendo of America
|textbody=It’s no secret that Inklings and Octolings can arrange their head tentacles in various “hairstyles.” However, it seems these wonderful creatures are capable of more intricate designs than previously known. Just look at this Inkling… It has a braid! What a day for science.
|image1=Splatoon 3-prerelease-2021 02-NoA press-screenshot 1.jpg
|sourcelink=https://twitter.com/NintendoAmerica/status/1362182743329628161
|date={{date|2021|February|17|nocat=true}}
}}

Output

NintendoAmerica TwitterPFP.jpg

任天堂株式会社
@Nintendo

[キャリア採用情報]「ゲームソフト開発コーディネーター」(京都勤務)の募集要項を掲載しました。https://www.nintendo.co.jp/jobs/career/index.html?utm_source=twitter&utm_medium=social&utm_content=20240315&utm_campaign=jobs


Source: Nintendo on Twitter
Date: March 15, 2024


NintendoAmerica TwitterPFP.jpg

Nintendo of America
@NintendoAmerica

It’s no secret that Inklings and Octolings can arrange their head tentacles in various “hairstyles.” However, it seems these wonderful creatures are capable of more intricate designs than previously known. Just look at this Inkling… It has a braid! What a day for science.

Splatoon 3-prerelease-2021 02-NoA press-screenshot 1.jpg

Source: NintendoAmerica on Twitter
Date: February 17, 2021