Difference between revisions of "Template:REFnews/Docu"

From IntactiWiki
Jump to navigation Jump to search
m
(added section Mutually exclusive parameters; adjusted other content)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
This template is a homebrewn IntactiWiki replacement for Wikipedia's way too complex '''<nowiki>[[Template:Cite web]]</nowiki>'''. It has less parameters and should be used for all ''online'' website references.
 
This template is a homebrewn IntactiWiki replacement for Wikipedia's way too complex '''<nowiki>[[Template:Cite web]]</nowiki>'''. It has less parameters and should be used for all ''online'' website references.
  
'''All parameters in vertical format'''
+
== Common parameters ==
 
<pre>{{REFnews
 
<pre>{{REFnews
 +
|title=
 +
|url=
 
  |last=
 
  |last=
 
  |first=
 
  |first=
  |coauthors=
+
  |init=
  |url=
+
  |author-link=
  |title=
+
  |last2=
 +
|init2=
 +
|author2-link=
 
  |publisher=
 
  |publisher=
  |work=
+
  |website=
 
  |date=
 
  |date=
 +
|season=
 
  |accessdate=
 
  |accessdate=
 +
|format=
 
  |quote=
 
  |quote=
 
}}</pre>
 
}}</pre>
 
'''Most commonly used parameters in horizontal format'''
 
<pre>{{REFnews |last= |first= |url= |title= |publisher= |accessdate=}}</pre>
 
  
 
== Required parameters ==
 
== Required parameters ==
 
* '''<title>'''
 
* '''<title>'''
'''Note:''' If you find an old [[IntactWiki]] template named ''cite contribution'', you shouldn't use this template, but [[Template:REFcontribution]] instead.
+
 
 +
== Mutually exclusive parameters ==
 +
* '''<date>''' || '''<season>'''
 +
{{NOTE}} You can either use the <date> parameter or the <season> parameter, not both at the same time. If both are listed in the template, <date> will be used.
 +
 
 +
== Deprecated parameters ==
 +
* '''<coauthors>''' - use <last2>, <first2>, etc., instead
 +
* '''<work>''' - use <website> instead
  
 
== Examples ==
 
== Examples ==
<pre>{{REFnews |url=http://www.example.org |title=My Favorite Things, Part II}}</pre>
+
{{REFicon|REFnews}}
{{REFnews |url=http://www.example.org |title=My Favorite Things, Part II}}
+
<pre>{{REFnews title=My Favorite Things, Part II}}</pre>
 +
{{REFnews |title=My Favorite Things, Part II}}
 +
 
 +
<pre>{{REFnews title=My Favorite Things, Part II |url=http://www.example.org}}</pre>
 +
{{REFnews |title=My Favorite Things, Part II |url=http://www.example.org}}
 +
 
 +
<pre>{{REFnews |title=My Favorite Things, Part II |url=http://www.example.org |last=Doe |first=John}}</pre>
 +
{{REFnews |title=My Favorite Things, Part II |url=http://www.example.org |last=Doe |first=John}}
 +
 
 +
<pre>{{REFnews |title=My Favorite Things, Part II |url=http://www.example.org/test.pdf |last=Doe |first=John |format=PDF}}</pre>
 +
{{REFnews |title=My Favorite Things, Part II |url=http://www.example.org/test.pdf |last=Doe |first=John |format=PDF}}
 +
 
 +
<pre>{{REFnews |last=Doe |first=John |url=http://www.example.org |title=My Favorite Things, Part II |publisher=Open Publishing |date=2018-12-24 |accessdate=2019-09-20}}</pre>
 +
{{REFnews |last=Doe |first=John |url=http://www.example.org |title=My Favorite Things, Part II |publisher=Open Publishing |date=2018-12-24 |accessdate=2019-09-20}}
 +
 
 +
<pre>{{REFnews |last=Doe |first=John |url=http://www.example.org |title=My Favorite Things, Part II |publisher=Open Publishing |season=2018 Summer |accessdate=2019-09-20}}</pre>
 +
{{REFnews |last=Doe |first=John |url=http://www.example.org |title=My Favorite Things, Part II |publisher=Open Publishing |season=2018 Summer |accessdate=2019-09-20}}
  
<pre>{{REFnews |url=http://www.example.org/test.pdf |title=My Favorite Things, Part II |last=Doe |first=John |format=PDF}}</pre>
+
<pre>{{REFnews |last=Doe |first=John |url=http://www.example.org |title=My Favorite Things, Part II |website=Encyclopedia of Things |accessdate=2019-09-20}}</pre>
{{REFnews |url=http://www.example.org/test.pdf |title=My Favorite Things, Part II |last=Doe |first=John |format=PDF}}
+
{{REFnews |last=Doe |first=John |url=http://www.example.org |title=My Favorite Things, Part II |website=Encyclopedia of Things |accessdate=2019-09-20}}
  
<pre>{{REFnews |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |date=2018-12-24 |accessdate=2019-09-20}}</pre>
+
<pre>{{REFnews |last=Doe |first=John |coauthors=Adam, Eve |url=http://www.example.org |title=My Favorite Things, Part II |publisher=Open Publishing |website=Encyclopedia of Things |date=2018-12-24 |accessdate=2019-09-20}}</pre>
{{REFnews |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |date=2018-12-24 |accessdate=2019-09-20}}
+
{{REFnews |last=Doe |first=John |coauthors=Adam, Eve |url=http://www.example.org |title=My Favorite Things, Part II |publisher=Open Publishing |website=Encyclopedia of Things |date=2018-12-24 |accessdate=2019-09-20}}
  
<pre>{{REFnews |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |website=Encyclopedia of Things |accessdate=2019-09-20}}</pre>
+
<pre>{{REFnews |last=Denniston |first=George C. |author-link=George C. Denniston |url=http://www.example.org |title=My Favorite Things, Part II |publisher=Open Publishing |website=Encyclopedia of Things |date=2018-12-24 |accessdate=2019-09-20 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...}}</pre>
{{REFnews |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |website=Encyclopedia of Things |accessdate=2019-09-20}}
+
{{REFnews
 +
|last=Denniston |first=George C. |author-link=George C. Denniston |url=http://www.example.org |title=My Favorite Things, Part II |publisher=Open Publishing |website=Encyclopedia of Things |date=2018-12-24 |accessdate=2019-09-20 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...}}
  
<pre>{{REFnews |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |website=Encyclopedia of Things |date=2018-12-24 |accessdate=2019-09-20}}</pre>
+
== All parameters ==
{{REFnews |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |website=Encyclopedia of Things |date=2018-12-24 |accessdate=2019-09-20}}
+
<pre>{{REFnews
 +
|title=
 +
|trans-title=
 +
|language=
 +
|url=
 +
|archived=
 +
|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=
 +
|etal=
 +
|publisher=
 +
|website=
 +
|date=
 +
|season=
 +
|accessdate=
 +
|quote=
 +
}}</pre>
  
<pre>{{REFnews |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |website=Encyclopedia of Things |date=2018-12-24 |accessdate=2019-09-20 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...}}</pre>
+
=== Example ===
{{REFnews |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |website=Encyclopedia of Things |date=2018-12-24 |accessdate=2019-09-20 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...}}
+
<pre>* {{REFnews
 +
|title=Meine wichtigsten Dinge, Teil II
 +
|trans-title=My Favorite Things, Part II
 +
|language=German
 +
|url=http://www.example.org
 +
|archived=yes
 +
|last=Denniston
 +
|first=George C.
 +
|author-link=George C. Denniston
 +
|last2=Hodges
 +
|first2=Frederick M.
 +
|author2-link=Frederick M. Hodges
 +
|last3=Milos
 +
|first3=Marilyn Fayre
 +
|author3-link=Marilyn Fayre Milos
 +
|last4=Young
 +
|first4=Hugh
 +
|author4-link=Hugh Young
 +
|last5=Glick
 +
|first5=Leonard B.
 +
|author5-link=Leonard B. Glick
 +
|last6=Svoboda
 +
|first6=J. Steven
 +
|author6-link=J. Steven Svoboda
 +
|last7=Bigelow
 +
|first7=Jim
 +
|author7-link=Jim Bigelow
 +
|last8=Griffiths
 +
|first8=R. Wayne
 +
|author8-link=R. Wayne Griffiths
 +
|last9=Geisheker
 +
|first9=John V.
 +
|author9-link=John V. Geisheker
 +
|etal=yes
 +
|coauthors=[[George Hill]]
 +
|publisher=Open Publishing
 +
|work=Encyclopedia of Things
 +
|website=Encyclopedia of Things
 +
|date=2018-12-24
 +
|season=2018 Winter
 +
|accessdate=2019-10-19
 +
|quote=Toby or not Toby.
 +
}}</pre>
 +
* {{REFnews
 +
|title=Meine wichtigsten Dinge, Teil II
 +
|trans-title=My Favorite Things, Part II
 +
|language=German
 +
|url=http://www.example.org
 +
|archived=yes
 +
|last=Denniston
 +
|first=George C.
 +
|author-link=George C. Denniston
 +
|last2=Hodges
 +
|first2=Frederick M.
 +
|author2-link=Frederick M. Hodges
 +
|last3=Milos
 +
|first3=Marilyn Fayre
 +
|author3-link=Marilyn Fayre Milos
 +
|last4=Young
 +
|first4=Hugh
 +
|author4-link=Hugh Young
 +
|last5=Glick
 +
|first5=Leonard B.
 +
|author5-link=Leonard B. Glick
 +
|last6=Svoboda
 +
|first6=J. Steven
 +
|author6-link=J. Steven Svoboda
 +
|last7=Bigelow
 +
|first7=Jim
 +
|author7-link=Jim Bigelow
 +
|last8=Griffiths
 +
|first8=R. Wayne
 +
|author8-link=R. Wayne Griffiths
 +
|last9=Geisheker
 +
|first9=John V.
 +
|author9-link=John V. Geisheker
 +
|etal=yes
 +
|coauthors=[[George Hill]]
 +
|publisher=Open Publishing
 +
|work=Encyclopedia of Things
 +
|website=Encyclopedia of Things
 +
|date=2018-12-24
 +
|season=2018 Winter
 +
|accessdate=2019-10-19
 +
|quote=Toby or not Toby.
 +
}}
  
 
{{SEEALSO}}
 
{{SEEALSO}}
{{DefaultTemplates}}<noinclude>[[de:Vorlage:REFnews/Doku]]</noinclude>
+
{{DefaultTemplates}}<noinclude>
 +
[[Category:Reference template]]
 +
 
 +
[[de:Vorlage:REFnews/Doku]]</noinclude>

Latest revision as of 14:13, 9 June 2022

This template is a homebrewn IntactiWiki replacement for Wikipedia's way too complex [[Template:Cite web]]. It has less parameters and should be used for all online website references.

Common parameters

{{REFnews
 |title=
 |url=
 |last=
 |first=
 |init=
 |author-link=
 |last2=
 |init2=
 |author2-link=
 |publisher=
 |website=
 |date=
 |season=
 |accessdate=
 |format=
 |quote=
}}

Required parameters

  • <title>

Mutually exclusive parameters

  • <date> || <season>

Note: You can either use the <date> parameter or the <season> parameter, not both at the same time. If both are listed in the template, <date> will be used.

Deprecated parameters

  • <coauthors> - use <last2>, <first2>, etc., instead
  • <work> - use <website> instead

Examples

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

{{REFnews title=My Favorite Things, Part II}}

REFnews "My Favorite Things, Part II".

{{REFnews title=My Favorite Things, Part II |url=http://www.example.org}}

REFnews "My Favorite Things, Part II".

{{REFnews |title=My Favorite Things, Part II |url=http://www.example.org |last=Doe |first=John}}

REFnews Doe, John. "My Favorite Things, Part II".

{{REFnews |title=My Favorite Things, Part II |url=http://www.example.org/test.pdf |last=Doe |first=John |format=PDF}}

REFnews Doe, John. "My Favorite Things, Part II" Icons-mini-file pdf.svg (PDF).

{{REFnews |last=Doe |first=John |url=http://www.example.org |title=My Favorite Things, Part II |publisher=Open Publishing |date=2018-12-24 |accessdate=2019-09-20}}

REFnews Doe, John (24 December 2018)."My Favorite Things, Part II", Open Publishing. Retrieved 20 September 2019.

{{REFnews |last=Doe |first=John |url=http://www.example.org |title=My Favorite Things, Part II |publisher=Open Publishing |season=2018 Summer |accessdate=2019-09-20}}

REFnews Doe, John (2018 Summer)."My Favorite Things, Part II", Open Publishing. Retrieved 20 September 2019.

{{REFnews |last=Doe |first=John |url=http://www.example.org |title=My Favorite Things, Part II |website=Encyclopedia of Things |accessdate=2019-09-20}}

REFnews Doe, John. "My Favorite Things, Part II", Encyclopedia of Things. Retrieved 20 September 2019.

{{REFnews |last=Doe |first=John |coauthors=Adam, Eve |url=http://www.example.org |title=My Favorite Things, Part II |publisher=Open Publishing |website=Encyclopedia of Things |date=2018-12-24 |accessdate=2019-09-20}}

REFnews Doe, John; with Adam, Eve [deprecated REFjournal parameter used: <coauthors> - please use <last2>, etc.] (24 December 2018)."My Favorite Things, Part II", Encyclopedia of Things, Open Publishing. Retrieved 20 September 2019.

{{REFnews |last=Denniston |first=George C. |author-link=George C. Denniston |url=http://www.example.org |title=My Favorite Things, Part II |publisher=Open Publishing |website=Encyclopedia of Things |date=2018-12-24 |accessdate=2019-09-20 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...}}

REFnews Denniston, George C. (24 December 2018)."My Favorite Things, Part II", Encyclopedia of Things, Open Publishing. Retrieved 20 September 2019.
Quote: ... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...

All parameters

{{REFnews
 |title=
 |trans-title=
 |language=
 |url=
 |archived=
 |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=
 |etal=
 |publisher=
 |website=
 |date=
 |season=
 |accessdate=
 |quote=
}}

Example

* {{REFnews
 |title=Meine wichtigsten Dinge, Teil II
 |trans-title=My Favorite Things, Part II
 |language=German
 |url=http://www.example.org
 |archived=yes
 |last=Denniston
 |first=George C.
 |author-link=George C. Denniston
 |last2=Hodges
 |first2=Frederick M.
 |author2-link=Frederick M. Hodges
 |last3=Milos
 |first3=Marilyn Fayre
 |author3-link=Marilyn Fayre Milos
 |last4=Young
 |first4=Hugh
 |author4-link=Hugh Young
 |last5=Glick
 |first5=Leonard B.
 |author5-link=Leonard B. Glick
 |last6=Svoboda
 |first6=J. Steven 
 |author6-link=J. Steven Svoboda
 |last7=Bigelow
 |first7=Jim
 |author7-link=Jim Bigelow
 |last8=Griffiths
 |first8=R. Wayne
 |author8-link=R. Wayne Griffiths
 |last9=Geisheker
 |first9=John V.
 |author9-link=John V. Geisheker
 |etal=yes
 |coauthors=[[George Hill]]
 |publisher=Open Publishing
 |work=Encyclopedia of Things
 |website=Encyclopedia of Things
 |date=2018-12-24
 |season=2018 Winter
 |accessdate=2019-10-19
 |quote=Toby or not Toby.
}}

See also