Template:Citation Style documentation/title: Difference between revisions
From All Skies Encyclopaedia
imported>Jonesey95 (Remove "if lua" statement, since all CS1 templates using this documentation have been converted to Lua.) |
imported>Jonesey95 (adding "link" feature to title documentation to exclude mention of "url" parameter in Cite arxiv. Also listing Cite arxiv in the "displays in quotes" section.) |
||
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. {{#switch:{{BASEPAGENAME}} |
|#default = title}}''': Title of source. {{#ifexpr:{{{link|}}} = no||Can be wikilinked to an existing Wikipedia article or '''url''' may be used to add an external link, but not both.}} {{#switch:{{BASEPAGENAME}} |
||
⚫ | |||
⚫ | |||
|Cite journal |
|Cite journal |
||
⚫ | |||
|Cite news |
|Cite news |
||
|Cite web |
|||
|Cite press release |
|Cite press release |
||
⚫ | |||
|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 |
Revision as of 20:43, 27 April 2015
- title: Title of source. Expression error: Unexpected = operator. 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, Hebrew, Japanese, 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, Hebrew, Japanese, 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 display and link incorrectly unless those characters are encoded.
newline | [ | ] | | |
---|---|---|---|
space | [ | ] | | |
{{bracket|text}} | {{pipe}} – see also: rendering vertical bars in tables |
- title-link: Title of existing Wikipedia article about the source named in title – do not use a web address; do not wikilink. Alias: titlelink.