Template:Cite book: Difference between revisions

From Transport Design Wiki
Restart with different template.
Better support of page numbers for book citations.
Line 1: Line 1:
<includeonly>{{#if:{{{author|}}}|{{{author}}}. |}}''{{{title|Untitled}}}''{{#if:{{{edition|}}}| ({{{edition}}} ed.)|}}{{#if:{{{publisher|}}}|. {{{publisher}}}|}}{{#if:{{{year|}}}|, {{{year}}}|}}{{#if:{{{pages|}}}|, pp. {{{pages}}}|{{#if:{{{page|}}}|, p. {{{page}}}|}}}}{{#if:{{{isbn|}}}|. ISBN {{{isbn}}}|}}.</includeonly><noinclude>
<includeonly>{{#if:{{{author|}}}|{{{author}}}. |}}''{{{title|Untitled}}}''{{#if:{{{edition|}}}| ({{{edition}}} ed.)|}}{{#if:{{{publisher|}}}|. {{{publisher}}}|}}{{#if:{{{year|}}}|, {{{year}}}|}}{{#if:{{{pages|}}}|, pp. {{{pages}}}|{{#if:{{{page|}}}|, p. {{{page}}}|{{#if:{{{at|}}}|, {{{at}}}|}}}}}}{{#if:{{{isbn|}}}|. ISBN {{{isbn}}}|}}.</includeonly><noinclude>
== Usage ==
== Usage ==
<pre>{{cite book
<pre>{{cite book
Line 8: Line 8:
  |edition=
  |edition=
  |page=
  |page=
|pages=
|at=
  |isbn=
  |isbn=
}}</pre>
}}</pre>
[[Category:Citation templates]]
[[Category:Citation templates]]
</noinclude>
</noinclude>

Revision as of 01:02, 17 May 2026

Usage

{{cite book
 |author=
 |title=
 |publisher=
 |year=
 |edition=
 |page=
 |pages=
 |at=
 |isbn=
}}