Template:Citation Style documentation/url: Difference between revisions

From Climate Change AI Wiki
Content added Content deleted
imported>Redrose64
(restore accessdate - presume removed in error)
imported>Redrose64
(anchors for specific parameters)
Line 1:
* <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.
** <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.}}
** <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.
** <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'''.
*** <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".
*** <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.
** <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.
* <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}}
{{reflist|refs=

Revision as of 10:23, 14 March 2013

  • 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 original URL 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 Template:Para. 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 Template:Tl is invoked. On errors, main, help and template pages are placed into Category:Articles with incorrect citation syntax. Set Template:Para 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 Template:Reflist