Template:Citation Style documentation/chapter: Difference between revisions

From Seeds of the Word, the encyclopedia of the influence of the Gospel on culture
m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
|Cite conference
|Cite conference
|Cite podcast = Not displayed even if set
|Cite podcast = Not displayed even if set
|#default = Displays in quotes}}.
|#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'''
** '''script-chapter''': 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'''. Should be prefixed with an [[List of ISO 639-1 codes|ISO 639-1]] two-character code to help browsers properly display the script:
** '''script-chapter''': 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>
**:<code><nowiki>... |chapter=Tōkyō tawā |script-chapter=ja:東京タワー |trans-chapter=Tokyo Tower ...</nowiki></code>
** '''trans-chapter''': English translation of the chapter heading, if the source cited is in a foreign language. Displays in square brackets after the '''{{#switch:{{{title_title}}}
** '''trans-chapter''': English translation of the chapter heading, if the source cited is in a foreign language. Displays in square brackets after the '''{{#switch:{{{title_title}}}

Latest revision as of 22:05, April 3, 2021

  • 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.
  • 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, or Preface will display unquoted; any other value will display in quotation marks. The author of the contribution is given in contributor.