Template:Link/doc

Description
This template is used to paste links in references in easy way.

This template roughly follows APA format: Last name, Initials [Account name]. (Year, Month Day).  Title  [Type]. Site name.

When there's no author name:

Account name. (Year, Month Day).  Title  [Type]. Site name.

When there's no author and account names:

 Title  [Type]. (Year, Month Day). Site name.

Notice: the template may not be previewed correctly in Visual Editor and Visual Editor's wikitext mode (2017 wikitext editor). Please use sandbox or 2010 wikitext editor if you have problems with previewing the template.

Syntax
Type  inside the   tag.

Alternatively, you can use arguments by name:

All arguments, except  are optional.

Please, do not include information, that doesn't matter for the title (e.g. hashtags). Also do not end arguments with a dot.

Samples
results in...

results in...

results in...

results in...

results in...

results in...

results in...

TemplateData
{	"params": { "author": { "aliases": [ "3"			],			"label": "Author", "description": "Write the author's Last name and Initials here.", "example": "Gawr, G.", "type": "string" },		"title": { "aliases": [ "2"			],			"label": "Link Title", "description": "If that's a video or article, put it's title here. If that's a tweet, cite it without hashtags or links. If the title contain symbols that are used by wikitext (e.g [, ], |), mark them with .", "example": " [DEBUT STREAM] SHAAAAAARK", "type": "string" },		"url": { "aliases": [ "1"			],			"label": "URL", "description": "The link. Be sure to remove any temporary arguments from it.", "example": "https://www.youtube.com/watch?v=dBK0gKW61NU", "type": "url", "required": true },		"site": { "aliases": [ "4"			],			"label": "Site name", "description": "Write the site name you are linking to.", "example": "YouTube", "type": "string" },		"date": { "aliases": [ "5"			],			"label": "Date of publication", "example": "2020, September 13", "type": "date" },		"account": { "aliases": [ "6"			],			"label": "Account name", "description": "Write the username of the author here whenever applicable.", "example": "Gawr Gura Ch. hololive-EN", "type": "string" },		"type": { "aliases": [ "7"			],			"label": "Link type", "example": "Video", "type": "string" }	},	"description": "This template is used to paste links in references in easy way. ", "paramOrder": [ "url", "title", "author", "site", "date", "account", "type" ],	"format": "inline" }