Template:REFweb/Docu: Difference between revisions

From IntactiWiki
Jump to navigation Jump to search
WikiAdmin (talk | contribs)
mNo edit summary
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
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.
{{REFweb
| last=
| first=
| year=
| title=
| url=
| publisher=
| accessdate=
}}
</pre>


==See also==
== Commonly used parameters ==
* [[Template:Citation]]
<pre>{{REFweb
* [[Template:REFbook]]
|url=
* [[Template:REFjournal]]
|title=
* [[Template:REFnews]]
|last=
* [[Template:REFwebQuote]]
|first=
|init=
|author-link=
|publisher=
|date=
|accessdate=
}}</pre>
 
== All parameters, vertical notation ==
<pre>{{REFweb
|title=
|url=
|archived=
|trans-title=
|language=
|last=
|first=
|init=
|author-link=
|publisher=
|website=
|date=
|accessdate=
|format=
|quote=
}}</pre>
 
== Required parameters ==
* '''<url>'''
* '''<title>'''
'''Note:''' If you just have the parameters 'url' and 'title', don't use this template, but simply '''<nowiki>[[url title]]</nowiki>'''.
 
== Deprecated parameters ==
'''<work>''' is deprecated; use '''<website>''' instead.
'''<year>''' is deprecated; use '''<date>''' instead.
 
== Examples ==
{{REFicon|REFweb}}
<pre>{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II}}</pre>
{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II}}
 
<pre>{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II |date=2019-10-28}}</pre>
{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II |date=2019-10-28}}
 
<pre>{{REFweb |url=http://www.example.org/test.pdf |title=My Favorite Things, Part II |last=Doe |first=John |format=PDF}}</pre>
{{REFweb |url=http://www.example.org/test.pdf |title=My Favorite Things, Part II |last=Doe |first=John |format=PDF}}
 
<pre>{{REFweb |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>
{{REFweb |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>{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |website=Encyclopedia of Things |accessdate=2019-09-20}}</pre>
{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |website=Encyclopedia of Things |accessdate=2019-09-20}}
 
<pre>{{REFweb |url=http://www.archive.org |archived=yes |title=My Favorite Things, Part II |last=Doe |first=John |website=Encyclopedia of Things |date=2000 |accessdate=2019-09-20}}</pre>
{{REFweb |url=http://www.archive.org |archived=yes |title=My Favorite Things, Part II |last=Doe |first=John |website=Encyclopedia of Things |date=2000 |accessdate=2019-09-20}}
 
<pre>{{REFweb |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>
{{REFweb |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>{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |author-link=Ulf Dunkel |publisher=Open Publishing |website=Encyclopedia of Things |date=2018-12-24 |accessdate=2019-09-20}}</pre>
{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |author-link=Ulf Dunkel |publisher=Open Publishing |website=Encyclopedia of Things |date=2018-12-24 |accessdate=2019-09-20}}
 
=== Bad examples ===
<pre>{{REFweb |title=My Favorite Things, Part II}}</pre>
{{REFweb |title=My Favorite Things, Part II}}
 
<pre>{{REFweb |url=http://www.example.org}}</pre>
{{REFweb |url=http://www.example.org}}
 
<pre>{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |website=Encyclopedia of Things |work=Huge work |date=2018-12-24 |accessdate=2019-09-20 |quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...}}</pre>
{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |website=Encyclopedia of Things |work=Huge work |date=2018-12-24 |accessdate=2019-09-20 |quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...}}
 
<pre>{{REFweb |url=http://www.example.org |title=Honi soit qui mal y pense |language=French |trans-title=Shame on those who think evil of it |last=Doe |first=John |init=J |publisher=Open Publishing |website=Encyclopedia of Things |work=Huge work |date=2018-12-24 |accessdate=2019-09-20 |quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...}}</pre>
{{REFweb |url=http://www.example.org |title=Honi soit qui mal y pense |language=French |trans-title=Shame on those who think evil of it |last=Doe |first=John |init=J |publisher=Open Publishing |website=Encyclopedia of Things |work=Huge work |date=2018-12-24 |accessdate=2019-09-20 |quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...}}
 
{{SEEALSO}}
{{DefaultTemplates}}<noinclude>
[[de:Vorlage:REFweb/Doku]]
<!--[[en:Template:REFweb/Docu]]-->
[[es:Plantilla:REFweb/Docu]]
[[fr:Modèle:REFweb/Docu]]
</noinclude>

Latest revision as of 17:42, 23 December 2024

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.

Commonly used parameters

{{REFweb
 |url=
 |title=
 |last=
 |first=
 |init=
 |author-link=
 |publisher=
 |date=
 |accessdate=
}}

All parameters, vertical notation

{{REFweb
 |title=
 |url=
 |archived=
 |trans-title=
 |language=
 |last=
 |first=
 |init=
 |author-link=
 |publisher=
 |website=
 |date=
 |accessdate=
 |format=
 |quote=
}}

Required parameters

  • <url>
  • <title>

Note: If you just have the parameters 'url' and 'title', don't use this template, but simply [[url title]].

Deprecated parameters

<work> is deprecated; use <website> instead. <year> is deprecated; use <date> instead.

Examples

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

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

REFweb My Favorite Things, Part II.

{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II |date=2019-10-28}}

REFweb (28 October 2019). My Favorite Things, Part II.

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

REFweb Doe, John. My Favorite Things, Part II .

{{REFweb |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}}

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

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

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

{{REFweb |url=http://www.archive.org |archived=yes |title=My Favorite Things, Part II |last=Doe |first=John |website=Encyclopedia of Things |date=2000 |accessdate=2019-09-20}}

REFweb Doe, John (2000). My Favorite Things, Part II (archive URL), Encyclopedia of Things. Retrieved 20 September 2019.

{{REFweb |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}}

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

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

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

Bad examples

{{REFweb |title=My Favorite Things, Part II}}

REFweb [<url> parameter missing!]My Favorite Things, Part II.

{{REFweb |url=http://www.example.org}}

REFweb [<title> parameter missing!.

{{REFweb |url=http://www.example.org |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |website=Encyclopedia of Things |work=Huge work |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 ...}}

REFweb Doe, John (24 December 2018). My Favorite Things, Part II, Encyclopedia of Things, Huge work [deprecated REFweb parameter used: use <website> instead], Open Publishing. Retrieved 20 September 2019.
Quote: ... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...

{{REFweb |url=http://www.example.org |title=Honi soit qui mal y pense |language=French |trans-title=Shame on those who think evil of it |last=Doe |first=John |init=J |publisher=Open Publishing |website=Encyclopedia of Things |work=Huge work |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 ...}}

REFweb Doe J (24 December 2018). Honi soit qui mal y pense [Shame on those who think evil of it] (French), Encyclopedia of Things, Huge work [deprecated REFweb parameter used: use <website> instead], Open Publishing. Retrieved 20 September 2019.
Quote: ... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...

See also