Template:Twitter archive/sandbox: Difference between revisions

From Inkipedia, the Splatoon wiki
m (mayhaps this version will actually work??)
m (parity with main non-sandbox version)
Line 1: Line 1:
<templatestyles src="Twitter archive/styles.css" /><div class="twitter-archive-container">{{#if:{{{original|}}}|{{Anchor|{{#titleparts:{{{original}}}| |-1}}|}} | }}
<templatestyles src="Twitter archive/styles.css" /><div class="twitter-archive-container">{{#if:{{{note|}}}|<sup>''Note: {{{note|}}}''</sup><br>|}}{{#if:{{{original|}}}|{{Anchor|{{#titleparts:{{{original}}}| |-1}}|}} | }}
{{#switch:{{{pfp|}}}|srl|srl=[[File:S3 Squid Research Lab Icon.jpg|left|42px|link=]]|nintendo|nintendo=[[File:Nintendo Twitter PFP.jpg|left|42px|link=]]|inkipedia|inkipedia=[[File:Site-wiki.svg|left|42px|link=]]|rassicas|rassicas=[[File:Rassicas Twitter PFP.jpg|left|42px|link=]]|oatmealdome|oatmealdome=[[File:OatmealDome Twitter PFP.jpg|left|42px|link=]]|lean|leanny|leanyoshi|leanyoshi=[[File:LeanYoshi Twitter PFP.jpg|left|42px|link=]]|#default=[[File:{{{pfp|}}}|left|42px|link=]]}}<big><big><big>'''{{{displayname|Display name missing!<includeonly>[[Category:Tweets missing names]]</includeonly>}}}'''</big></big></big><br><big>@{{{username|Username missing!<includeonly>[[Category:Tweets missing names]]</includeonly>}}}</big><br>
{{#switch:{{{pfp|}}}|srl|srl=[[File:S3 Squid Research Lab Icon.jpg|left|42px|link=]]|nintendo|nintendo=[[File:Nintendo Twitter PFP.jpg|left|42px|link=]]|inkipedia|inkipedia=[[File:Site-wiki.svg|left|42px|link=]]|rassicas|rassicas=[[File:Rassicas Twitter PFP.jpg|left|42px|link=]]|oatmealdome|oatmealdome=[[File:OatmealDome Twitter PFP.jpg|left|42px|link=]]|lean|leanny|leanyoshi|leanyoshi=[[File:LeanYoshi Twitter PFP.jpg|left|42px|link=]]|#default=[[File:{{{pfp|}}}|left|42px|link=]]}}<big><big><big>'''{{{displayname|Display name missing!<includeonly>[[Category:Tweets missing names]]</includeonly>}}}'''</big></big></big><br><big>@{{{username|Username missing!<includeonly>[[Category:Tweets missing names]]</includeonly>}}}</big><br>
{{#if:{{{replyname|}}}|''Replying to {{{replyname|}}}''<br>|}}
{{#if:{{{replyname|}}}|''Replying to {{{replyname|}}}''<br>|}}
Line 11: Line 11:


Parameters:
Parameters:
*note: If the Tweet requires a note (eg. if the original has been deleted or edited)
*pfp — Profile picture of the account; Some frequent options may be used below — necessary
*pfp — Profile picture of the account; Some frequent options may be used below — necessary
**srl: Squid Research Lab
**srl: Squid Research Lab
Line 30: Line 31:
example:
example:
{{Twitter archive/sandbox
{{Twitter archive/sandbox
|note=The following example Tweet has been deleted, or another such note is necessary.
|pfp=Site-wiki.svg
|pfp=Site-wiki.svg
|displayname=Inkipedia
|displayname=Inkipedia

Revision as of 15:57, 5 December 2023


Note: The above will not look complete because of the various default responses given for no information entered. Please see the example below for a reference.

Parameters:

  • note: If the Tweet requires a note (eg. if the original has been deleted or edited)
  • pfp — Profile picture of the account; Some frequent options may be used below — necessary
    • srl: Squid Research Lab
    • nintendo: Nintendo (any region, it's all the same)
    • inkipedia: Inkipedia's own account
    • rassicas: Rassicas, a popular translator
    • oatmealdome: OatmealDome, a popular resource for information
  • displayname — The display name of the account (Nintendo of America) — necessary
  • username — What is added after the @ (@NintendoAmerica) — necessary
  • replyname — If the tweet is a reply, lists username of account being replied to — optional
  • content — Text of the tweet — optional
  • image — Image(s) for the tweet, should auto-align — optional
    • image2
    • image3
    • image4
  • video — Video attached to the tweet — optional
  • date — When the tweet was posted — necessary
  • original — Link to the tweet, preferably an archived version (internet archive) — necessary

example:


Tweets can be saved without the necessary parameters, but it will cause display errors and a maintenance category to be added depending on the error.