Template:Citation Style documentation/title: Difference between revisions
From The Goon Show Depository
en>Trappist the monk No edit summary |
m (1 revision imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Crossreference|(See also [[Help:Citation Style 1#Titles and chapters|Help:Citation Style 1 § Titles and chapters]].)}} | {{Crossreference|(See also [[Help:Citation Style 1#Titles and chapters|Help:Citation Style 1 § Titles and chapters]].)}} | ||
* | * <b id="csdoc_title">{{#switch:{{{title_title}}} | ||
|encyclopedia=encyclopedia | |encyclopedia=encyclopedia | ||
|#default = title}} | |#default = title}}</b>: 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:{{BASEPAGENAME}} | ||
|Cite arXiv | |Cite arXiv | ||
|Cite conference | |||
|Cite conference | |Cite episode | ||
|Cite episode | |Cite journal | ||
|Cite journal | |Cite magazine | ||
|Cite magazine | |Cite news | ||
|Cite news | |Cite web | ||
|Cite web | |Cite press release | ||
|Cite press release | |Cite podcast = Displays in quotation marks. For titles containing quotation marks, convert regular quotation marks (<kbd>"</kbd>) to single quotation marks (<kbd>'</kbd>). See [[MOS:QINQ]] for guidance in more complex situations. | ||
|Cite podcast = Displays in | |Cite report = Displays unformatted, without italics or quotation marks. | ||
|Cite report = Displays unformatted, without italics or quotes | |Cite book = Displays in ''italics''. | ||
|#default = Displays in ''italics''}} | |Citation = If '''work''' (or its alias) is defined, then '''title''' is displayed in quotes; otherwise, '''title''' displays in italics. | ||
|#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''' (if present). Must be prefixed with one of the [[Help:Citation_Style_1#{{pipe}}script-<param>{{=}} language codes|supported language codes]] 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-<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> | ||
** | ** <b id="csdoc_trans-title">trans-title</b>: English translation of the title if the source cited is in a foreign language. Displays in square brackets after '''{{#switch:{{{title_title}}} | ||
|encyclopedia=encyclopedia | |encyclopedia=encyclopedia | ||
|#default = title}}'''. Use of the '''language''' parameter is recommended.}} | |#default = title}}'''. Use of the '''language''' parameter is recommended.}} |
Latest revision as of 18:28, 18 July 2024
- 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 [[Help:Citation_Style_1#|script-<param>=
Error: The retired template {{Template:Citation Style documentation/title}} has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code {{=}} to generate the = character. language codes|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. Use of the language parameter is recommended.
- Titles containing certain characters will not display and link correctly unless those characters are encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | {{!}} (preferred)
|
{{bracket|text}} | | or {{pipe}} – |
- title-link: Title of existing Wikipedia article about the source named in title – do not use a web address; do not wikilink.