Template:Twitter archive: Difference between revisions
Trig Jegman (talk | contribs) mNo edit summary |
Wmyttmlimvty (talk | contribs) m (Minor correction) |
||
(15 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<div | <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=]]}} | {{#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> | ||
<big><big><big>''' | |||
<big>@ | |||
{{#if:{{{replyname|}}}|''Replying to {{{replyname|}}}''<br>|}} | {{#if:{{{replyname|}}}|''Replying to {{{replyname|}}}''<br>|}} | ||
<span | <br><span>{{{content|}}}</span><br> | ||
<div | <div class="twitter-archive-images"> | ||
{{#if:{{{image|}}}|[[File:{{{image|}}}|320px]]|}}{{#if:{{{image2|}}}|[[File:{{{image2|}}}|320px]]|}}{{#if:{{{image3|}}}|<br clear=all>[[File:{{{image3|}}}|320px]]|}}{{#if:{{{image4|}}}|[[File:{{{image4|}}}|320px]]|}}{{#if:{{{video|}}}|[[File:{{{video|}}}|thumb|center|350px]]|}}</div><br> | {{#if:{{{image|}}}|[[File:{{{image|}}}|320px]]|}}{{#if:{{{image2|}}}|[[File:{{{image2|}}}|320px]]|}}{{#if:{{{image3|}}}|<br clear=all>[[File:{{{image3|}}}|320px]]|}}{{#if:{{{image4|}}}|[[File:{{{image4|}}}|320px]]|}}{{#if:{{{video|}}}|[[File:{{{video|}}}|thumb|center|350px]]|}}</div><br> | ||
<small>''{{#if:{{{original|}}}|[{{{original|}}} Originally posted on {{#if:{{{date|}}}|{{{date|}}}|<span | <small>''{{#if:{{{original|}}}|[{{{original|}}} Originally posted on {{#if:{{{date|}}}|{{{date|}}}|<span class="red">No date listed</span><includeonly>[[Category:Tweets without dates]]</includeonly>}}]|<span class="twitter-archive-red">Original tweet missing</span><includeonly>[[Category:Tweets without original sources]]</includeonly>.}}''</small><br/> | ||
</div><br | <small>[[{{FULLPAGENAME}}#{{#titleparts:{{{original|<span class="twitter-archive-red">Original tweet missing</span>}}}| |-1}}]]<br/> | ||
<code><nowiki>{{TWI}} [[</nowiki>{{FULLPAGENAME}}#{{#titleparts:{{{original|<span class="twitter-archive-red">Original tweet missing</span>}}}| |-1}}|@{{{username|Username missing!}}} on Twitter<nowiki>]]</nowiki></code></small> | |||
</div><br><noinclude> | |||
'''Syntax:''' | |||
<pre>{{Twitter archive | |||
|note= | |||
|pfp= | |||
|displayname= | |||
|username= | |||
|content= | |||
|image= | |||
|date= | |||
|original= | |||
}}</pre> | |||
Parameters: | '''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 | *pfp — Profile picture of the account; Some frequent options may be used below — necessary | ||
**srl: Squid Research Lab | **srl: Squid Research Lab | ||
Line 19: | Line 32: | ||
**oatmealdome: OatmealDome, a popular resource for information | **oatmealdome: OatmealDome, a popular resource for information | ||
*displayname — The display name of the account (Nintendo of America) — necessary | *displayname — The display name of the account (Nintendo of America) — necessary | ||
*username — What is added after the @ ( | *username — What is added after the @ (NintendoAmerica) — necessary | ||
*replyname — If the tweet is a reply, lists username of account being replied to — optional | *replyname — If the tweet is a reply, lists username of account being replied to — optional | ||
*content — Text of the tweet — optional | *content — Text of the tweet — optional | ||
Line 29: | Line 42: | ||
*date — When the tweet was posted — necessary | *date — When the tweet was posted — necessary | ||
*original — Link to the tweet, preferably an archived version (internet archive) — necessary | *original — Link to the tweet, preferably an archived version (internet archive) — necessary | ||
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. | |||
'''Example with it's syntax:''' | |||
{{Twitter archive | {{Twitter archive | ||
|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 | ||
Line 39: | Line 55: | ||
|original=https://splatoonwiki.org/wiki/Main_Page | |original=https://splatoonwiki.org/wiki/Main_Page | ||
}} | }} | ||
<pre>{{Twitter archive | |||
|note=The following example Tweet has been deleted, or another such note is necessary. | |||
|pfp=Site-wiki.svg | |||
|displayname=Inkipedia | |||
|username=splatoonwiki | |||
|content=Welcome to Inkipedia! The free encyclopedia on all things Splatoon. | |||
|image=S3 Stage Gone Fission Hydroplant.png | |||
|date=July 1, 2023 | |||
|original=https://splatoonwiki.org/wiki/Main_Page | |||
}}</pre> | |||
[[Category:Templates]] | |||
</noinclude> | </noinclude> |
Latest revision as of 20:15, 24 March 2024
[[File:|left|42px|link=]]Display name missing!
@Username missing!
Original tweet missing.
[[Template:Twitter archive#Original tweet missing]]
{{TWI}} [[Template:Twitter archive#Original tweet missing|@Username missing! on Twitter]]
Syntax:
{{Twitter archive |note= |pfp= |displayname= |username= |content= |image= |date= |original= }}
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
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.
Example with it's syntax:
Inkipedia
@splatoonwiki
Welcome to Inkipedia! The free encyclopedia on all things Splatoon.
Originally posted on July 1, 2023
Template:Twitter archive#Main Page
{{TWI}} [[Template:Twitter archive#Main Page|@splatoonwiki on Twitter]]
{{Twitter archive |note=The following example Tweet has been deleted, or another such note is necessary. |pfp=Site-wiki.svg |displayname=Inkipedia |username=splatoonwiki |content=Welcome to Inkipedia! The free encyclopedia on all things Splatoon. |image=S3 Stage Gone Fission Hydroplant.png |date=July 1, 2023 |original=https://splatoonwiki.org/wiki/Main_Page }}