Difference between revisions of "Template:REFweb"

From IntactiWiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#if: {{{quote|}}} | "{{{quote}}}",&nbsp; |}}{{#if: {{{url|}}} | ''[{{{url}}} {{{title}}}]'' | ''{{{title}}}''}}{{#if: {{{last|}}} |{{{last}}}|}}{{#if: {{{first|}}} |, {{{first}}}|}}{{#if: {{{year|}}} | {{#if: {{{last|first|}}} |&nbsp;|}}({{{year}}})|}}{{#if: {{{date|}}} | {{#if: {{{last|first|year|}}} |&nbsp;|}}{{#if: {{{publisher|}}} | , {{{publisher}}} | }}{{#if: {{{work|}}} | , {{{work}}} | }}({{{date}}})|}}{{#if: {{{last|first|year|date|}}} |&#58;&nbsp;| &nbsp; }}{{#if: {{{accessdate|}}} | , retrieved {{{accessdate}}} | }}.
+
{{#if: {{{quote|}}} | "{{{quote}}}",&nbsp; |}}{{#if: {{{url|}}} | ''[{{{url}}} {{{title}}}]'' | ''{{{title}}}''}}{{#if: {{{last|}}} |{{{last}}}|}}{{#if: {{{first|}}} |, {{{first}}}|}}{{#if: {{{year|}}} | {{#if: {{{last|first|}}} |&nbsp;|}}({{{year}}})|}}{{#if: {{{date|}}} | {{#if: {{{last|first|year|}}} |&nbsp;|}}{{#if: {{{publisher|}}} | , {{{publisher}}} | }}{{#if: {{{work|}}} | , {{{work}}} | }} ({{{date}}})|}}{{#if: {{{last|first|year|date|}}} |&#58;&nbsp;| &nbsp; }}{{#if: {{{accessdate|}}} | , retrieved {{{accessdate}}} | }}.
 
</includeonly>
 
</includeonly>
 
<noinclude>{{Template:REFweb/Docu}}</noinclude>
 
<noinclude>{{Template:REFweb/Docu}}</noinclude>

Revision as of 15:42, 21 August 2019

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

My Favorite Things, Part II: .


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

My Favorite Things, Part II  (2019-10-28): .


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

My Favorite Things, Part IIDoe, John: .


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

My Favorite Things, Part IIDoe, John , Open Publishing (2018-12-24): , retrieved 2019-09-20.


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

My Favorite Things, Part IIDoe, John: , retrieved 2019-09-20.


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

My Favorite Things, Part IIDoe, John  (2000): , retrieved 2019-09-20.


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

My Favorite Things, Part IIDoe, John , Open Publishing (2018-12-24): , retrieved 2019-09-20.


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

My Favorite Things, Part IIDoe, John , Open Publishing (2018-12-24): , retrieved 2019-09-20.


Bad examples

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

My Favorite Things, Part II: .


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

{{{title}}}: .


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

"... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...", My Favorite Things, Part IIDoe, John , Open Publishing, Huge work (2018-12-24): , retrieved 2019-09-20.


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

"... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...", Honi soit qui mal y penseDoe, John , Open Publishing, Huge work (2018-12-24): , retrieved 2019-09-20.


See also