Template:cite-book Feb 25th 2013, 19:25 | | Line 1: | Line 1: | − | <onlyinclude>'''{{{1|{{{date|{{{year}}}}}}}}}''', {{{2|{{{author}}}}}}, ''{{{3|{{{title}}}}}}''{{#if:{{{genre|}}}| ({{{genre}}})}}{{#if:{{{book-link|}}}|{{citelink|link={{{book-link}}}}}}}{{#if:{{{isbn|{{{ISBN|}}}}}}|, ISBN {{{isbn|{{{ISBN}}}}}}}}{{#if:{{{page|}}}|, {{#if:{{{link|}}}|[{{{link}}} page {{{page}}}]|page {{{page}}}}}{{#if:{{{pages|}}}| of {{{pages}}}}}}}: <dl><dd>{{{passage|{{{text}}}}}}</dd></dl></onlyinclude><noinclude>{{documentation}}[[Category:Citation templates]]</noinclude> | + | <onlyinclude>'''{{{1|{{{date|{{{year}}}}}}}}}''', {{{2|{{{author}}}}}}, ''{{{3|{{{title}}}}}}''{{#if:{{{genre|}}}| ({{{genre}}})}}{{#if:{{{book-link|}}}| {{citelink|link={{{book-link}}}}}}}{{#if:{{{isbn|{{{ISBN|}}}}}}|, ISBN {{{isbn|{{{ISBN}}}}}}}}{{#if:{{{page|}}}|, {{#if:{{{link|}}}|[{{{link}}} page {{{page}}}]|page {{{page}}}}}{{#if:{{{pages|}}}| of {{{pages}}}}}}}: <dl><dd>{{{passage|{{{text}}}}}}</dd></dl></onlyinclude><noinclude>{{documentation}}[[Category:Citation templates]]</noinclude> |
Latest revision as of 19:25, 25 February 2013 {{{year}}}, {{{author}}}, {{{title}}}: - {{{text}}}
- The following documentation is located at Template:cite-book/doc. [edit]
Synopsis This: - {{cite-book|year=%year%|author=%author%|title=%title%|genre=%genre%|book-link=http://book-link.example.com/|ISBN=%ISBN%|page=%page%|link=http://link.example.com|pages=%pages%|passage=%passage%}}
produces this: %year%, %author%, %title% (%genre%) (link), ISBN %ISBN%, page %page% of %pages%: - %passage%
Parameters The above example uses all possible parameters; they should all be self-explanatory. All parameters are optional, except for these: - year= (or, equivalently: 1=, the first unnamed parameter)
- author= (or, equivalently: 2=, the second unnamed parameter)
- title= (or, equivalently: 3=, the third unnamed parameter)
- passage= or (equivalently) text=
See also - {{quote-book}}: more useful for quotations in entries, as it is updated more often.
| |