Template:Ref/doc

From Poupedia
Revision as of 19:29, 14 January 2024 by PretzelBubbleTea (talk | contribs) (Created page with "This template is used to cite external sources in articles of the {{SITENAME}}. The documentation on the developers wiki provides usage examples and detailed descriptions of all parameters accepted by the template. == TemplateData == <templatedata> { "params": { "year": { "label": "Year", "description": "Year the source was released", "example": "2024", "type": "number", "suggested": true }, "month": { "label":...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is used to cite external sources in articles of the Poupedia. The documentation on the developers wiki provides usage examples and detailed descriptions of all parameters accepted by the template.

TemplateData

Cite an external source

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Yearyear

Year the source was released

Example
2024
Numbersuggested
Monthmonth

Month the source was released, as a number from 1 to 12

Example
1
Numbersuggested
Dayday

Day the source was released

Example
14
Numbersuggested
Last namelast

Surname of the author

Example
Salameh
Lineoptional
First namefirst

Given name of the author

Example
Paul
Lineoptional
Authorauthor

Name of the author; prefer the first and last name parameters instead when possible

Example
Zakeh Limited
Lineoptional
Titletitle

Title of the cited source

Linerequired
Author linkauthor-link

Title of article about the author on the wiki (if there is one)

Page nameoptional
Entryentry

Title of the entry of the cited source; for example, the title of an article in a periodical or a blog

Linesuggested
URLurl

Online location of the text of the cited source

URLsuggested
Access dateaccess-date

Date the cited URL was accessed

Example
January 14, 2024
Linesuggested
Linklink

A page name on the wiki for the title to link to; interwiki links are supported, but not URLs

Page nameoptional
Entry linkentry-link

A page name on the wiki for the entry title to link to; interwiki links are supported, but not URLs

Page nameoptional
Non-italic titlenoitalictitle

If set to “true”, the title will not be italicized

Example
true
Lineoptional
Additional authorsadditional-authors

Additional authors of the cited source; prefer the numbered first and last name parameters where possible

Contentoptional
Publisherpublisher

Publisher of the cited source

Lineoptional
Mediamedia

Media type of the cited source

Lineoptional
Platformplatform

Platform or medium of publication of the source

Lineoptional
Extraextra

Additional content placed at the end of the reference, separated by a period and a space

Contentoptional
Archive URLarchive-url

Archived copy of the source

URLoptional
Archive datearchive-date

Date the page was archived

Example
January 1, 2024
Lineoptional
Broken linkbrokenlink

Set this to “true” if the original URL has gone down, to swap archive and original URLs

Example
true
Lineoptional