Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Cite book: Difference between revisions

Template page
No edit summary
added example
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#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}}<noinclude>
<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>
 
{{Cite book|<nowiki>{{{book}}}</nowiki>|<nowiki>{{{chapter}}}</nowiki>|<nowiki>{{{paragraph}}}</nowiki>}}


<templatedata>
<templatedata>

Latest revision as of 06:42, 21 December 2024

{{{book}}}, chapter {{{chapter}}}, paragraph {{{paragraph}}}

Cite a specific paragraph and chapter of a book

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Book namebook 1

Name of the book being cited

Example
The Dragonet Prophecy
Contentrequired
Chapter numberchapter 2

Chapter number being cited

Example
2
Numberrequired
Paragraph numberparagraph 3

Paragraph number being cited

Example
3
Numbersuggested
Cookies help us deliver our services. By using our services, you agree to our use of cookies.