Difference between revisions of "Template:REFdocument"

From IntactiWiki
Jump to navigation Jump to search
m (add <author-link>)
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:{{{contribution|}}}|<q>''{{{contribution}}}''</q>}}{{#if:{{{url|}}}|{{#if:{{{contribution|}}}|, in:&#32;}}[{{{url}}} {{{title}}}]{{#if:{{{format|}}}|&#32;&#32;[[File:Icons-mini-file_acrobat.gif]]}}{{#if:{{{format|}}}|&#32;(PDF)}}|{{#if:{{{contribution|}}}|, in:&#32;}}{{{title}}}{{#ifeq:{{{format|}}}|PDF|&#32;&#32;[[File:Icons-mini-file_acrobat.gif]]|}}{{#if:{{{format|}}}|&#32;({{{format}}})|}}}}{{#if:{{{trans-title|}}}|&#32;[{{{trans-title}}}]{{#if:{{{language|}}}|&#32;({{{language}}})|}}|}}{{#if: {{{publisher|}}}|, {{{publisher}}}|}}{{#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}}
+
<includeonly>[[File:Document icon (the Noun Project 27904).svg|16px|REFdocument]] {{#if:{{{last|}}}|{{#if:{{{author-link|}}}|[[{{{author-link}}}|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}|}}]]:&#32;|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}|}}:&#32;|}}|}}{{#if:{{{contribution|}}}|<q>''{{{contribution}}}''</q>}}{{#if:{{{url|}}}|{{#if:{{{contribution|}}}|, in:&#32;}}[{{{url}}} {{{title}}}]{{#if:{{{format|}}}|&#32;&#32;[[File:Icons-mini-file_acrobat.gif]]}}{{#if:{{{format|}}}|&#32;(PDF)}}|{{#if:{{{contribution|}}}|, in:&#32;}}{{{title}}}{{#ifeq:{{{format|}}}|PDF|&#32;&#32;[[File:Icons-mini-file_acrobat.gif]]|}}{{#if:{{{format|}}}|&#32;({{{format}}})|}}}}{{#if:{{{trans-title|}}}|&#32;[{{{trans-title}}}]{{#if:{{{language|}}}|&#32;({{{language}}})|}}|}}{{#if: {{{publisher|}}}|, {{{publisher}}}|}}{{#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}}
 
[[de:Vorlage:REFdocument]]</noinclude>
 
[[de:Vorlage:REFdocument]]</noinclude>

Revision as of 12:52, 11 November 2019

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: Medical Ethics and the Circumcision of Children, in: Genital Integrity Policy Statement Icons-mini-file acrobat.gif (PDF), 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 Icons-mini-file acrobat.gif (PDF) [Proposal for a parliamentary resolution on the introduction of 18 years of age for the circumcision of healthy children] (Danish), Folketinget. (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: Details about circumcision, in: Beschneidung ist Betrug Icons-mini-file acrobat.gif (PDF) [Circumcision is a scam] (Deutsch), Readers Digest. (12 December 2012). Retrieved 31 March 2020.
    Quote: Kinderrechte schützen! [Protect children's rights!] (Deutsch)

See also