Template:Citation Style documentation/title

From embargo
< Template:Citation Style documentation
Revision as of 13:18, 5 March 2022 by imported>Trappist the monk
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

  • {{#switch:{{{title_title}}}

|encyclopedia=encyclopedia |#default = title}}: Title of source. {{#switch:{{{link}}}|no=|wikilink_only=Can be wikilinked to an existing Wikipedia article.|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 arXiv = Displays in quotes |Cite book = Displays in italics |Cite conference = Displays in quotes |Cite episode = Displays in quotes |Cite journal = Displays in quotes |Cite magazine = Displays in quotes |Cite news = Displays in quotes |Cite web = Displays in quotes |Cite press release = Displays in quotes |Cite podcast = Displays in quotes |Cite report = Displays unformatted, without italics or quotes |#default = Displays in italics}}. {{#if:||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 {{#switch:{{{title_title}}}

|encyclopedia=encyclopedia |#default = title}}. 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 Help:Table § Rendering the pipe

{{#if:||

  • title-link: Title of existing Wikipedia article about the source named in title – do not use a web address; do not wikilink.

{{#switch:Citation Style documentation|Cite journal =

Some identifiers (specifying free resources) will automatically be linked to the title when |{{SAFESUBST:#if:url|url=}} and |{{SAFESUBST:#if:title-link|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 |{{SAFESUBST:#if:title-link|title-link=}} to manually select a specific source (|{{SAFESUBST:#if:title-link|title-link=}}pmc or |{{SAFESUBST:#if:title-link|title-link=}}doi) for auto-linking or to disable the feature (|{{SAFESUBST:#if:title-link|title-link=}}none).}}

}}