Open main menu

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

< Template:Citation Style documentation
({{cite magazine}} displays title in quotes, not italics)
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 14: Line 14:
 
|Cite podcast = Displays in quotes
 
|Cite podcast = Displays in quotes
 
|Cite report = Displays unformatted, without italics or quotes
 
|Cite report = Displays unformatted, without italics or quotes
|#default = Displays in italics}}. {{#if:{{{limited_param_list|}}}||If '''script-title''' is defined, '''title''' holds a [[WP:ROMAN|Romanization]] of title in '''script-title'''.
+
|#default = Displays in italics}}. {{#if:{{{limited_param_list|}}}||If '''script-title''' is defined, use '''title''' to hold a [[WP:ROMAN|Romanization]] (if available) of the title in '''script-title'''.
** '''script-title''': Original title for languages that do not use a Latin-based script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc); not italicized, follows italicized Romanization defined in '''title'''. May be prefixed with an [[List of ISO 639-1 codes|ISO 639-1]] two-character code to help browsers properly display the script:
+
** '''script-title''': Original title for languages that do not use a Latin-based script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc.); not italicized, follows italicized Romanization defined in '''title''' (if present). Must be prefixed with one of the [[Help:Citation_Style_1#{{pipe}}script-&lt;param>{{=}} language codes|supported language codes]] to help browsers properly display the script:
 
**:<code><nowiki>... |title=Tōkyō tawā |script-title=ja:東京タワー |trans-title=Tokyo Tower ...</nowiki></code>
 
**:<code><nowiki>... |title=Tōkyō tawā |script-title=ja:東京タワー |trans-title=Tokyo Tower ...</nowiki></code>
 
** '''trans-title''': English translation of the title if the source cited is in a foreign language. Displays in square brackets after '''{{#switch:{{{title_title}}}
 
** '''trans-title''': English translation of the title if the source cited is in a foreign language. Displays in square brackets after '''{{#switch:{{{title_title}}}
Line 29: Line 29:
 
| colspan="2" style="text-align: center;" | [[Template:Bracket|<nowiki>{{bracket|text}}</nowiki>]] || &amp;#124; or [[Template:Pipe|<nowiki>{{pipe}}</nowiki>]] – {{crossref|see also {{section link|Help:Table|Rendering the pipe}}}}
 
| colspan="2" style="text-align: center;" | [[Template:Bracket|<nowiki>{{bracket|text}}</nowiki>]] || &amp;#124; or [[Template:Pipe|<nowiki>{{pipe}}</nowiki>]] – {{crossref|see also {{section link|Help:Table|Rendering the pipe}}}}
 
|}{{#if:{{{limited_param_list|}}}||
 
|}{{#if:{{{limited_param_list|}}}||
:* '''title-link''': Title of existing Wikipedia article about the source named in '''title''' – do not use a web address; do not wikilink. Alias: '''titlelink'''.}}
+
:* '''title-link''': Title of existing Wikipedia article about the source named in '''title''' – do not use a web address; do not wikilink. Alias: '''titlelink'''.
 +
{{#switch:{{BASEPAGENAME}}|Cite journal =
 +
:: Some identifiers (specifying free resources) will automatically be linked to the title when {{para|url}} and {{para|title-link}} are not used to specify a different link target. This behaviour can be overridden by one out of a number of special keywords for {{para|title-link}} to manually select a specific source ({{para|title-link|pmc}} or {{para|title-link|doi}}) for auto-linking or to disable the feature ({{para|title-link|none}}).}}
 +
}}

Latest revision as of 05:11, 17 December 2020

(See also Help:Citation Style 1 § Titles and chapters.)

  • 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. If script-title is defined, use title to hold a Romanization (if available) of the title in script-title.
    • script-title: Original title for languages that do not use a Latin-based script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc.); not italicized, follows italicized Romanization defined in title (if present). Must be prefixed with one of the supported language codes 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 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 not display and link correctly unless those characters are encoded.
newline [ ] |
space &#91; &#93; {{!}} (preferred)
{{bracket|text}} &#124; or {{pipe}}see also Lua error in package.lua at line 80: module 'strict' not found.
  • title-link: Title of existing Wikipedia article about the source named in title – do not use a web address; do not wikilink. Alias: titlelink.