Template:Citation Style documentation/url: Difference between revisions

m
imported>Funandtrvl
(ce)
 
(93 intermediate revisions by 38 users not shown)
Line 1:
* <spanb id="csdoc_url" >url</b>'''url''': URL of an online location where the {{#if:{{{media|}}}|media|text of the publication}} named by '''title''' can be found. Cannot be used if '''title''' is wikilinked. If applicable, the link may point to the specific page(s) referenced. Remove tracking parameters from URLs, e.g. <code>#ixzz2rBr3aO94</code> or {{nowrap|<code><nowiki>?utm_source=google&utm_medium=...&utm_term=...&utm_campaign=...</nowiki></code>}}. {{crossref|For linking to pages in PDF files or in Google Books, see [[WP:PAGELINKS]].}} Do not link to any commercial booksellers, such as Amazon.com; use {{para|isbn}} or {{para|oclc}} to provide neutral search links for books. See:Invalid [[WP:PAGELINKS]]URLs, including those containing spaces, will result in an error message.
** <spanb id="csdoc_accessdate" >access-date</b>: Full date when the content pointed to by '''accessdateurl''': Fullwas datelast whenverified originalto URLsupport wasthe accessedtext in the article; do not wikilink; requires '''url'''; use the same format as other access and archive dates in the citations.{{r|date|group=date}} Do''Not required for linked documents that do not wikilinkchange.'' NotFor example, '''access-date''' is required for webonline pagessources, orsuch linkedas documentspersonal websites, that do not changehave a publication date; mainlysee [[WP:CITEWEB]]. Access dates are not required for uselinks ofto webpublished pagesresearch thatpapers, changepublished frequentlybooks, or havenews noarticles with publication dates. Note that '''access-date''' is the date that the URL was found to be working and to support the text being cited. See [[#csdoc_auto-date-format|"Automatic date formatting"]] above for details about interaction with {{tlx|use dmy dates}} and {{tlx|use mdy dates}}. Can be [[Help:Citation Style 1/accessdate|hidden or styled]] by registered editors. Alias: '''accessdate'''.
** <spanb id="csdoc_archiveurl" >archive-url</b>'''archiveurl''': The URL of an [[Web archiving|archived]] copysnapshot of a web page,. ifTypically orused into caserefer theto urlservices becomessuch unavailable.as Typically[[Internet usedArchive]] to{{crossref|(see refer[[Wikipedia:Using tothe servicesWayback likeMachine]])}}, [[WebCite]] {{crossref|(see: [[Wikipedia:Using WebCite]])}} and [[Internet Archivearchive.is]] {{crossref|(see: [[Wikipedia:Using the Wayback Machinearchive.is]])}}; requires '''archivedatearchive-date''' and '''url'''. By default (overridden by {{para|url-status|live}}) the archived link is displayed first, with the original link at the end. Alias: '''archiveurl'''.
*** <spanb id="csdoc_archivedate" >archive-date</b>'''archivedate''': DateArchive-service whensnapshot-date; thepreceded originalin URLdisplay wasby default text "archived; usefrom the original on". Use the same format as other access and archive dates in the citations. This does not necessarily have to be the same format that was used for citing publication dates.{{r|date|group=date}} Do not wikilink.; Displaystemplated priordates toare archivedatediscouraged. asSee [[#csdoc_auto-date-format|"archivedAutomatic fromdate theformatting"]] originalabove on"for details about interaction with {{tlx|use dmy dates}} and {{tlx|use mdy dates}}. Alias: '''archivedate'''.
*** <spanb id="csdoc_deadurlcsdoc_urlstatus" >url-status</b>: this optional parameter is ignored if '''deadurlarchive-url''': is not set. If omitted, or with null value, the default value is {{para|url-status|dead}}. When the URL is still live, but preemptivelypre-emptively archived, then set {{para|deadurlurl-status|nolive}}.; Thisthis changes the display order, with the title retaining the original link and the archive linked at the end. When the original URL has been usurped for the purposes of spam, advertising, or is otherwise unsuitable, setting {{para|url-status|unfit}} or {{para|url-status|usurped}} suppresses display of the original URL (but {{para|url}} and {{para|archive-url}} are still required).
** <spanb id="csdoc_template doc demo" />'''template -doc -demo'''</b>: The archive parameters will be error -checked to ensure that all the required parameters are included, or else {{tl|citation error}} is invoked. With errors, main, help and template pages are placed into one of the subcategories of [[:Category:Articles with incorrect citation syntax]]. Set {{para|template -doc -demo|true}} to disable categorization; mainly used for documentation where the error is demonstrated. Alias: '''no-cat'''.
* <spanb id="csdoc_format" >format</b>'''format''': Format of the work referred to by '''url'''; for example: PDF, DOC, or XLS; displayed in parentheses after '''title'''. (For media format, use '''type'''.) HTML is implied and should not be specified. Automatically added when a PDF icon is displayed. Does not change the [[Help:External link icons|external link icon]]. Note: External link icons do not include [[Wikipedia:ALT|alt text]]; thus, they do not add format information for the visually impaired.
{{MediaWiki URL rules}}
{{reflist|group=date|refs=<ref name=date>AccessdateAccess-date and archivedatearchive-date in references should all have the same format – either the format used for publication dates, or YYYY-MM-DD. {{crossref|See: [[MOS:DATEUNIFY]].}}</ref>}}
{{reflist|refs=
<ref name=date>Accessdate and archivedate in references should all have the same format – either the format used for publication dates, or YYYY-MM-DD. See: [[MOS:DATEUNIFY]].</ref>
}}