Template:Citation Style documentation/url: Difference between revisions

Content added Content deleted
imported>Redrose64
(restore accessdate - presume removed in error)
imported>Redrose64
(anchors for specific parameters)
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.
* <span id="csdoc_url" />'''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.}}
** <span id="csdoc_Embargo" />'''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 access and archive dates in the citations;{{r|date}} do not wikilink. Can be [[Help:Citation Style 1/accessdate|hidden]] by registered editors.
** <span id="csdoc_accessdate" />''''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'''.
** <span id="csdoc_archiveurl" />'''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 original URL 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".
*** <span id="csdoc_archivedate" />'''archivedate''': Date when the original URL 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.
*** <span id="csdoc_deadurl" />'''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.
** <span id="csdoc_template doc demo" />'''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]].
* <span id="csdoc_format" />'''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=
{{reflist|refs=