Template:Citation Style documentation: Difference between revisions

From All Skies Encyclopaedia
imported>Gadget850
imported>Gadget850
(encoding)
Line 16: Line 16:
* '''others''': To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
* '''others''': To record other contributors to the work, such as "Illustrated by Smith" or "Trans. Smith".
|title=
|title=
Titles containing certain characters will display and link incorrectly unless those characters are replaced or encoded.
{| class="wikitable"
! newline !! [ !! ] !! |
|-
| space || [ || ] || |
|}
* '''title''': Title of book. Can be wikilinked but only to an existing Wikipedia article. Formatted in italics.
* '''title''': Title of book. Can be wikilinked but only to an existing Wikipedia article. Formatted in italics.
** '''trans_title''': If the book cited is in a foreign language, an English translation of the title can be given here. The template will display this in square brackets after the '''title''' field and it will link to the '''url''' field, if used. Use of the '''language''' parameter is recommended.
** '''trans_title''': If the book cited is in a foreign language, an English translation of the title can be given here. The template will display this in square brackets after the '''title''' field and it will link to the '''url''' field, if used. Use of the '''language''' parameter is recommended.
Line 74: Line 80:
* '''zbl''': [[Zentralblatt MATH]]
* '''zbl''': [[Zentralblatt MATH]]
|url=
|url=
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 anre not supported; see {{bug|21261}}.

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>.
{| class="wikitable"
! sp !! " !! , !! ' !! ; !! < !! > !! ? !! [ !! ]
|-
| %20 || %22 || %2c || %3a || %3b || %3c || %3e || %3f || %5b || %5d
|}
::{{small|Single apostrophes do not need to be encoded; multiples will be parsed as italic or bold markup}}

The link button [[File:Vector toolbar insert link button.png]] on the enhanced editing toolbar will encode a link.
* '''url''': URL of an online location where the text of the publication can be found. Cannot be used if you wikilinked '''title'''. If applicable, the link may point to the specific page(s) referenced. Do not use this parameter to link to any commercial booksellers (such as Amazon.com). The [[Wikipedia:ISBN|ISBN link]] is a much better alternative which allows readers access to the books in their own countries or through their own choice of source, including Amazon, Google Books, thousands of libraries, and more.
* '''url''': URL of an online location where the text of the publication can be found. Cannot be used if you wikilinked '''title'''. If applicable, the link may point to the specific page(s) referenced. Do not use this parameter to link to any commercial booksellers (such as Amazon.com). The [[Wikipedia:ISBN|ISBN link]] is a much better alternative which allows readers access to the books in their own countries or through their own choice of source, including Amazon, Google Books, thousands of libraries, and more.
** '''format''': Format of the work referred to by '''url''', e.g. PDF. HTML implied if not specified.
** '''format''': Format of the work referred to by '''url''', e.g. PDF. HTML implied if not specified.

Revision as of 11:52, 29 December 2011

  • title: Title of article.