Template:Citation Style documentation/url

From Timelines
< Template:Citation Style documentation
Revision as of 07:13, 18 April 2012 by Urhixidur (talk) (Setting '''deadurl''' has no effect if '''archiveurl''' is not set.)
Jump to: navigation, search
  • 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:BOOKLINKS.
    • 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.
    • accessdate: Full date when URL was accessed; use the same format as other dates in in the article; do not wikilink; requires url.
    • 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 dates in in the article; do not wikilink; requires archiveurl.
    • deadurl: To change the order with the title retaining the original link and the archive linked at the end, set |deadurl=no. Setting deadurl has no effect if archiveurl is not set.
    • 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.
URLs must begin with a supported URI scheme: http:// and https://will be supported by all browsers; irc://, ircs://, ftp://, news://, mailto: and gopher:// will require a plugin or an external application. IPv6 host-names are currently not supported.
URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by %20. To encode the URL, replace these characters:
sp " , '  ; < >  ? [ ]
 %20  %22  %2c  %3a  %3b  %3c  %3e  %3f  %5b  %5d