:Discord ref

Terraria Wiki
둘러보기로 이동 검색으로 이동
This template is i18n-ready, which means it is easy to localize for different languages. Please see I18n & l10n for templates to learn more.
See 틀:Discord ref/l10n for the localization of this template.
Template-info.svg Documentation The documentation below is transcluded from 틀:Discord ref/doc. (edit | history)

This template can be used to provide a reference from the official Terraria Discord server, e.g. for statements made by Re-Logic staff. It displays a short, standardized text wrapped in a <ref> tag.

Usage

{{ discord ref | postedby = <author> | type = <custom text> | channel = <Discord channel> | link = <message link> | imagelink = <link to a screenshot> | date = <message date> | noref = y/yes | name = <custom <ref> name> }}

postedby

Name of the person who posted the message.

type

By default, the text starts with "$postedby's message". Use this parameter to provide a custom text, e.g. Cenx' messages. Causes $postedby to have no effect.

channel

Channel of the Discord server that the message was posted in.

link

Link to the message in the Discord server. Omit the https://discordapp.com/channels/ part, only include the part after it.

imagelink

Link to a screenshot of the message. This is important for readers who do not have access to or do not wish to visit the Terraria Discord server. In addition, it preserves the message in its original state, prior to potential edits or even deletion.

date

Date the message was posted on, in a MM/DD/YYYY format.

noref

Suppresses the <ref> tag and displays the text normally.

name

Can be used to specify a custom name for the <ref>, so that a <ref> can be reused several times (via <ref name="<name>" />). Only has an effect if noref is not set.

Notes

  • If there is at least one call of {{discord ref}} without $noref on the page, a new section "References" or "Footnotes" with {{reflist}} needs to be added.

Examples

Code Result
{{discord ref|noref=y}} Message on the official Terraria Discord server
{{discord ref|postedby=Red|channel=#terraria-chat-1|imagelink=https://cdn.discordapp.com/attachments/504236851654033422/573205496400576523/b205ffdc-2958-4c83-8d6a-bc35795d83b2.png|link=251072485095636994/251116850132287490/563556790172647444|date=04/05/2019|noref=y}} Red's message in #terraria-chat-1 on the official Terraria Discord server (link to message) 틀:Small
This was confirmed by [[Leinfors]].{{discord ref|imagelink=https://i.imgur.com/UACgLrk.png|type=Leinfors' message|channel=#journeys-end-chat|link=251072485095636994/699332402887000064/701501644935921765|date=04/19/2020}} This was confirmed by Leinfors.[1]

References

  1. Leinfors' message in #journeys-end-chat on the official Terraria Discord server (link to message) 틀:Small