Phillapple (talk | contribs) mNo edit summary |
Phillapple (talk | contribs) (added channel info and date parameters) |
||
Line 3: | Line 3: | ||
|- |
|- |
||
| Screenshot <div class="mw-collapsible mw-collapsed"> [[File:{{{messageImg}}}}|alt={{{transcript}}}|thumb|]] |
| Screenshot <div class="mw-collapsible mw-collapsed"> [[File:{{{messageImg}}}}|alt={{{transcript}}}|thumb|]] |
||
|- |
|||
| From [{{{channelURL}}} {{{channelName}}}] On {{{date}}} |
|||
</div> |
</div> |
||
|} |
|} |
||
Line 10: | Line 12: | ||
{ |
{ |
||
"params": { |
"params": { |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"messageImg": { |
"messageImg": { |
||
"aliases": [ |
"aliases": [ |
||
Line 27: | Line 18: | ||
"image" |
"image" |
||
], |
], |
||
"label": " |
"label": "Screenshot", |
||
"description": " |
"description": "Exact file name of the message screenshot.", |
||
"type": " |
"type": "unbalanced-wikitext", |
||
"suggested": true, |
"suggested": true, |
||
"example": "BobBobbington.png" |
"example": "BobBobbington.png" |
||
Line 39: | Line 30: | ||
], |
], |
||
"label": "Transcript", |
"label": "Transcript", |
||
"description": "The contents of the image |
"description": "The contents of the image", |
||
"example": "President Ryan says on May 6 2021: \"Anything but pineapples. And anchovies\"", |
"example": "President Ryan says on May 6 2021: \"Anything but pineapples. And anchovies\"", |
||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
⚫ | |||
"date": { |
|||
⚫ | |||
"messageDate" |
|||
⚫ | |||
"label": "Date", |
|||
"description": "Date of the message being sent in [[YYYY-MM-DD]]", |
|||
"example": "[[2022-4-5]] for April 5, 2022", |
|||
"type": "date", |
|||
⚫ | |||
}, |
|||
"channelName": { |
|||
"label": "Channel Name", |
|||
"description": "Name of the channel the message is from", |
|||
"example": "creative-chat; #creative-chat; Creative chat", |
|||
"type": "string", |
|||
"suggested": true, |
|||
"default": "{{{channelURL}}}" |
|||
}, |
|||
"channelURL": { |
|||
"aliases": [ |
|||
"chanLink", |
|||
"chanURL", |
|||
"channelLink" |
|||
], |
|||
"label": "Channel URL", |
|||
⚫ | |||
"required": true |
|||
}, |
|||
"messageURL": { |
|||
"aliases": [ |
|||
⚫ | |||
⚫ | |||
⚫ | |||
], |
|||
⚫ | |||
"description": "Link to the first of the included messages in Discord", |
|||
⚫ | |||
⚫ | |||
"required": true |
|||
} |
} |
||
}, |
}, |
||
Line 48: | Line 79: | ||
"format": "block", |
"format": "block", |
||
"paramOrder": [ |
"paramOrder": [ |
||
" |
"messageURL", |
||
"messageImg", |
"messageImg", |
||
"transcript" |
"transcript", |
||
"channelURL", |
|||
"channelName", |
|||
"date" |
|||
] |
] |
||
} |
} |
Revision as of 03:36, 26 March 2024
[{{{messageLink}}} Message link] |
Screenshot [[File:{{{messageImg}}}}|alt={{{transcript}}}|thumb|]]
|
From [{{{channelURL}}} {{{channelName}}}] On {{{date}}} |
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Template:Documentation Subpage This is the Great Phermesia Wiki standard citation for Discord messages, most commonly for player-created lore. It creates a 2 by 1 or 3 by 1 table out of provided information.
Where to use
This template should be used for Discord messages used as sources for this wiki.
How to use
You must provide a link to the messages themselves in the Message URL parameter ({{{messageURL}}}
), the ({{{date}}}
of the messages, and an exact {{{transcript}}}
of the relevant passage of the message. It is suggested you also provide the name of the channel that the message is from.
If the message is edited, {{{edited}}}
should be set to true
.
Examples (source editor)
Without any parameters provided, as in{{DiscSource}}the template will transclude like this.
[{{{messageLink}}} Message link] |
Screenshot [[File:{{{messageImg}}}}|alt={{{transcript}}}|thumb|]]
|
From [{{{channelURL}}} {{{channelName}}}] On {{{date}}} |
Yuck.
With the Bare Minimum required to not get an error, this is the result.
{{DiscSource | messageURL= https://discord.com/channels/810684927170707507/1099167536874016768/1099168028509339688 | date = 2023-04-21 | transcript = inso is very productive and useful 👍 | messageImg = }}
[{{{messageLink}}} Message link] |
Screenshot [[File:}|alt=inso is very productive and useful 👍|thumb|]]
|
From [{{{channelURL}}} this channel] On 2023-04-21 |
A blank space and "this channel" are the default values for {{{messageImg}}}
and {{{channelName}}}
respectively.
When we provide the template with more info, we get something like this. Let's also pretend, for a moment, that this message has been edited since.
{{DiscSource | messageURL= https://discord.com/channels/810684927170707507/1099167536874016768/1099168028509339688 | date = 2023-04-21 | transcript = inso is very productive and useful 👍 | messageImg = DiscSource example.png | channelName = #inso | edited = true }}
[{{{messageLink}}} Message link] |
Screenshot [[File:DiscSource example.png}|alt=inso is very productive and useful 👍|thumb|]]
|
From [{{{channelURL}}} #inso] On 2023-04-21 |
The first thing you'll notice is the new expandable image element, which will replace the transcript if a screenshot of the message is provided. The old transcript is now the alt text of the image.
Standard way to cite from Discord, using a screenshot and a link.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Message URL | messageURL link message messageLink | Link to the first of the included messages in Discord
| URL | required |
Screenshot | messageImg img screenshot image | Exact file name of the message screenshot.
| Unbalanced wikitext | suggested |
Transcript | transcript alt altText | The contents of the image
| String | suggested |
Channel URL | channelURL chanLink chanURL channelLink | Link to the channel the message(s) are from | Unknown | required |
Channel Name | channelName | Name of the channel the message is from
| String | suggested |
Date | date messageDate | Date of the message being sent in [[YYYY-MM-DD]]
| Date | required |