Template:Citation Style documentation/url: Difference between revisions

Content added Content deleted
imported>Smith609
(Alternative)
imported>Gadget850
(ce: toolbar link tool is not worth it for this use)
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:BOOKLINKS]].
* '''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''', e.g. PDF; HTML is implied and should not be specified; displayed in parentheses after '''title'''.
** '''format''': Format of the work referred to by '''url''', e.g. PDF; 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 citations in the same article; do not wikilink; requires '''url'''.
** '''accessdate''': Full date when URL was accessed; use the same format as other dates in citations in the same article; do not wikilink; requires '''url'''.
Line 6: Line 6:
** '''deadurl''': To change the order with the title retaining the original link and the archive linked at the end, set {{para|deadurl|no}}.
** '''deadurl''': To change the order with the title retaining the original link and the archive linked at the end, set {{para|deadurl|no}}.
:URLs must begin with a supported [[URI scheme]]: <code>http://</code> and <code>https://</code>will be supported by all browsers; <code>irc://</code>, <code>ircs://</code>, <code>ftp://</code>, <code>news://</code>, <code>mailto:</code> and <code>gopher://</code> will require a plugin or an external application. IPv6 host-names are currently not supported.
:URLs must begin with a supported [[URI scheme]]: <code>http://</code> and <code>https://</code>will be supported by all browsers; <code>irc://</code>, <code>ircs://</code>, <code>ftp://</code>, <code>news://</code>, <code>mailto:</code> and <code>gopher://</code> 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 <code>%20</code>. Alternatively, you may choose to encode the problematic portion of the URL in <code><nowiki>{{urlencode:problematic>section>here}}</nowiki></code>.
:URLs containing certain characters will display and link incorrectly unless those characters are encoded. For example, a space must be replaced by <code>%20</code>. To encode the URL, manually encode the URL by replacing these characters:
{| class="wikitable" style="margin-left: 5em"
{| class="wikitable" style="margin-left: 5em"
! sp !! " !! , !! ' !! ; !! < !! > !! ? !! [ !! ]
! sp !! " !! , !! ' !! ; !! < !! > !! ? !! [ !! ]
Line 12: Line 12:
| %20 || %22 || %2c || %3a || %3b || %3c || %3e || %3f || %5b || %5d
| %20 || %22 || %2c || %3a || %3b || %3c || %3e || %3f || %5b || %5d
|}
|}
:The link button [[File:Vector toolbar insert link button.png]] on the enhanced editing toolbar will encode a link.