Difference between revisions of "Template:REFbook"

From IntactiWiki
Jump to navigation Jump to search
m (added <archived> parameter)
m (added year-initial)
Line 1: Line 1:
<includeonly>[[File:OOjs_UI_icon_book-ltr.svg.png|20px|REFbook]] {{#if:{{{last|}}}|{{#if:{{{author-link|}}}|[[{{{author-link}}}|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}|}}]]|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}|}}}}}}{{#if:{{{last2|}}}|&#32;/ {{#if:{{{author2-link|}}}|[[{{{author2-link}}}|{{#if:{{{first2|}}}|{{{first2}}}|}} {{{last2}}}]]|{{#if:{{{first2|}}}|{{{first2}}}|}} {{{last2}}}}}}}{{#if:{{{last3|}}}|&#32;/ {{#if:{{{author3-link|}}}|[[{{{author3-link}}}|{{#if:{{{first3|}}}|{{{first3}}}|}} {{{last3}}}]]|{{#if:{{{first3|}}}|{{{first3}}}|}} {{{last3}}}}}}}{{#if:{{{last4|}}}|&#32;/ {{#if:{{{author4-link|}}}|[[{{{author4-link}}}|{{#if:{{{first4|}}}|{{{first4}}}|}} {{{last4}}}]]|{{#if:{{{first4|}}}|{{{first4}}}|}} {{{last4}}}}}}}{{#if:{{{last5|}}}|&#32;/ {{#if:{{{author5-link|}}}|[[{{{author5-link}}}|{{#if:{{{first5|}}}|{{{first5}}}|}} {{{last5}}}]]|{{#if:{{{first5|}}}|{{{first5}}}|}} {{{last5}}}}}}}{{#if:{{{last6|}}}|&#32;/ {{#if:{{{author6-link|}}}|[[{{{author6-link}}}|{{#if:{{{first6|}}}|{{{first6}}}|}} {{{last6}}}]]|{{#if:{{{first6|}}}|{{{first6}}}|}} {{{last6}}}}}}}{{#if:{{{last7|}}}|&#32;/ {{#if:{{{author7-link|}}}|[[{{{author7-link}}}|{{#if:{{{first7|}}}|{{{first7}}}|}} {{{last7}}}]]|{{#if:{{{first7|}}}|{{{first7}}}|}} {{{last7}}}}}}}{{#if:{{{last8|}}}|&#32;/ {{#if:{{{author8-link|}}}|[[{{{author8-link}}}|{{#if:{{{first8|}}}|{{{first8}}}|}} {{{last8}}}]]|{{#if:{{{first8|}}}|{{{first8}}}|}} {{{last8}}}}}}}{{#if:{{{last9|}}}|&#32;/ {{#if:{{{author9-link|}}}|[[{{{author9-link}}}|{{#if:{{{first9|}}}|{{{first9}}}|}} {{{last9}}}]]|{{#if:{{{first9|}}}|{{{first9}}}|}} {{{last9}}}}}}}{{#if:{{{year|}}}|&#32;({{{year}}})|}}{{#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:{{{page|}}}|&#32;p. {{{page}}}.|}}{{#if:{{{pages|}}}|&#32;pp. {{{pages}}}.|}}{{#if:{{{location|}}}|&#32;{{{location}}}|}}{{#if:{{{publisher|}}}|{{#if:{{{location|}}}|&#58;|}}&#32;{{{publisher}}}.|}}{{#if:{{{quote|}}}|&#32;Quote: ''<q>{{{quote}}}</q>''.|}}{{#if:{{{isbn|}}}|&#32;[[ISBN]] {{ISBN|{{{isbn}}}}}.|}}{{#if:{{{doi|}}}|&#32;[https://doi.org/{{{doi}}} DOI].|}}{{#if:{{{accessdate|}}}|&#32;Retrieved {{date|{{{accessdate}}}}}.|}}{{#if:{{{note|}}}|<br>'''''Note:''' {{{note}}}''|}}</includeonly><noinclude>{{Template:REFbook/Docu}}
+
<includeonly>[[File:OOjs_UI_icon_book-ltr.svg.png|20px|REFbook]] {{#if:{{{last|}}}|{{#if:{{{author-link|}}}|[[{{{author-link}}}|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}|}}]]|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}|}}}}}}{{#if:{{{last2|}}}|&#32;/ {{#if:{{{author2-link|}}}|[[{{{author2-link}}}|{{#if:{{{first2|}}}|{{{first2}}}|}} {{{last2}}}]]|{{#if:{{{first2|}}}|{{{first2}}}|}} {{{last2}}}}}}}{{#if:{{{last3|}}}|&#32;/ {{#if:{{{author3-link|}}}|[[{{{author3-link}}}|{{#if:{{{first3|}}}|{{{first3}}}|}} {{{last3}}}]]|{{#if:{{{first3|}}}|{{{first3}}}|}} {{{last3}}}}}}}{{#if:{{{last4|}}}|&#32;/ {{#if:{{{author4-link|}}}|[[{{{author4-link}}}|{{#if:{{{first4|}}}|{{{first4}}}|}} {{{last4}}}]]|{{#if:{{{first4|}}}|{{{first4}}}|}} {{{last4}}}}}}}{{#if:{{{last5|}}}|&#32;/ {{#if:{{{author5-link|}}}|[[{{{author5-link}}}|{{#if:{{{first5|}}}|{{{first5}}}|}} {{{last5}}}]]|{{#if:{{{first5|}}}|{{{first5}}}|}} {{{last5}}}}}}}{{#if:{{{last6|}}}|&#32;/ {{#if:{{{author6-link|}}}|[[{{{author6-link}}}|{{#if:{{{first6|}}}|{{{first6}}}|}} {{{last6}}}]]|{{#if:{{{first6|}}}|{{{first6}}}|}} {{{last6}}}}}}}{{#if:{{{last7|}}}|&#32;/ {{#if:{{{author7-link|}}}|[[{{{author7-link}}}|{{#if:{{{first7|}}}|{{{first7}}}|}} {{{last7}}}]]|{{#if:{{{first7|}}}|{{{first7}}}|}} {{{last7}}}}}}}{{#if:{{{last8|}}}|&#32;/ {{#if:{{{author8-link|}}}|[[{{{author8-link}}}|{{#if:{{{first8|}}}|{{{first8}}}|}} {{{last8}}}]]|{{#if:{{{first8|}}}|{{{first8}}}|}} {{{last8}}}}}}}{{#if:{{{last9|}}}|&#32;/ {{#if:{{{author9-link|}}}|[[{{{author9-link}}}|{{#if:{{{first9|}}}|{{{first9}}}|}} {{{last9}}}]]|{{#if:{{{first9|}}}|{{{first9}}}|}} {{{last9}}}}}}}{{#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:{{{page|}}}|&#32;p. {{{page}}}.|}}{{#if:{{{pages|}}}|&#32;pp. {{{pages}}}.|}}{{#if:{{{location|}}}|&#32;{{{location}}}|}}{{#if:{{{publisher|}}}|{{#if:{{{location|}}}|&#58;|}}&#32;{{{publisher}}}.|}}{{#if:{{{quote|}}}|&#32;Quote: ''<q>{{{quote}}}</q>''.|}}{{#if:{{{isbn|}}}|&#32;[[ISBN]] {{ISBN|{{{isbn}}}}}.|}}{{#if:{{{doi|}}}|&#32;[https://doi.org/{{{doi}}} DOI].|}}{{#if:{{{accessdate|}}}|&#32;Retrieved {{date|{{{accessdate}}}}}.|}}{{#if:{{{note|}}}|<br>'''''Note:''' {{{note}}}''|}}</includeonly><noinclude>{{Template:REFbook/Docu}}
  
 
[[Category:Reference template]]
 
[[Category:Reference template]]
  
 
[[de:Vorlage:REFbook]]</noinclude>
 
[[de:Vorlage:REFbook]]</noinclude>

Revision as of 08:34, 13 September 2021

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, Paul M.: 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, Paul M.: 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, Paul M. (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, Paul M. / Frederick M. Hodges (2010): Second Marriage, in: Choices in Relationships: An Introduction to Marriage and the Family. Johnson, Joe (ed.). Edition: 11. Vol. 2. New York: Book Publishers. 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, George C. / Frederick M. Hodges / Marilyn Fayre Milos / Hugh Young / Leonard B. Glick / J. Steven Svoboda / Jim Bigelow / R. Wayne Griffiths / John V. Geisheker (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. pp. 42-88. New York: Book Publishers. Quote: Toby or not Toby.. DOI. Retrieved 28 September 2019.
Note: This is no valid book reference, of course.

See also