Template:Cite book: Difference between revisions

From Transport Design Wiki
Better support of page numbers for book citations.
Add space between author and title.
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:{{{at|}}}|, {{{at}}}|}}}}}}{{#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

Revision as of 01:06, 17 May 2026

Usage

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