Difference between revisions of "Template:Citation Style documentation/title"
Jump to navigation
Jump to search
m (1 revision imported) |
m (1 revision imported) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{Crossreference|(See also [[Help:Citation Style 1#Titles and chapters|Help:Citation Style 1 §Titles and chapters]].)}} | ||
* '''{{#switch:{{{title_title}}} | * '''{{#switch:{{{title_title}}} | ||
|encyclopedia=encyclopedia | |encyclopedia=encyclopedia | ||
Line 11: | Line 12: | ||
|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 '''script-title''' is defined, '''title''' holds romanized transliteration of title in '''script-title'''. | + | |#default = Displays in italics}}. {{#if:{{{limited_param_list|}}}||If '''script-title''' is defined, '''title''' holds romanized transliteration of title in '''script-title'''. |
** '''script-title''': Original title for languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, etc); not italicized, follows italicized transliteration 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 alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, etc); not italicized, follows italicized transliteration 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: | ||
**:<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}}} | ||
|encyclopedia=encyclopedia | |encyclopedia=encyclopedia | ||
− | |#default = title}}'''; if '''url''' is defined, then '''trans-title''' is included in the link. Use of the '''language''' parameter is recommended. | + | |#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 | + | :Titles containing certain characters will not display and link correctly unless those characters are encoded. |
{| class="wikitable" style="margin-left: 5em" | {| class="wikitable" style="margin-left: 5em" | ||
! newline !! [ !! ] !! | | ! newline !! [ !! ] !! | | ||
Line 25: | Line 26: | ||
| | | | ||
| colspan="2" style="text-align: center;" | [[Template:Bracket|<nowiki>{{bracket|text}}</nowiki>]] || &#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>]] || &#124; or [[Template:Pipe|<nowiki>{{pipe}}</nowiki>]] – {{crossref|see also {{section link|Help:Table|Rendering the pipe}}}} | ||
− | |} | + | |}{{#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'''. |
Latest revision as of 16:05, 12 February 2019
- 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, title holds romanized transliteration of title in script-title.
- script-title: Original title for languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, 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 title; if url is defined, then trans-title is included in the link. Use of the language parameter is recommended.
- script-title: Original title for languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, Vietnamese, 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:
- 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. Alias: titlelink.