Template:Citation Style documentation/title
Jump to navigation
Jump to search
- {{#switch:{{{title_title}}}
|encyclopedia=encyclopedia |#default = 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. {{#switch:Citation Style documentation |Cite journal |Cite web |Cite news |Cite press release |Cite conference |Cite podcast = Displays in quotes |#default = Displays in italics}}. {{#if:|If script-title is defined, title holds romanized transliteration of title in script-title.}}{{#if:|
- script-title: Original title for languages that do not use a Latin-based alphabet (Arabic, Chinese, Hebrew, Japanese, etc); not italicized, follows italicized transliteration defined in title. May be prefixed with an ISO 639-1 two-character code to help browsers properly display the script:
... |title=Tōkyō tawā |script-title=ja:東京タワー |trans-title=Tokyo Tower ...
}}
- trans-title: English translation of the title if the source cited is in a foreign language. Displays in square brackets after {{#switch:{{{title_title}}}
- script-title: Original title for languages that do not use a Latin-based alphabet (Arabic, Chinese, Hebrew, Japanese, etc); not italicized, follows italicized transliteration defined in title. May be prefixed with an ISO 639-1 two-character code to help browsers properly display the script:
|encyclopedia=encyclopedia |#default = 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 | [ | ] | | |
{{#ifeq:|quotes|
- When the title you are citing contains quotations marks or apostrophes at the beginning, end or both, you can use
 
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 '''.
- For example instead of {{#ifeq:Template||Template:FormattingError|title='name'}} which will display on many browsers with the quotation marks surrounding it as {{#ifeq:Template||Template:FormattingError|'''name'''}}, use {{#ifeq:Template||Template:FormattingError||title=}}{{#ifeq:Template||Template:FormattingError| }}'name'{{#ifeq:Template||Template:FormattingError| }}, which will display as " 'name' ".}}