Difference between revisions of "Template:REFbook"

From IntactiWiki
Jump to navigation Jump to search
m
m (changed quote formatting)
 
(50 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[File:VisualEditor - Icon - Book.svg|16px|REFbook]] {{{last}}}{{#if: {{{first|}}} | ,&nbsp;{{{first}}} | }}{{#if: {{{year|}}} | &nbsp;({{{year}}}) | }}: {{#if: {{{url|}}} | ''[{{{url}}} {{{title}}}]'' | ''{{{title}}}''}}{{#if: {{{work|}}} | , {{{work}}} | }}{{#if: {{{editor|}}} | , {{{editor}}} (Ed.) | }}{{#if: {{{edition|}}} | , In: ''{{{edition}}}'' | }}{{#if: {{{volume|}}} | , Vol. {{{volume}}} | }}{{#if: {{{chapter|}}} | , Chap. {{{chapter}}} | }}{{#if: {{{pages|}}} | , p. {{{pages}}} | }}{{#if: {{{location|}}} | , {{{location}}} | }}{{#if: {{{publisher|}}} | , {{{publisher}}} | }}{{#if: {{{quote|}}} | , Quote: ''"{{{quote}}}"'' | }}{{#if: {{{isbn|}}} | , [[ISBN]]: {{{isbn}}} | }}{{#if: {{{accessdate|}}} | . Retrieved {{{accessdate}}} | }}.{{#if: {{{note|}}} | <br>'''''Note:''' {{{note}}}'' | }}</includeonly><noinclude>{{Template:REFbook/Docu}}</noinclude>
+
<includeonly>[[File:OOjs_UI_icon_book-ltr.svg|20px|REFbook]] {{#if:{{{last|}}}|{{#if:{{{author-link|}}}|[[{{{author-link}}}|{{{last}}}{{#if:{{{init|}}}|&#32;{{{init}}}|{{#if:{{{first|}}}|, {{{first}}}|}}}}]]|{{{last}}}{{#if:{{{init|}}}|&#32;{{{init}}}|{{#if:{{{first|}}}|, {{{first}}}|}}}}}}}}{{#if:{{{last2|}}}|, {{#if:{{{author2-link|}}}|[[{{{author2-link}}}|{{{last2}}}{{#if:{{{init2|}}}|&#32;{{{init2}}}|{{#if:{{{first2|}}}|, {{{first2}}}|}}}}]]|{{{last2}}}{{#if:{{{init2|}}}|&#32;{{{init2}}}|{{#if:{{{first2|}}}|, {{{first2}}}|}}}}}}}}{{#if:{{{last3|}}}|, {{#if:{{{author3-link|}}}|[[{{{author3-link}}}|{{{last3}}}{{#if:{{{init3|}}}|&#32;{{{init3}}}|{{#if:{{{first3|}}}|, {{{first3}}}|}}}}]]|{{{last3}}}{{#if:{{{init3|}}}|&#32;{{{init3}}}|{{#if:{{{first3|}}}|, {{{first3}}}|}}}}}}}}{{#if:{{{last4|}}}|, {{#if:{{{author4-link|}}}|[[{{{author4-link}}}|{{{last4}}}{{#if:{{{init4|}}}|&#32;{{{init4}}}|{{#if:{{{first4|}}}|, {{{first4}}}|}}}}]]|{{{last4}}}{{#if:{{{init4|}}}|&#32;{{{init4}}}|{{#if:{{{first4|}}}|, {{{first4}}}|}}}}}}}}{{#if:{{{last5|}}}|, {{#if:{{{author5-link|}}}|[[{{{author5-link}}}|{{{last5}}}{{#if:{{{init5|}}}|&#32;{{{init5}}}|{{#if:{{{first5|}}}|, {{{first5}}}|}}}}]]|{{{last5}}}{{#if:{{{init5|}}}|&#32;{{{init5}}}|{{#if:{{{first5|}}}|, {{{first5}}}|}}}}}}}}{{#if:{{{last6|}}}|, {{#if:{{{author6-link|}}}|[[{{{author6-link}}}|{{{last6}}}{{#if:{{{init6|}}}|&#32;{{{init6}}}|{{#if:{{{first6|}}}|, {{{first6}}}|}}}}]]|{{{last6}}}{{#if:{{{init6|}}}|&#32;{{{init6}}}|{{#if:{{{first6|}}}|, {{{first6}}}|}}}}}}}}{{#if:{{{last7|}}}|, {{#if:{{{author7-link|}}}|[[{{{author7-link}}}|{{{last7}}}{{#if:{{{init7|}}}|&#32;{{{init7}}}|{{#if:{{{first7|}}}|, {{{first7}}}|}}}}]]|{{{last7}}}{{#if:{{{init7|}}}|&#32;{{{init7}}}|{{#if:{{{first7|}}}|, {{{first7}}}|}}}}}}}}{{#if:{{{last8|}}}|, {{#if:{{{author8-link|}}}|[[{{{author8-link}}}|{{{last8}}}{{#if:{{{init8|}}}|&#32;{{{init8}}}|{{#if:{{{first8|}}}|, {{{first8}}}|}}}}]]|{{{last8}}}{{#if:{{{init8|}}}|&#32;{{{init8}}}|{{#if:{{{first8|}}}|, {{{first8}}}|}}}}}}}}{{#if:{{{last9|}}}|, {{#if:{{{author9-link|}}}|[[{{{author9-link}}}|{{{last9}}}{{#if:{{{init9|}}}|&#32;{{{init9}}}|{{#if:{{{first9|}}}|, {{{first9}}}|}}}}]]|{{{last9}}}{{#if:{{{init9|}}}|&#32;{{{init9}}}|{{#if:{{{first9|}}}|, {{{first9}}}|}}}}}}}}{{#if:{{{year|}}}|&#32;({{{year}}}{{#if:{{{year-initial|}}}|&#32;[{{{year-initial}}}]}})|}}{{#if:{{{last|}}}|&#58;|}}{{#if:{{{chapter|}}}|&#32;<q>{{{chapter}}}</q>, in:|}}{{#if:{{{url|}}}|&#32;''[{{{url}}} {{{title}}}]''{{#ifeq:{{{archived|}}}|yes|&#32;(archive URL)|}}.|&#32;''{{{title}}}''.}}{{#if:{{{trans-title|}}}|&#32;[{{{trans-title}}}]}}{{#if:{{{language|}}}|&#32;({{{language}}}).}}{{#if:{{{work|}}}|&#32;Work: {{{work}}}.|}}{{#if:{{{editor|}}}|&#32;{{{editor}}} (ed.).|}}{{#if:{{{editors|}}}|&#32;{{{editors}}} (eds.).|}}{{#if:{{{edition|}}}|&#32;Edition: {{{edition}}}.|}}{{#if:{{{volume|}}}|&#32;Vol. {{{volume}}}.|}}{{#if:{{{scope|}}}|&#32;{{{scope}}} pages.|}}{{#if:{{{location|}}}|&#32;{{{location}}}|}}{{#if:{{{publisher|}}}|{{#if:{{{location|}}}|&#58;|}}&#32;{{{publisher}}}.|}}{{#if:{{{page|}}}|&#32;P. {{{page}}}.|}}{{#if:{{{pages|}}}|&#32;Pp. {{{pages}}}.|}}{{#if:{{{ISBN|}}}|&#32;[[ISBN]] {{ISBN|{{{ISBN}}}}}.|}}{{#if:{{{isbn|}}}|&#32;[[ISBN]] {{ISBN|{{{isbn}}}}}.|}}{{#if:{{{doi|}}}|&#32;[https://doi.org/{{{doi}}} DOI].|}}{{#if:{{{accessdate|}}}|&#32;Retrieved {{date|{{{accessdate}}}}}.|}}{{#if:{{{quote|}}}|<br><small>Quote: <q>{{{quote}}}</q></small>|}}{{#if:{{{note|}}}|<br><small>'''''Note:''' {{{note}}}''</small>|}}</includeonly><noinclude>{{Template:REFbook/Docu}}
 +
 
 +
[[Category:Reference template]]
 +
 
 +
[[de:Vorlage:REFbook]]
 +
<!--[[en:Template:REFbook]]-->
 +
[[fr:Modèle:REFbook]]</noinclude>

Latest revision as of 09:10, 27 July 2022

Simple version

{{REFbook
 |last=
 |first=
 |init=
 |year=
 |title=
 |url=
 |scope=
 |location=
 |publisher=
 |ISBN=
 |accessdate=
 }}

Complex version

{{REFbook
 |last=
 |first=
 |init=
 |author-link=
 |last2=
 |first2=
 |init2=
 |author2-link=
 |year=
 |title=
 |url=
 |work=
 |editor=
 |edition=
 |volume=
 |chapter=
 |scope=
 |page=
 |pages=
 |location=
 |publisher=
 |ISBN=
 |quote=
 |accessdate=
 |note=
}}

Note: You can add up to 9 authors by using additional parameter fields from last3, first3, author3-link to last9, first9, author9-link. See below.

Deprecated parameter

  • <isbn> - use <ISBN> instead

Examples

Note: The small icon in front of each reference also has a "REFbook" mouseover text and helps template developers to more easily identify the template used in large articles. Chances are that they will be used permanently.

{{REFbook |title=Choices in Relationships: An Introduction to Marriage and the Family }}

REFbook Choices in Relationships: An Introduction to Marriage and the Family.

{{REFbook |last=Fleiss |first=Paul M. |init=PM |title=Choices in Relationships: An Introduction to Marriage and the Family }}

REFbook Fleiss PM: Choices in Relationships: An Introduction to Marriage and the Family.

{{REFbook |last=Fleiss |first=Paul M. |init=PM |author-link=Paul M. Fleiss |title=Choices in Relationships: An Introduction to Marriage and the Family }}

REFbook Fleiss PM: Choices in Relationships: An Introduction to Marriage and the Family.

{{REFbook |last=Fleiss |first=Paul M. |init=PM |author-link=Paul M. Fleiss |year=2010 |title=Choices in Relationships: An Introduction to Marriage and the Family }}

REFbook Fleiss PM (2010): Choices in Relationships: An Introduction to Marriage and the Family.

{{REFbook |last=Fleiss |first=Paul M. |init=PM |author-link=Paul M. Fleiss |last2=Hodges |first2=Frederick M. |init2=FM |author2-link=Frederick M. Hodges |year=2010 |title=Choices in Relationships: An Introduction to Marriage and the Family |url=http://books.google.com/books?id=iVOXAp27iQkC&pg=PT64 |work= |editor=Johnson, Joe |edition=11 |volume=2 |chapter=Second Marriage |scope=64 |location=New York |publisher=Book Publishers |ISBN=9781111833220 |quote= |accessdate=2019-09-27 |note=}}

REFbook Fleiss PM, Hodges FM (2010): Second Marriage, in: Choices in Relationships: An Introduction to Marriage and the Family. Johnson, Joe (ed.). Edition: 11. Vol. 2. 64 pages. New York: Book Publishers. ISBN 9781111833220. Retrieved 27 September 2019.

Example with editor(s) without author

{{REFbook
 |url=https://www.springer.com/gp/book/9789400764064
 |title=Genital Cutting: Protecting Children from Medical, Cultural, and Religious Infringements
 |editors=[[George C. Denniston]], [[Frederick M. Hodges]], [[Marilyn Fayre Milos]]
 |publisher=Springer Publishing
 |year=2013
}}

REFbook (2013) Genital Cutting: Protecting Children from Medical, Cultural, and Religious Infringements. George C. Denniston, Frederick M. Hodges, Marilyn Fayre Milos (eds.). Springer Publishing.

Complete parameters

{{REFbook
 |last=
 |first=
 |init=
 |author-link=
 |last2=
 |first2=
 |init2=
 |author2-link=
 |last3=
 |first3=
 |init3=
 |author3-link=
 |last4=
 |first4=
 |init4=
 |author4-link=
 |last5=
 |first5=
 |init5=
 |author5-link=
 |last6=
 |first6=
 |init6=
 |author6-link=
 |last7=
 |first7=
 |init7=
 |author7-link=
 |last8=
 |first8=
 |init8=
 |author8-link=
 |last9=
 |first9=
 |init9=
 |author9-link=
 |year=
 |year-initial=
 |title=
 |trans-title=
 |language=
 |url=
 |archived=
 |work=
 |editor=
 |editors=
 |edition=
 |volume=
 |chapter=
 |scope=
 |page=
 |pages=
 |location=
 |publisher=
 |ISBN=
 |quote=
 |accessdate=
 |note=
}}

Complete example

{{REFbook
 |last=Denniston
 |first=George C.
 |init=GC
 |author-link=George C. Denniston
 |last2=Hodges
 |first2=Frederick M.
 |init2=FM
 |author2-link=Frederick M. Hodges
 |last3=Milos
 |first3=Marilyn Fayre
 |init3=MF
 |author3-link=Marilyn Fayre Milos
 |last4=Young
 |first4=Hugh
 |init4=H
 |author4-link=Hugh Young
 |last5=Glick
 |first5=Leonard B.
 |init5=LB
 |author5-link=Leonard B. Glick
 |last6=Svoboda
 |first6=J. Steven 
 |init6=JS
 |author6-link=J. Steven Svoboda
 |last7=Bigelow
 |first7=Jim
 |init7=J
 |author7-link=Jim Bigelow
 |last8=Griffiths
 |first8=R. Wayne
 |init8=RW
 |author8-link=R. Wayne Griffiths
 |last9=Geisheker
 |first9=John V.
 |init9=JV
 |author9-link=John V. Geisheker
 |year-initial=1999
 |year=2021
 |title=Der Jahrtausendwende-Fehler
 |trans-title=The Millennium Bug
 |language=German
 |url=http://somedomain.org
 |archived=yes
 |work=Reader's Digest
 |editors=[[Dan Bollinger]] & [[George Hill]]
 |edition=2
 |volume=42
 |chapter=Why Microsoft calculates 101%
 |scope=128
 |pages=42-88
 |location=New York
 |publisher=Book Publishers
 |ISBN=1234567890123
 |doi=10.1007/978-1-4757-3351-8
 |quote=Toby or not Toby.
 |accessdate=2019-09-28
 |note=This is no valid book reference, of course.
}}

REFbook Denniston GC, Hodges FM, Milos MF, Young H, Glick LB, Svoboda JS, Bigelow J, Griffiths RW, Geisheker JV (2021 [1999]): Why Microsoft calculates 101%, in: Der Jahrtausendwende-Fehler (archive URL). [The Millennium Bug] (German). Work: Reader's Digest. Dan Bollinger & George Hill (eds.). Edition: 2. Vol. 42. 128 pages. New York: Book Publishers. Pp. 42-88. ISBN 1234567890123. DOI. Retrieved 28 September 2019.
Quote: Toby or not Toby.
Note: This is no valid book reference, of course.

See also