Anonymous user
Template:Citation Style documentation/chapter: Difference between revisions
Template:Citation Style documentation/chapter (view source)
Revision as of 04:01, 15 April 2021
, 3 years agoFix empty citation, unnamed or unsupported parameter, or invalid parameter value; see Help:CS1 errors. Appears to be unused, but just in case.
Richardpruen (talk | contribs) m (1 revision imported: Wikipedia article on Nicotine modules needed) |
(Fix empty citation, unnamed or unsupported parameter, or invalid parameter value; see Help:CS1 errors. Appears to be unused, but just in case.) |
||
Line 1: | Line 1: | ||
* '''{{#switch:{{{title_title}}} | * '''{{#switch:{{{title_title}}} | ||
| booktitle = | | booktitle = book-title | ||
| #default = chapter}}''': The chapter heading of the source. May be wikilinked or may use '''chapter-url''', but not both. {{#switch:{{BASEPAGENAME}} | | #default = chapter}}''': The chapter heading of the source. May be wikilinked or may use '''chapter-url''', but not both. {{#switch:{{BASEPAGENAME}} | ||
|Cite journal | |Cite journal | ||
Line 12: | Line 12: | ||
**:<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}}} | ||
| booktitle = | | booktitle = book-title | ||
| #default = chapter}}''' field; if '''chapter-url''' is defined, then '''trans-chapter''' is included in the link. Use of the '''language''' parameter is recommended. | | #default = 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 <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'''. | * '''contribution''': 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'''. |