Template:Citation Style documentation/url: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
imported>GreenC
(update per previous comment)
imported>Wikid77
(auto-scroll the long-url text to fit smaller handheld devices, by: <div style="width:auto; overflow:scroll">)
Line 1: Line 1:
* <b id="csdoc_url">url</b>: URL of an online location where the {{#if:{{{media|}}}|media|text of the publication}} 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 <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. Invalid URLs, including those containing spaces, will result in an error message.
* <b id="csdoc_url">url</b>: URL of an online location where the {{#if:{{{media|}}}|media|text of the publication}} 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 <div style="width:auto; overflow:scroll"><code><nowiki>?utm_source=google&utm_medium=...&utm_term=...&utm_campaign=...</nowiki></code></div>. {{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. Invalid URLs, including those containing spaces, will result in an error message.
** <b id="csdoc_accessdate">access-date</b>: Full date when the content pointed to by '''url''' was last verified to support the text 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}} ''Not required for linked documents that do not change.'' For example, '''access-date''' is required for online sources, such as personal websites, that do not have a publication date; see [[WP:CITEWEB]]. Access dates are not required for links to published research papers, published books, or news articles 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. Can be [[Help:Citation Style 1/accessdate|hidden or styled]] by registered editors. Alias: '''accessdate'''.
** <b id="csdoc_accessdate">access-date</b>: Full date when the content pointed to by '''url''' was last verified to support the text 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}} ''Not required for linked documents that do not change.'' For example, '''access-date''' is required for online sources, such as personal websites, that do not have a publication date; see [[WP:CITEWEB]]. Access dates are not required for links to published research papers, published books, or news articles 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. Can be [[Help:Citation Style 1/accessdate|hidden or styled]] by registered editors. Alias: '''accessdate'''.
** <b id="csdoc_archiveurl">archive-url</b>: The URL of an [[Web archiving|archived]] snapshot of a web page. Typically used to refer to services such as [[Internet Archive]] {{crossref|(see [[Wikipedia:Using the Wayback Machine]])}}, [[WebCite]] {{crossref|(see [[Wikipedia:Using WebCite]])}} and [[archive.is]] {{crossref|(see [[Wikipedia:Using archive.is]])}}; requires '''archive-date''' and '''url'''. By default (overridden by {{para|dead-url|no}}) the archived link is displayed first, with the original link at the end. Alias: '''archiveurl'''.
** <b id="csdoc_archiveurl">archive-url</b>: The URL of an [[Web archiving|archived]] snapshot of a web page. Typically used to refer to services such as [[Internet Archive]] {{crossref|(see [[Wikipedia:Using the Wayback Machine]])}}, [[WebCite]] {{crossref|(see [[Wikipedia:Using WebCite]])}} and [[archive.is]] {{crossref|(see [[Wikipedia:Using archive.is]])}}; requires '''archive-date''' and '''url'''. By default (overridden by {{para|dead-url|no}}) the archived link is displayed first, with the original link at the end. Alias: '''archiveurl'''.

Revision as of 02:11, 25 April 2018

  • url: URL of an online location where the text of the publication 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. #ixzz2rBr3aO94 or
    ?utm_source=google&utm_medium=...&utm_term=...&utm_campaign=...
    .
  • 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 external link icon. Note: External link icons do not include alt text; thus, they do not add format information for the visually impaired.

Template:MediaWiki URL rules

Cite error: <ref> tag with name "date" defined in <references> has group attribute "date" which does not appear in prior text.