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>Ohconfucius
(reword)
imported>Gadget850
(archivedate: rework for consistency with other text; rework dates for consistency with MOS:DATEUNIFY and add reference)
Line 1: Line 1:
* '''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. Do not link to any commercial booksellers such as Amazon.com; see [[WP:PAGELINKS]].{{#if: {{{pmc|}}}| If '''url''' is not defined but '''pmc''' is, then '''url''' is set to the '''pmc''' link.
* '''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. Do not link to any commercial booksellers such as Amazon.com; see [[WP:PAGELINKS]].{{#if: {{{pmc|}}}| If '''url''' is not defined but '''pmc''' is, then '''url''' is set to the '''pmc''' link.
** '''Embargo''': Date that '''pmc''' goes live; if this is in the future, then then '''url''' is not set to the '''pmc''' link until that date.}}
** '''Embargo''': Date that '''pmc''' goes live; if this is in the future, then then '''url''' is not set to the '''pmc''' link until that date.}}
** '''accessdate''': Full date when URL was accessed; use the same format as other accessdates in the citations; do not wikilink. Can be [[Help:Citation Style 1/accessdate|hidden]] by registered editors.
** '''accessdate''': Full date when URL was accessed; use the same format as other access and archive dates in the citations;{{r|date}} do not wikilink. Can be [[Help:Citation Style 1/accessdate|hidden]] by registered editors.
** '''archiveurl''': The URL of an [[Web archiving|archived]] copy of a web page, if or in case the url becomes unavailable. Typically used to refer to services like [[WebCite]] and the [[Internet Archive]]; requires '''archivedate'''.
** '''archiveurl''': The URL of an [[Web archiving|archived]] copy of a web page, if or in case the url becomes unavailable. Typically used to refer to services like [[WebCite]] and the [[Internet Archive]]; requires '''archivedate'''.
*** '''archivedate''': Date when the item was archived. Displays with prose ''viz'': "archived from the original on [date]" –> use date format where month name spelt out in full; use the same format as other dates in the body; do not wikilink.
*** '''archivedate''': Date when the item was archived; use the same format as other access and archive dates in the citations;{{r|date}} do not wikilink. Displays preceded by "archived from the original on".
*** '''deadurl''': When the URL is still live, but preemptively archived, then set {{para|deadurl|no}}. This changes the display order with the title retaining the original link and the archive linked at the end.
*** '''deadurl''': When the URL is still live, but preemptively archived, then set {{para|deadurl|no}}. This changes the display order with the title retaining the original link and the archive linked at the end.
** '''template doc demo''': The archive parameters have error checking to ensure that all the required parameters are included, else {{tl|citation error}} is invoked. On errors, main, help and template pages are placed into [[:Category:Articles with incorrect citation syntax]]. Set {{para|template doc demo|true}} to disable categorization; mainly used for documentation where the error is demonstrated.
** '''template doc demo''': The archive parameters have error checking to ensure that all the required parameters are included, else {{tl|citation error}} is invoked. On errors, main, help and template pages are placed into [[:Category:Articles with incorrect citation syntax]]. Set {{para|template doc demo|true}} to disable categorization; mainly used for documentation where the error is demonstrated.
* '''format''': Format of the work referred to by '''url'''; examples: PDF, DOC, XLS; HTML is implied and should not be specified; displayed in parentheses after '''title'''. Does not change [[Help:External link icons|external link icon]].
* '''format''': Format of the work referred to by '''url'''; examples: PDF, DOC, XLS; HTML is implied and should not be specified; displayed in parentheses after '''title'''. Does not change [[Help:External link icons|external link icon]].
{{MediaWiki URL rules}}
{{MediaWiki URL rules}}
{{reflist|refs=
<ref name=date>Access and archive dates in references should all have the same format – either the format used for publication dates, or YYYY-MM-DD. See [[MOS:DATEUNIFY]].</ref>
}}

Revision as of 09:22, 5 October 2012

  • 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. Do not link to any commercial booksellers such as Amazon.com; see WP:PAGELINKS.
    • accessdate: Full date when URL was accessed; use the same format as other access and archive dates in the citations;Template:R do not wikilink. Can be hidden by registered editors.
    • archiveurl: The URL of an archived copy of a web page, if or in case the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive; requires archivedate.
      • archivedate: Date when the item was archived; use the same format as other access and archive dates in the citations;Template:R do not wikilink. Displays preceded by "archived from the original on".
      • deadurl: When the URL is still live, but preemptively archived, then set |deadurl=no. This changes the display order with the title retaining the original link and the archive linked at the end.
    • template doc demo: The archive parameters have error checking to ensure that all the required parameters are included, else {{citation error}} is invoked. On errors, main, help and template pages are placed into Category:Articles with incorrect citation syntax. Set |template doc demo=true to disable categorization; mainly used for documentation where the error is demonstrated.
  • format: Format of the work referred to by url; examples: PDF, DOC, XLS; HTML is implied and should not be specified; displayed in parentheses after title. Does not change external link icon.

Template:MediaWiki URL rules

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