Template:Citation Style documentation/title: Difference between revisions

From All Skies Encyclopaedia
imported>Fuhghettaboutit
(Tweak)
imported>117Avenue
(doesn't make sense to place on templates that don't)
Line 14: Line 14:
| space || [ || ] || |
| space || [ || ] || |
|}
|}
{{#ifeq:{{{title_format|}}}|quotes|
*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>.
*When 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;".
:*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 05:55, 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;