Template:CiteDiscord: Difference between revisions
Jump to navigation
Jump to search
let's see how broken this initial version of the template is |
okay, no errors so far... |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{author|}}} | {{{author}}}{{#if: {{{date|}}} | ({{{date}}}) }}. }} {{#if: {{ChannelID|{{{channel|}}}}} | {{#if: {{{id|}}} | [https://discordapp.com/channels/357922255553953794/{{ChannelID|{{{channel}}}}}/{{{id}}} Message in #{{{channel}}}] | '''Error: Message ID required!''' }} | '''Error: Invalid channel name!'''}} on the Conwaylife Lounge Discord server</includeonly><noinclude> | <includeonly>{{#if: {{{author|}}} | {{{author}}}{{#if: {{{date|}}} | ({{{date}}}) }}. }} {{#if: {{ChannelID|{{{channel|}}}}} | {{#if: {{{id|}}} | [https://discordapp.com/channels/357922255553953794/{{ChannelID|{{{channel}}}}}/{{{id}}} Message in #{{{channel}}}] | '''Error: Message ID required!''' }} | '''Error: Invalid channel name {{{channel| (none specified)}}}!'''}} on the Conwaylife Lounge Discord server [[Category:Pages that link to the Conwaylife Lounge]]</includeonly><noinclude>This is a template for including links to messages on the '''[https://discord.gg/BCuYCEn Conwaylife Lounge]''' Discord server in the "References" section of an article. It can take the following parameters: | ||
* ''channel'', the name of the channel the message was posted in: | * ''channel'', the name of the channel the message was posted in, without the # sign: | ||
** Options are ''starboard'', ''rules'', ''info'', ''announcements'', ''general-discussion'', ''off-topic'', ''tools'', ''cgol'', ''naturalistic'', ''synthetic'', ''general-theory'', ''other-math'', ''programming'', ''bots-and-mute-this'', and ''boice-text''; | ** Options are ''starboard'', ''rules'', ''info'', ''announcements'', ''general-discussion'', ''off-topic'', ''tools'', ''cgol'', ''naturalistic'', ''synthetic'', ''general-theory'', ''other-math'', ''programming'', ''bots-and-mute-this'', and ''boice-text''; | ||
* ''id'', the numerical ID of the message (this can be obtained by clicking on the three dots to the right of the message and clicking "Copy ID"); | * ''id'', the numerical ID of the message (this can be obtained by clicking on the three dots to the right of the message and clicking "Copy ID"); | ||
| Line 11: | Line 11: | ||
'''You type:''' | '''You type:''' | ||
<tt><nowiki>{{ | <tt><nowiki>{{LinkDiscord|channel=cgol|id=700583344085139496}}</nowiki></tt> | ||
'''You see:''' | '''You see:''' | ||
[https://discordapp.com/channels/357922255553953794/370571014654001154/700583344085139496 Message in #cgol] on the Conwaylife Lounge Discord server | |||
'''You type:''' | '''You type:''' | ||
<tt><nowiki>{{ | <tt><nowiki>{{LinkDiscord|author=Mateon1|date=April 17, 2020|channel=cgol|id=700583344085139496}}</nowiki></tt> | ||
'''You see:''' | '''You see:''' | ||
Mateon1 (April 17, 2020). [https://discordapp.com/channels/357922255553953794/370571014654001154/700583344085139496 Message in #cgol] on the Conwaylife Lounge Discord server | |||
'''You type:''' | '''You type:''' | ||
<pre><nowiki><ref name=" | <pre><nowiki><ref name="message700583344085139496" /> | ||
==References== | ==References== | ||
<references> | <references> | ||
<ref name=" | <ref name="message700583344085139496">{{LinkDiscord | ||
| | |author = Mateon1 | ||
| | |date = April 17, 2020 | ||
| | |channel = cgol | ||
| | |id = 700583344085139496 | ||
}}</ref> | }}</ref> | ||
</references></nowiki></pre> | </references></nowiki></pre> | ||
| Line 42: | Line 41: | ||
'''You see:''' a footnote link<sup>1</sup> at the '''ref''' tag location, and a reference section containing | '''You see:''' a footnote link<sup>1</sup> at the '''ref''' tag location, and a reference section containing | ||
1. [ | 1. Mateon1 (April 17, 2020). [https://discordapp.com/channels/357922255553953794/370571014654001154/700583344085139496 Message in #cgol] on the Conwaylife Lounge Discord server | ||
==See also== | ==See also== | ||
Revision as of 13:38, 17 April 2020
This is a template for including links to messages on the Conwaylife Lounge Discord server in the "References" section of an article. It can take the following parameters:
- channel, the name of the channel the message was posted in, without the # sign:
- Options are starboard, rules, info, announcements, general-discussion, off-topic, tools, cgol, naturalistic, synthetic, general-theory, other-math, programming, bots-and-mute-this, and boice-text;
- id, the numerical ID of the message (this can be obtained by clicking on the three dots to the right of the message and clicking "Copy ID");
- author, the author of the thread or post (optional);
- date, the date the forum post was posted (optional, if author is specified);
Here are three simple usage examples:
You type:
{{LinkDiscord|channel=cgol|id=700583344085139496}}
You see:
Message in #cgol on the Conwaylife Lounge Discord server
You type:
{{LinkDiscord|author=Mateon1|date=April 17, 2020|channel=cgol|id=700583344085139496}}
You see:
Mateon1 (April 17, 2020). Message in #cgol on the Conwaylife Lounge Discord server
You type:
<ref name="message700583344085139496" />
==References==
<references>
<ref name="message700583344085139496">{{LinkDiscord
|author = Mateon1
|date = April 17, 2020
|channel = cgol
|id = 700583344085139496
}}</ref>
</references>
You see: a footnote link1 at the ref tag location, and a reference section containing
1. Mateon1 (April 17, 2020). Message in #cgol on the Conwaylife Lounge Discord server
See also
- Pages that link to external sites (category)
External link templates
- Template:Cata
- Template:LinkCallahan
- Template:LinkCatagolue
- Template:LinkCatagolueRule
- Template:LinkEppstein
- Template:LinkEppsteinRule
- Template:LinkForumThread
- Template:LinkGoLDictionary
- Template:LinkGoLNews
- Template:LinkGollyHelp
- Template:LinkLexicon
- Template:LinkMathworld
- Template:LinkMirek
- Template:LinkNiemiec
- Template:LinkPentadecathlonObject
- Template:LinkWikipedia
- Template:LinkYouTube
- Template:MathGenealogy
- Template:OEIS