Template:cite Telegram

From sona pona, the Toki Pona wiki
Revision as of 20:10, 18 March 2024 by User:jan Pensa (talk | contribs) (added url status support)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

[{{{url}}} [Message posted in the {{{group}}} group on Telegram]]. Telegram.

Documentation[edit source]

This template is a variant of Template:cite web for citing Telegram messages, based on Template:cite Discord. While all of the parameters for Template:cite web template still work here, this version has more convenient parameters that can be used instead.

<ref>{{cite Telegram|url=|group=|author=|username=|date=|access-date=|archive-url=|archive-date=|quote=}}</ref>

If the message is from a channel, replace the group parameter with channel.

To change the word "Message", add this parameter: |message type=

If it is a public group or channel, the message can be archived on the Internet Archive at archive.org. It is recommended that you do so, and add a link to archive.org using the archive-url parameter.

Template data[edit source]

Cites a Telegram message

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Authorauthor name

Author's Toki Pona name or legal name. Not always the same as their current Telegram display name.

Example
{{tok|[[jan Sonja]]}}
Linesuggested
Usernameusername

Author's username (the one you can use to @ them)

Example
SonjaLang
Stringsuggested
Source datedate

Full date when the comment was sent

Example
2014-12-31
Daterequired
URLurl

Web address of the message you're citing. In the message's context menu, press Copy Message Link and paste this here.

Example
//t.me/tokiponaTelegram/28
URLrequired
URL statusurl-status

Status of the non-archive URL. Requires {{{url}}} and {{{archive-url}}}, and determines which to use as the main link. If set to unfit or usurped (for when the non-archive URL has been claimed by another entity), only the archive is used.

Suggested values
dead live unfit usurped
Default
live
Stringsuggested
Titletitle

Included for compatibility with {{cite web}}

Stringdeprecated
Message typemessage type

Noun to use instead of "Message"

Default
Message
Example
Informal poll
Stringoptional
Channelchannel

Title of the channel where the message was sent

Example
{{tp|toki pona lon ilo Telegram}}
Stringrequired
Groupgroup

Title of the group where the message was sent

Example
{{tp|jan pi wile pona taso}}
Stringrequired
Delimitersdelimiters

Included for compatibility with {{cite web}}

Stringdeprecated
Translated titletrans-title

Included for compatibility with {{cite web}}

Stringdeprecated
Languagelanguage lang

Included for compatibility with {{cite web}}

Stringdeprecated
Quotequote

Specific quote to cite. If long, place in a separate blockquote after this template.

Example
visually i resemble a deer
Linesuggested
Website namewebsite

Included for compatibility with {{cite web}}

Default
Telegram
Stringdeprecated
Publisherpublisher

Included for compatibility with {{cite web}}

Stringdeprecated
Archive URLarchive-url

URL of an archived copy of the page

Example
//web.archive.org/web/20020120142510/http://example.com
URLsuggested
Archive datearchive-date

Full date when the original URL was archived. With Wayback Machine archives, you can refer to the archive URL to find this quickly: web.archive.org/web/YYYYMMDDhhmmss

Datesuggested
Access dateaccess-date retrieved

Full date when the message was accessed

Example
16 October 2023
Datesuggested