Plantilla:Discord ref

De Terraria Wiki
Ir a la navegación Ir a la búsqueda
Esta plantilla tiene su i18n preparado, lo que significa que es fácil de localizar para diferentes lenguas. Por favor vea I18n & l10n para plantillas (en) para aprender más.
Véase Plantilla:Discord ref/l10n para la localización de esta plantilla.
Important.svg
CUIDADO: ¡¡¡El código de la Wiki Terraria es complejo!!!
Si quieres utilizar este código en otra wiki, el staff de wiki.gg no podrá brindarte asistencia.
Por favor considera otra wiki a la cual adaptar su código, ¡o crea tus propias plantillas!
Recuerda que el contenido de una wiki es más importante que el formato elegante.
Template-info.svg Documentación La siguiente documentación es transcluida de Plantilla:Discord ref/doc. (editar | historia)

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 "Mensaje de $postedby". 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}} Mensaje en el servidor de Discord oficial de Terraria
{{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}} Mensaje de Red en #terraria-chat-1 en el servidor de Discord oficial de Terraria (link al mensaje) 05 de abril de 2019
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 en #journeys-end-chat en el servidor de Discord oficial de Terraria (link al mensaje) 19 de abril de 2020