Template:Twitter archive: Difference between revisions
From Inkipedia, the Splatoon wiki
(using titleparts to automagically generate an anchor for the tweet from the value of 'original' (thanks to @ha5753 for suggesting the titleparts workaround!)) |
m (okay, let's see if this permalink thing works on the instances of this template which already exist, will revert if this fails on them) |
||
Line 5: | Line 5: | ||
<div class="twitter-archive-images"> | <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 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> | <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/> | ||
<small>[[{{FULLPAGENAME}}#{{#titleparts:{{{original|<span class="twitter-archive-red">Original tweet missing</span>}}}| |-1}}]]</small> | |||
</div><br><noinclude> | </div><br><noinclude> | ||
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.<br> | 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.<br> |
Revision as of 22:02, 30 August 2023
[[File:|left|42px|link=]]Display name missing!
@Username missing!
Original tweet missing.
[[Template:Twitter archive#Original tweet missing]]
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:
- 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:
Inkipedia
@splatoonwiki
@splatoonwiki
Welcome to Inkipedia! The free encyclopedia on all things Splatoon.
Originally posted on July 1, 2023
Template:Twitter archive#Main Page
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.