Misplaced Pages

Template:Retrieved: Difference between revisions

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 21:45, 13 September 2009 view sourceDebresser (talk | contribs)Autopatrolled, Extended confirmed users, Pending changes reviewers, Rollbackers, Template editors110,467 edits tweak← Previous edit Latest revision as of 17:23, 26 October 2021 view source MusikBot II (talk | contribs)Bots, Interface administrators, Administrators104,171 editsm Changed protection settings for "Template:Retrieved": High-risk template or module: 2982 transclusions (more info) ( (indefinite) (indefinite)) 
(16 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<!-- Begin {{Retrieved}} --><includeonly>{{#if:{{{accessdate|}}}{{{accessyear|}}} <!-- Begin {{Retrieved}} --><includeonly><span class="reference-accessdate">{{#if:{{{access-date|{{{accessdate|}}}}}}
|{{{prepend|}}}Retrieved{{#if:{{{access-date|{{{accessdate|}}}}}}|&#32;{{{access-date|{{{accessdate}}}}}}}}{{#if:{{{via|}}}|&#160;&#8211;&#32;via&#32;{{{via}}}}}<span style="font-size: 90%; color: #555">{{#ifeq:{{{subscription|}}}|y|&#32;(subscription required)|{{#ifeq:{{{registration|}}}|y|&#32;(registration required)}}}}{{#if:{{{note|}}}|&#32;({{{note}}})}}</span>{{{append|.}}}}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}|]}}{{#ifeq:{{{subscription|}}}|y|]}}</span></includeonly><!-- End {{Retrieved}} --><noinclude>
|{{{prepend|}}}Retrieved {{#if:{{{accessdate|}}}
{{Retrieved|access-date={{#time:Y-m-d}}}}
| on ]{{#if:{{{accessyear|}}} | &#32;]}}
| {{#if:{{{accessyear|}}} | in ]}}}}{{{append|.}}}}} {{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}|]}}</includeonly><!-- End {{Retrieved}} --><noinclude>
{{Retrieved | accessdate={{#time: Y-m-d }} }}


{{Documentation}} {{Documentation}}

Latest revision as of 17:23, 26 October 2021

Retrieved 2025-01-19.

Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 3,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.

This template implements Citation Style 1 template-like behavior regarding online-retrieval information ("Retrieved ..."), especially as it applies in {{Cite web}}. It may be used with citation and external link templates that do not provide retrieval information, such as

Template:IMDb title
Template:Plain link
Template:Rotten Tomatoes
Template:URL

and others; however, see § Exceptions for recommended exceptions. This template and its documentation make use of Citation Style 1 guidelines.

Example:
A ] statement.<ref>{{IMDb name|id=0000093|name=Brad Pitt}}. {{Retrieved|access-date=2025-01-19}}</ref>



===References===

{{Reflist}}
Generates:
A Brad Pitt statement.



References

  1. Brad Pitt at IMDb. Retrieved 2025-01-19.

Usage

Full parameter set in horizontal format
{{Retrieved|prepend= |access-date= |via= |registration= |subscription= |note= |append= }}

Copy a blank version to use. All parameter names must be in lowercase. Use the "|" (pipe) character between each parameter. Leading and trailing spaces ( ) are trimmed from parameter values; therefore, parameters will not display if they are only populated by spaces. Delete unused parameters. See § Parameters for important details.

Exceptions

This template may not be used when retrieval information is inapplicable, superfluous, or not recommended, such as in External links or Further reading sections, or with templates such as {{Official website}}. Please see WP:ELCITE.

Examples

Some examples may include the current date. If the date is not current, then purge the page.

Today's date (ISO)

  • {{Retrieved|access-date=2025-01-19}}
Generates: Retrieved 2025-01-19.

Today's date (MDY)

  • {{Retrieved|access-date=January 19, 2025}}
Generates: Retrieved January 19, 2025.

Using via

  • {{Retrieved|access-date=2025-01-19|via=]}}
Generates: Retrieved 2025-01-19 – via Internet Archive.

Parameter values do not display when all-spaces

  • {{Retrieved|prepend= |access-date=2025-01-19|via= }}
Generates: Retrieved 2025-01-19.

Access requirements

  • {{Retrieved|access-date=2025-01-19|registration=y}}
Generates: Retrieved 2025-01-19 (registration required).
  • {{Retrieved|access-date=2025-01-19|subscription=y}}
Generates: Retrieved 2025-01-19 (subscription required).

Subscription access requirement overrides registration

  • {{Retrieved|access-date=2025-01-19|registration=y|subscription=y}}
Generates: Retrieved 2025-01-19 (subscription required).

Link note

  • {{Retrieved|access-date=2025-01-19|note=brief link note}}
Generates: Retrieved 2025-01-19 (brief link note).

No trailing punctuation

  • {{Retrieved|access-date=2025-01-19|append= }}
Generates: Retrieved 2025-01-19

Leading and trailing punctuation, access requirement, link note, and quote

  • {{Retrieved|prepend=.{{sp}}|access-date=2025-01-19|via=Restricted Source|subscription=y|note=brief link note|append=. "Brief quote from source";}}
 – note use of {{sp}} with |prepend=, in order to add a trailing space to the parameter's value
Generates: . Retrieved 2025-01-19 – via Restricted Source (subscription required) (brief link note). "Brief quote from source";

Parameters

Required

  • access-date: This parameter (or its alias accessdate) is required.

Deprecated

Description

See also: Template:Cite web §§ URL, Publisher, and Subscription or registration required
  • prepend: Displays first, before "Retrieved ...", when populated. It can be used to add leading punctuation and brief, relevant, information, such as online source format requirements (when not specified elsewhere). Note "Retrieved" always displays capitalized.
  • access-date: Full date source was accessed. Do not wikilink. Not checked for date-formatting errors. May be any one of Misplaced Pages's acceptable date formats, but please follow the format established in the article’s citations and/or references. Otherwise, please see MOS:DATEUNIFY and Help:Citation Style 1. This parameter is required. Alias: accessdate.
  • via: Cites the online provider/publisher of the source’s accessed version. May be wikilinked. Include when different from the source’s original online provider/publisher, or when the version accessed is in a different format from the original.
  • registration or subscription: These parameters add a link note to specify online source has access requirements (WP:PAYWALL). Values display at 90% size, in grey, within parentheses.
    • If the online source requires registration, set |registration=y; superseded by subscription if both are set.
    • If the online source requires subscription: set |subscription=y; supersedes registration if both are set. When this parameter is set, the article will be added to Category:Pages containing links to subscription-only content.
  • note: May be used to add a brief relevant editor comment regarding the link or source, such as embargo information etc. Value displays at 90% size, in grey, within parentheses.
  • append: Value displays by default, as a period ( . ) for trailing punctuation; if you wish to retain the default do not add this parameter, or if already present, delete it. Otherwise, it can be used to replace or remove trailing punctuation, and to add a brief quote from the source.

See also

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Retrieved in articles based on its TemplateData.

TemplateData for Retrieved

This template adds online-retrieval information ("Retrieved ...") to external link templates that do not provide such facility.

Template parameters

ParameterDescriptionTypeStatus
Prependprepend

Use it to add leading punctuation; displays before "Retrieved ..."

Stringoptional
Source access dateaccess-date accessdate

The full date the source was accessed; do not wikilink

Daterequired
Viavia

Name of online provider if other than the publisher; also use when accessed version is in different format from the original; may be wikilinked

Stringoptional
Registrationregistration

For online sources that require registration, set to 'y'; superseded by subscription if both are set

Stringoptional
Subscriptionsubscription

For online sources that require subscription, set to 'y'; supersedes registration if both are set

Stringoptional
Link notenote

When required for clarification, add a brief note about the link/online source

Stringoptional
Appendappend

Trailing punctuation, displays by default, as a period; to remove, use this parameter without a value; to replace, use with desired value

Default
.
Stringoptional
The above documentation is transcluded from Template:Retrieved/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Category:
Template:Retrieved: Difference between revisions Add topic