Template:Citation Style documentation/chapter: Difference between revisions
From All Skies Encyclopaedia
imported>Macropneuma (Correcting evident copy–paste editing omission; copy–pasted from the documentation title section about the url & trans_title parameters? Therefore: "trans_title"->"trans_chapter". Error in widely used doc. Tell me and rv if this correction is wrong.) |
imported>Redrose64 (add some csdoc ids) |
||
(14 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
* |
* {{#switch:{{{title_title}}} |
||
| booktitle = |
| booktitle = <b id="csdoc_book-title">book-title</b> |
||
| #default = chapter}} |
| #default = <b id="csdoc_chapter">chapter</b>}}: The chapter heading of the source. May be wikilinked or may use '''chapter-url''', but not both. {{#switch:{{BASEPAGENAME}} |
||
|Cite journal |
|||
|italics = Displays in italics. |
|||
|Cite web |
|||
|work = If '''work''' is defined, then '''title''' is displayed in quotes, else displays in italics. |
|||
|Cite news |
|||
|#default = Displays in quotes.}} |
|||
|Cite press release |
|||
⚫ | |||
|Cite conference |
|||
⚫ | |||
|Cite podcast = Not displayed even if set |
|||
⚫ | |||
|#default = Displays in quotes}}. If '''script-chapter''' is defined, use '''chapter''' to hold a [[WP:ROMAN|Romanization]] (if available) of the title in '''script-chapter''' |
|||
** <b id="csdoc_script-chapter">script-chapter</b>: Chapter heading for languages that do not use a Latin-based script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc); follows [[WP:ROMAN|Romanization]] defined in '''chapter''' (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>... |chapter=Tōkyō tawā |script-chapter=ja:東京タワー |trans-chapter=Tokyo Tower ...</nowiki></code> |
|||
⚫ | |||
⚫ | |||
⚫ | |||
* <b id="csdoc_contribution">contribution</b>: A separately-authored part of '''author'''{{'}}s book. May be wikilinked or may use '''contribution-url''', but not both. Values of <code>Afterword</code>, <code>Foreword</code>, <code>Introduction</code>, or <code>Preface</code> will display unquoted; any other value will display in quotation marks. The author of the contribution is given in '''contributor'''. |
Latest revision as of 16:35, 1 February 2025
- chapter: The chapter heading of the source. May be wikilinked or may use chapter-url, but not both. Displays in quotes. If script-chapter is defined, use chapter to hold a Romanization (if available) of the title in script-chapter
- script-chapter: Chapter heading for languages that do not use a Latin-based script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc); follows Romanization defined in chapter (if present). Must be prefixed with one of the supported language codes to help browsers properly display the script:
... |chapter=Tōkyō tawā |script-chapter=ja:東京タワー |trans-chapter=Tokyo Tower ...
- trans-chapter: English translation of the chapter heading, if the source cited is in a foreign language. Displays in square brackets after the chapter field; if chapter-url is defined, then trans-chapter is included in the link. Use of the language parameter is recommended.
- script-chapter: Chapter heading for languages that do not use a Latin-based script (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean, etc); follows Romanization defined in chapter (if present). Must be prefixed with one of the supported language codes to help browsers properly display the script:
- contribution: A separately-authored part of author's book. May be wikilinked or may use contribution-url, but not both. Values of
Afterword
,Foreword
,Introduction
, orPreface
will display unquoted; any other value will display in quotation marks. The author of the contribution is given in contributor.