Difference between revisions of "Template:Citation Style documentation/title"

From Timelines
Jump to: navigation, search
(doesn't make sense to place on templates that don't)
(Ah, thanks for the parser, which I didn't know how to place. We still need to tell people the issue though, but now we can talk about this template, rather than making it general)
Line 15: Line 15:
 
|}
 
|}
 
{{#ifeq:{{{title_format|}}}|quotes|
 
{{#ifeq:{{{title_format|}}}|quotes|
*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>.  
+
*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 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 03:10, 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;