Template:Citation Style documentation/title: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
(Created page with "* '''{{#switch:{{{title_title}}} |encyclopedia=encyclopedia |#default = title}}''': Title of source. Can be wikilinked to an existing Wikipedia article or '''url''' may be use...")
 
No edit summary
 
Line 17: Line 17:
*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 that punctuation and the quotation marks this template automatically provides around the title, 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 that punctuation and the quotation marks this template automatically provides around the title, 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 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 as {{!xt|<nowiki>'''name'''</nowiki>}}, use {{xt|<nowiki>|title=</nowiki>}}{{!xt|&amp;thinsp;}}'name'{{!xt|&amp;thinsp;}}, which will display as "&thinsp;'name'&thinsp;".}}
[[Category:Citation]]

Latest revision as of 16:03, 28 May 2014

  • 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;