Difference between revisions of "Template:REFdocument"

From IntactiWiki
Jump to navigation Jump to search
m (new parameters: <last2>, <first2>, <author2-link> ... <last9>, <first9>, <author9-link>; output resorted (title first, contribution behind it.)
m
Line 1: Line 1:
<includeonly>[[File:Document icon (the Noun Project 27904).svg|16px|REFdocument]] {{#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:{{{url|}}}|{{#if:{{{last|}}}|&#58;&#32;|}}[{{{url}}} {{{title}}}]|{{{title}}}}}{{#if:{{{trans-title|}}}|&#32;[{{{trans-title}}}]{{#if:{{{language|}}}|&#32;({{{language}}})|}}|}}{{#ifeq:{{{format|}}}|PDF|&#32;&#32;[[File:Icons-mini-file_acrobat.gif]]|{{#if:{{{format|}}}|&#32;({{{format}}})|}}}}{{#if:{{{contribution|}}}|, Contribution: <q>''{{{contribution}}}''</q>}}{{#if: {{{publisher|}}}|, {{{publisher}}}|}}{{#if:{{{location|}}}|&#32;({{{location}}})|}}{{#if:{{{date|}}}|. ({{date|{{{date}}}}})|}}{{#if:{{{accessdate|}}}|. Retrieved {{date|{{{accessdate}}}}}|}}.{{#if:{{{quote|}}}|<br>Quote: <q>{{{quote}}}</q>}}{{#if:{{{trans-quote|}}}|&#32;''[<q>{{{trans-quote}}}</q>]{{#if:{{{quote-lang|}}}|&#32;({{{quote-lang}}})}}''}}{{#if: {{{postscript|}}}|<br>''{{{postscript}}}'' '''<span style="background:#FFE87C">[deprecated REFdocument parameter used: <postscript> - must no longer be used]</span>'''}}</includeonly><noinclude>
+
<includeonly>[[File:Document icon (the Noun Project 27904).svg|16px|REFdocument]] {{#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:{{{url|}}}|{{#if:{{{last|}}}|&#58;&#32;|}}[{{{url}}} {{{title}}}]{{#ifeq:{{{archived|}}}|yes|&#32;(Archive URL)|}}|{{{title}}} }}{{#if:{{{trans-title|}}}|&#32;[{{{trans-title}}}]{{#if:{{{language|}}}|&#32;({{{language}}})|}}|}}{{#ifeq:{{{format|}}}|PDF|&#32;&#32;[[File:Icons-mini-file_acrobat.gif]]|{{#if:{{{format|}}}|&#32;({{{format}}})|}}}}{{#if:{{{contribution|}}}|, Contribution: <q>''{{{contribution}}}''</q>}}{{#if: {{{publisher|}}}|, {{{publisher}}}|}}{{#if:{{{location|}}}|&#32;({{{location}}})|}}{{#if:{{{date|}}}|. ({{date|{{{date}}}}})|}}{{#if:{{{accessdate|}}}|. Retrieved {{date|{{{accessdate}}}}}|}}.{{#if:{{{quote|}}}|<br>Quote: <q>{{{quote}}}</q>}}{{#if:{{{trans-quote|}}}|&#32;''[<q>{{{trans-quote}}}</q>]{{#if:{{{quote-lang|}}}|&#32;({{{quote-lang}}})}}''}}{{#if: {{{postscript|}}}|<br>''{{{postscript}}}'' '''<span style="background:#FFE87C">[deprecated REFdocument parameter used: <postscript> - must no longer be used]</span>'''}}</includeonly><noinclude>
 
{{Template:REFdocument/Docu}}
 
{{Template:REFdocument/Docu}}
  

Revision as of 16:14, 31 March 2020

Common parameters

{{REFdocument
 |title=
 |url=
 |contribution=
 |last=
 |first=
 |publisher=
 |format=
 |date=
 |accessdate=
}}

Required parameter

  • <title>

Deprecated parameter

  • <postscript> is deprecated and must no longer be used. An error will be output when used.

Notes

  • You can add up to 9 authors by using additional parameter fields from last3, first3, author3-link to last9, first9, author9-link. See below. If a reference has more than 9 authors, please note them likewise (last10, first10, last11, first11, etc.) although they aren't supported yet. Add the <etal> parameter (see next note) to indicate that there are more than 9 authors. This isn't done automatically yet. Chances are that this template may support more than 9 authors in the future.
  • The <archived> parameter outputs " (archive URL)" if the value is set to yes.

Examples

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

* {{REFdocument
 |title=Genital Integrity Policy Statement
 |date=2008
}}
  • REFdocument Genital Integrity Policy Statement. (2008).
* {{REFdocument
 |title=Genital Integrity Policy Statement
 |url=https://www.i2researchhub.org/wp-content/uploads/2015/05/GenitalIntegrityStatement.pdf
 |date=2008
 |accessdate=2019-09-19
}}
* {{REFdocument
 |title=Genital Integrity Policy Statement
 |url=https://www.i2researchhub.org/wp-content/uploads/2015/05/GenitalIntegrityStatement.pdf
 |contribution=Medical Ethics and the Circumcision of Children
 |publisher=Doctors Opposing Circumcision
 |format=PDF
 |date=2008
 |accessdate=2019-09-19
}}
* {{REFdocument
 |title=Genital Integrity Policy Statement
 |url=https://www.i2researchhub.org/wp-content/uploads/2015/05/GenitalIntegrityStatement.pdf
 |contribution=Medical Ethics and the Circumcision of Children
 |quote=Doctors have a general duty to respect the human rights of the patient.
 |last=Hill
 |first=George
 |author-link=George Hill
 |publisher=Doctors Opposing Circumcision
 |format=PDF
 |date=2008
 |accessdate=2019-09-19
}}
  • REFdocument Hill, George: Genital Integrity Policy Statement Icons-mini-file acrobat.gif, Contribution: Medical Ethics and the Circumcision of Children, Doctors Opposing Circumcision. (2008). Retrieved 19 September 2019.
    Quote: Doctors have a general duty to respect the human rights of the patient.
* {{REFdocument
 |title=Forslag til folketingsbeslutning om indførelse af 18-årsmindstealder for omskæring af raske børn
 |trans-title=Proposal for a parliamentary resolution on the introduction of 18 years of age for the circumcision of healthy children
 |language=Danish
 |url=https://www.ft.dk/ripdf/samling/20191/beslutningsforslag/b5/20191_b5_som_fremsat.pdf
 |contribution=
 |quote=Folketinget pålægger regeringen at fremsætte lovforslag, der indfører en kønsneutral mindstealder på 18 år for omskæring, som ikke er nødvendig af helbredsmæssige årsager.
 |trans-quote=The Parliament orders the government to propose legislation that introduces a gender-neutral minimum age of 18 for circumcision, which is not necessary for health reasons.
 |quote-lang=Danish
 |last=
 |first=
 |publisher=Folketinget
 |location=Lillehammer
 |format=PDF
 |date=2019-10-03
 |accessdate=2019-10-09
}}
  • REFdocument Forslag til folketingsbeslutning om indførelse af 18-årsmindstealder for omskæring af raske børn [Proposal for a parliamentary resolution on the introduction of 18 years of age for the circumcision of healthy children] (Danish) Icons-mini-file acrobat.gif, Folketinget (Lillehammer). (3 October 2019). Retrieved 9 October 2019.
    Quote: Folketinget pålægger regeringen at fremsætte lovforslag, der indfører en kønsneutral mindstealder på 18 år for omskæring, som ikke er nødvendig af helbredsmæssige årsager. [The Parliament orders the government to propose legislation that introduces a gender-neutral minimum age of 18 for circumcision, which is not necessary for health reasons.] (Danish)
* {{REFdocument
 |url=https://web.archive.org/web/20071009055505/http://www.nyp-rpc.org/pdf/2005_health_alert46.pdf
 |title=2005 Health Alert #46: Neonatal herpes infection with herpes simplex virus type 1 following circumcision with oral suctioning (metzitzah b’peh) [a letter to doctors]
 |last=Blank
 |first=Susan
 |author-link=Susan Blank
 |last2=Schillinger
 |first2=Julia
 |website=https://web.archive.org/web/20071009055505/http://www.nyp-rpc.org/pdf/2005_health_alert46.pdf
 |publisher=The City of New York
 |date=2005-12-13
 |accessdate=2019-10-04
 |archive=yes
}}

Complete parameters

{{REFdocument
 |title=
 |trans-title=
 |language=
 |url=
 |archived=
 |contribution=
 |quote=
 |trans-quote=
 |quote-lang=
 |last=
 |first=
 |author-link=
 |last2=
 |first2=
 |author2-link=
 |last3=
 |first3=
 |author3-link=
 |last4=
 |first4=
 |author4-link=
 |last5=
 |first5=
 |author5-link=
 |last6=
 |first6=
 |author6-link=
 |last7=
 |first7=
 |author7-link=
 |last8=
 |first8=
 |author8-link=
 |last9=
 |first9=
 |author9-link=
 |publisher=
 |location=
 |format=
 |date=
 |accessdate=
}}

Example

* {{REFdocument
 |title=Beschneidung ist Betrug
 |trans-title=Circumcision is a scam
 |language=Deutsch
 |url=http://archive.org/
 |archived=yes
 |contribution=Details about circumcision
 |quote=Kinderrechte schützen!
 |trans-quote=Protect children's rights!
 |quote-lang=Deutsch
 |last=Dunkel
 |first=Ulf
 |author-link=Ulf Dunkel
 |last2=Hill
 |first2=George
 |author2-link=George Hill
 |last3=Adam
 |first3=Eve
 |author3-link=
 |last4=Seeger
 |first4=Pete
 |author4-link=
 |last5=Jackson
 |first5=Michael
 |author5-link=
 |last6=Houston
 |first6=Whitney
 |author6-link=
 |last7=Obama
 |first7=Barack
 |author7-link=
 |last8=Gates
 |first8=Bill
 |author8-link=Bill Gates
 |last9=Clinton
 |first9=Bill
 |author9-link=Bill Clinton
 |publisher=Readers Digest
 |location=Old York
 |format=PDF
 |date=2012-12-12
 |accessdate=2020-03-31
}}
  • REFdocument Dunkel, Ulf / George Hill / Eve Adam / Pete Seeger / Michael Jackson / Whitney Houston / Barack Obama / Bill Gates / Bill Clinton: Beschneidung ist Betrug (Archive URL) [Circumcision is a scam] (Deutsch) Icons-mini-file acrobat.gif, Contribution: Details about circumcision, Readers Digest (Old York). (12 December 2012). Retrieved 31 March 2020.
    Quote: Kinderrechte schützen! [Protect children's rights!] (Deutsch)

See also