Jump to content

Template:Retrieved/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
ce.
ce.
Line 69: Line 69:
==Examples==
==Examples==


The examples in this section use the [[ISO 8601|ISO date]] format ({{xt|YYYY-MM-DD}} or {{xt|Year-Month-Day}}) to {{em|enter}} access dates; per the template default they {{em|display}} access dates in the entered format, except where otherwise stated as "autoformatted" or in the all-parameter example (by employing parameter {{bxtn|[[#df|df]]}}). See also [[#xdate|Note]] above.
The examples in this section use the [[ISO 8601|ISO date]] format ({{xt|YYYY-MM-DD}} or {{xt|Year-Month-Day}}) to {{em|enter}} access dates; per the template default they {{em|display}} access dates in the entered format, except where otherwise stated as "autoformatted" or in the all-parameter example (by inclusion of parameter {{bxtn|[[#df|df]]}}). See also [[#xdate|Note]] above.


{{strong|Basic usage|id=datex}} [[[#access-date|info]]]
{{strong|Basic usage|id=datex}} [[[#access-date|info]]]
Line 142: Line 142:
{{See also-text|{{slink|Help:Citation Style 1|Access date}}|{{slink|Template:Cite web|Date}}}}
{{See also-text|{{slink|Help:Citation Style 1|Access date}}|{{slink|Template:Cite web|Date}}}}


* {{bxt|{{vanchor|access-date}}}}: This parameter (or its alias {{bxt|accessdate}}) is required{{snd}} its omission or incorrect entry will produce [[#!dm|an error message]] and will suppress all other template output. For basic usage, insert only this parameter. Enter the full date the external link: (a) was successfully accessed {{em|and}} (b) correctly targeted content supporting the related wikitext. Do not wikilink. When used correctly it will display as entered, after the static text "Retrieved". Use any one of Wikipedia's full-date [[WP:DATE#Formats|acceptable date formats]] but please follow the format, if any, established in the article’s citations and/or references ([[WP:DATEUNIFY]]). The ancillary optional parameter {{bxtn|[[#df|df]]}} may be added to correctly autoformat display of the access date; [[[#datex|examples]]]
* {{bxt|{{vanchor|access-date}}}}: This parameter (or its alias {{bxt|accessdate}}) is required{{snd}} its omission or incorrect entry will produce [[#!dm|an error message]] and will suppress all other template output. For basic usage, insert only this parameter. Enter the full date the external link: (a) was successfully accessed {{em|and}} (b) correctly targeted content supporting the related wikitext. Do not wikilink. When input correctly it will display as entered, after the static text "Retrieved". Use any one of Wikipedia's full-date [[WP:DATE#Formats|acceptable date formats]] but please follow the format, if any, established in the article’s citations and/or references ([[WP:DATEUNIFY]]). The ancillary optional parameter {{bxtn|[[#df|df]]}} may be added to correctly autoformat display of the access date; [[[#datex|examples]]]
** {{vanchor|dpart|text=Partial access dates (missing any of day, month or four-digit year) are strongly discouraged; they will produce inaccurate access date display or will suppress it with [[#!dp|an error message]].}}
** {{vanchor|dpart|text=Partial access dates (missing any of day, month or four-digit year) are strongly discouraged; they will produce inaccurate access date display or will suppress it with [[#!dp|an error message]].}}
** {{vanchor|dformat|text=Access dates that do not conform to {{em|full-date}} [[WP:DATE#Formats|acceptable date formats]] will produce [[#!df|an error]].}} See following point.
** {{vanchor|dformat|text=Access dates that do not conform to {{em|full-date}} [[WP:DATE#Formats|acceptable date formats]] will produce [[#!df|an error]].}} See following point.
Line 152: Line 152:
{{See also-text|{{slink|Template:Cite web|Subscription or registration required}}}}
{{See also-text|{{slink|Template:Cite web|Subscription or registration required}}}}


* {{bxtn|{{vanchor|access-info}}}}: If the online source has access requirements or restrictions, use one of the options below to add an indicative inline icon (includes [[tooltip]]). Ideally it should display immediately after the external link, and a user-entered or pre-existing [[non-breaking space]], positioned before the template code. This parameter displays first, before any other output. Invalid options will silently suppress the inline icon; if error-handling parameter {{bxt|[[#err|err]]}} is used a related [[#!accesserr|error message]] will be displayed. See also {{slink||General notes}}; [[[#accessx|example]]]
* {{bxtn|{{vanchor|access-info}}}}: If the online source has access requirements or restrictions, use one of the options below to add an indicative inline icon (includes [[tooltip]]). Ideally it should display immediately after the external link and a user-entered or pre-existing [[non-breaking space]], positioned before the template code. This parameter displays first, before any other output. Invalid options will silently suppress the inline icon; if error-handling parameter {{bxt|[[#err|err]]}} is used a related [[#!accesserr|error message]] will be displayed. See also {{slink||General notes}}; [[[#accessx|example]]]
** {{para|access-info|registration|code=y}}{{snd}} free registration is required; displays a gray lock icon.
** {{para|access-info|registration|code=y}}{{snd}} free registration is required; displays a gray lock icon.
** {{para|access-info|limited|code=y}}{{snd}} free access is limited e.g. based on number of views, or is time-limited, or is only partially free; displays the same gray lock icon as registration, but with different tooltip text.
** {{para|access-info|limited|code=y}}{{snd}} free access is limited e.g. based on number of views, or is time-limited, or is only partially free; displays the same gray lock icon as registration, but with different tooltip text.
Line 159: Line 159:
====Source comment, link comment====
====Source comment, link comment====


* {{bxtn|{{vanchor|prepend}}}}: Use for additional citable information specific to the retrieved version, only if necessary for clarity. This parameter may display first, or after the parameter {{bxtn|[[#access-info|access-info]]}}; [[[#prepx|example]]].
* {{bxtn|{{vanchor|prepend}}}}: Use for additional citable information specific to the retrieved version of the source, only if necessary for clarity. This parameter may display first, or after the parameter {{bxtn|[[#access-info|access-info]]}}; [[[#prepx|example]]].
** {{bxtn|{{vanchor|nopun}}}}: {{bxtn|prepend}}-dependent parameter. Set {{para|nopun|y|code=y|plain=y}}, any other input is ignored. Removes the default [[#mode|presentation mode]] punctuation autoinserted between {{bxtn|access-info}} and {{bxtn|prepend}}, leaving a single space as separator; [[[#allx|example]]].
** {{bxtn|{{vanchor|nopun}}}}: {{bxtn|prepend}}-dependent parameter. Set {{para|nopun|y|code=y|plain=y}}, any other input is ignored. Removes the default [[#mode|presentation mode]] punctuation autoinserted between {{bxtn|access-info}} and {{bxtn|prepend}}, leaving a single space as separator; [[[#allx|example]]].


Line 226: Line 226:


{{notelist|refs=
{{notelist|refs=
{{efn|name=sfn|1=The full citation's retrieval information may not apply to short citations. Specific in-source locations may have different access and/or retrieval requirements. Depending on either the full or short citation's access date, the state of external links or of the source's content and relevance may vary.}}
{{efn|name=sfn|1=The full citation's retrieval information may not apply to short citations. Specific in-source locations may have different access and/or retrieval requirements. Depending on either the full or short citation's access date, the state of their respective external links or source contents and relevance may vary.}}
}}
}}



Revision as of 01:15, 23 September 2024

Retrieved 2025-01-03⁠.