Difference between revisions of "Template:REFnews"
m (new parameter <author-link>) |
m (changed quote formatting) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>[[File:PICOL icon News.svg| | + | <includeonly>[[File:PICOL icon News.svg|20px|REFnews]] {{#if:{{{last|}}}|{{#if:{{{author-link|}}}|[[{{{author-link}}}|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}|}}]]|{{{last}}}{{#if:{{{first|}}}|, {{{first}}}|}}|}}|}}{{#if:{{{last2|}}}| / {{#if:{{{author2-link|}}}|[[{{{author2-link}}}|{{#if:{{{first2|}}}|{{{first2}}}|}} {{{last2}}}]]|{{#if:{{{first2|}}}|{{{first2}}}|}} {{{last2}}}}}}}{{#if:{{{last3|}}}| / {{#if:{{{author3-link|}}}|[[{{{author3-link}}}|{{#if:{{{first3|}}}|{{{first3}}}|}} {{{last3}}}]]|{{#if:{{{first3|}}}|{{{first3}}}|}} {{{last3}}}}}}}{{#if:{{{last4|}}}| / {{#if:{{{author4-link|}}}|[[{{{author4-link}}}|{{#if:{{{first4|}}}|{{{first4}}}|}} {{{last4}}}]]|{{#if:{{{first4|}}}|{{{first4}}}|}} {{{last4}}}}}}}{{#if:{{{last5|}}}| / {{#if:{{{author5-link|}}}|[[{{{author5-link}}}|{{#if:{{{first5|}}}|{{{first5}}}|}} {{{last5}}}]]|{{#if:{{{first5|}}}|{{{first5}}}|}} {{{last5}}}}}}}{{#if:{{{last6|}}}| / {{#if:{{{author6-link|}}}|[[{{{author6-link}}}|{{#if:{{{first6|}}}|{{{first6}}}|}} {{{last6}}}]]|{{#if:{{{first6|}}}|{{{first6}}}|}} {{{last6}}}}}}}{{#if:{{{last7|}}}| / {{#if:{{{author7-link|}}}|[[{{{author7-link}}}|{{#if:{{{first7|}}}|{{{first7}}}|}} {{{last7}}}]]|{{#if:{{{first7|}}}|{{{first7}}}|}} {{{last7}}}}}}}{{#if:{{{last8|}}}| / {{#if:{{{author8-link|}}}|[[{{{author8-link}}}|{{#if:{{{first8|}}}|{{{first8}}}|}} {{{last8}}}]]|{{#if:{{{first8|}}}|{{{first8}}}|}} {{{last8}}}}}}}{{#if:{{{last9|}}}| / {{#if:{{{author9-link|}}}|[[{{{author9-link}}}|{{#if:{{{first9|}}}|{{{first9}}}|}} {{{last9}}}]]|{{#if:{{{first9|}}}|{{{first9}}}|}} {{{last9}}}}}}}{{#if:{{{coauthors|}}}|; with {{{coauthors}}} '''<span style="background:#FFE87C">[deprecated REFjournal parameter used: <coauthors> - please use <last2>, etc.]</span>'''|}}{{#ifeq:{{{etal|}}}|yes|, ''et al.''|}}{{#if:{{{date|}}}|{{#if:{{{last|}}}| |}}({{date|{{{date}}}}}). |{{#if:{{{season|}}}|{{#if:{{{last|}}}| |}}({{{season}}}). |{{#if:{{{last|}}}|. |}}}}}}{{#if:{{{url|}}}|[{{{url}}}"{{{title}}}"{{#if:{{{format|}}} |  [[File:Icons-mini-file pdf.svg]]|}}]{{#if:{{{format|}}}| (PDF)|}}|"{{{title}}}"{{#if:{{{format|}}}|  [[File:Icons-mini-file_acrobat.gif]]|}}{{#if:{{{format|}}}| (PDF)|}}}}{{#ifeq:{{{archived|}}}|yes| (archive URL)|}}{{#if:{{{trans-title|}}}| [{{{trans-title}}}]{{#if:{{{language|}}}| ({{{language}}})|}}|}}{{#if:{{{website|}}}|, ''{{{website}}}''|}}{{#if:{{{publisher|}}}|, ''{{{publisher}}}''|}}{{#if:{{{accessdate|}}}|. Retrieved {{date|{{{accessdate}}}}}|}}.{{#if:{{{quote|}}}|<br><small>Quote: <q>{{{quote}}}</q></small>|}}</includeonly><noinclude>{{Template:REFnews/Docu}} |
− | + | ||
+ | [[Category:Reference template]] | ||
+ | |||
+ | [[de:Vorlage:REFnews]] | ||
+ | <!--[[en:Template:REFnews]]--> | ||
+ | [[he:Template:REFnews]] | ||
+ | </noinclude> |
Latest revision as of 09:12, 27 July 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.
Contents
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}}
"My Favorite Things, Part II".
{{REFnews title=My Favorite Things, Part II |url=http://www.example.org}}
"My Favorite Things, Part II".
{{REFnews |title=My Favorite Things, Part II |url=http://www.example.org |last=Doe |first=John}}
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}}
Doe, John. "My Favorite Things, Part II" (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}}
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}}
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}}
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}}
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 ...}}
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. }}
- Denniston, George C. / Frederick M. Hodges / Marilyn Fayre Milos / Hugh Young / Leonard B. Glick / J. Steven Svoboda / Jim Bigelow / R. Wayne Griffiths / John V. Geisheker; with George Hill [deprecated REFjournal parameter used: <coauthors> - please use <last2>, etc.], et al. (24 December 2018)."Meine wichtigsten Dinge, Teil II" (archive URL) [My Favorite Things, Part II] (German), Encyclopedia of Things, Open Publishing. Retrieved 19 October 2019.
Quote:Toby or not Toby.
See also
- Template:BookInfo
- Template:Citation
- Template:REFbook
- Template:REFconference
Template:REFcontribution- Please don't use this any more.- Template:REFdocument
- Template:REFjournal
- Template:REFnews
- Template:REFweb