Template:Citation Style documentation/web: Difference between revisions

Template page
m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user 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">title</b>: Title of source page on website. Displays in quotes. If '''script-title''' is defined, use '''title''' to hold a [[WP:ROMAN|Romanization]] (if available) of the title in '''script-title'''.
*<b id="csdoc_title">title</b>: Title of source page on website. 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. 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); follows Romanization defined in '''title''' (if present). Must be prefixed with one of the [[Help:Citation_Style_1#{{pipe}}script-&lt;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); follows Romanization defined in '''title''' (if present). Must be prefixed with one of the [[Help:Citation_Style_1#{{pipe}}script-&lt;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>

Latest revision as of 23:22, 2 April 2024

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

  • title: Title of source page on website. Displays in quotation marks. For titles containing quotation marks, convert regular quotation marks (") to single quotation marks ('). See MOS:QINQ for guidance in more complex situations. 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); follows 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 title; 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 &#91; &#93; &#124;
{{bracket|text}} {{pipe}}see also Help:Table § Rendering pipe itself
This parameter is required and will generate an error if not defined. On errors, main, help and template pages are placed into Category:Articles with incorrect citation syntax. Set |no-tracking=true to disable categorization; mainly used for documentation where the error is demonstrated.
  • website: Title of website (when the website has a clear name, use that rather than the domain name); may be wikilinked. Displays in italics. Aliases: work