Template:Citation Style documentation/title: Difference between revisions
From All Skies Encyclopaedia
imported>Fuhghettaboutit m (Trim redundancy) |
imported>Trappist the monk m (Copyedit in advance of Module:Citation/CS1 update;) |
||
Line 1: | Line 1: | ||
* '''{{#switch:{{{title_title}}} |
* '''{{#switch:{{{title_title}}} |
||
|encyclopedia=encyclopedia |
|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. {{# |
|#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. Displays in italics. {{#if:{{{lua|}}}|If '''script-title''' is defined, '''title''' holds romanized transliteration of title in '''script-title'''.}}{{#if:{{{lua|}}}| |
||
** '''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 [[List of ISO 639-1 codes|ISO 639-1]] two-character code to help browsers properly display the script: |
|||
|quotes = Displays in quotes. |
|||
**:<code><nowiki>... |title=Tōkyō tawā |script-title=ja:東京タワー |trans-title=Tokyo Tower ...</nowiki></code>}} |
|||
|work = If '''work''' is defined, then '''title''' is displayed in quotes, else displays in italics. |
|||
⚫ | |||
|#default = Displays in italics.}} |
|||
⚫ | |||
|encyclopedia=encyclopedia |
|encyclopedia=encyclopedia |
||
|#default = title}}'''; if '''url''' is defined, then ''' |
|#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. |
:Titles containing certain characters will display and link incorrectly unless those characters are encoded. |
||
{| class="wikitable" style="margin-left: 5em" |
{| class="wikitable" style="margin-left: 5em" |
Revision as of 11:21, 1 October 2014
- 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.
- 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 display and link incorrectly unless those characters are encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |