More actions
added example |
added support for prologue/epilogue |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{book|{{{1|}}}}}}{{{chapter|{{{2|}}}}}}|{{#ifexist:{{{book|{{{1}}}}}}|''[[{{{book|{{{1}}}}}}]]''|''{{{book|{{{1|}}}}}}''}}, chapter {{{chapter|{{{2}}}}}}{{#if:{{{paragraph|{{{3|}}}}}}|, paragraph {{{paragraph|{{{3|}}}}}}}}|{{error|parameters <code>book</code> and <code>chapter</code> are required}}}}</includeonly><noinclude> | <includeonly>{{#if:{{{book|{{{1|}}}}}}{{{chapter|{{{2|}}}}}}|{{#ifexist:{{{book|{{{1}}}}}}|''[[{{{book|{{{1}}}}}}]]''|''{{{book|{{{1|}}}}}}''}}, {{#switch:{{lc:{{{chapter|{{{2}}}}}}}} | ||
| prologue | |||
| epilogue | |||
| post-epilogue = {{{chapter|{{{2}}}}}} | |||
| #default = chapter {{{chapter|{{{2}}}}}} | |||
}}{{#if:{{{paragraph|{{{3|}}}}}}|, paragraph {{{paragraph|{{{3|}}}}}}}}|{{error|parameters <code>book</code> and <code>chapter</code> are required}}}}</includeonly><noinclude> | |||
{{Cite book|<nowiki>{{{book}}}</nowiki>|<nowiki>{{{chapter}}}</nowiki>|<nowiki>{{{paragraph}}}</nowiki>}} | {{Cite book|<nowiki>{{{book}}}</nowiki>|<nowiki>{{{chapter}}}</nowiki>|<nowiki>{{{paragraph}}}</nowiki>}} | ||
Revision as of 08:00, 23 December 2024
{{{book}}}, chapter {{{chapter}}}, paragraph {{{paragraph}}}
Cite a specific paragraph and chapter of a book
Parameter | Description | Type | Status | |
---|---|---|---|---|
Book name | book 1 | Name of the book being cited
| Content | required |
Chapter number | chapter 2 | Chapter number being cited
| Number | required |
Paragraph number | paragraph 3 | Paragraph number being cited
| Number | suggested |