Template:Citation Style documentation/title: Difference between revisions

From All Skies Encyclopaedia
imported>Gadget850
(ce)
imported>Fuhghettaboutit
(Tweak)
Line 14: Line 14:
| space || [ || ] || |
| space || [ || ] || |
|}
|}
*Where the title field provides quotation marks automatically, as in {{tl|Cite news}}, {{tl|Cite Journal}} and {{tl|Cite web}}, and the title you are citing contains quotations marks or apostrophes at the beginning, end or both, you can use <code>&amp;thinsp;</code> to place a separation between the punctuation, to avoid a non-ideal display such as <nowiki>'''</nowiki>.
:*For example instead of {{xt|<nowiki>title='name'</nowiki>}} which will display on many browsers with the quotation marks surrounding it that the templates places as {{!xt|<nowiki>'''name'''</nowiki>}}, use {{xt|<nowiki>|title=</nowiki>}}{{!xt|&amp;thinsp;}}'name'{{!xt|&amp;thinsp;}}, which will display as "&thinsp;'name'&thinsp;".

Revision as of 00:20, 22 May 2013

  • title: Title of source. Can be wikilinked to an existing Wikipedia article or url may be used to add an external link, but not both. Displays in italics.
    • trans_title: English translation of the title if the source cited is in a foreign language. Displays in square brackets after title; if url is defined, then trans_title is included in the link. Use of the language parameter is recommended.
Titles containing certain characters will display and link incorrectly unless those characters are encoded.
newline [ ] |
space &#91; &#93; &#124;
  • Where the title field provides quotation marks automatically, as in {{Cite news}}, {{Cite Journal}} and {{Cite web}}, and the title you are citing contains quotations marks or apostrophes at the beginning, end or both, you can use &thinsp; to place a separation between the punctuation, to avoid a non-ideal display such as '''.
  • For example instead of title='name' which will display on many browsers with the quotation marks surrounding it that the templates places as '''name''', use |title=&thinsp;'name'&thinsp;, which will display as " 'name' ".