Template:Cite web/doc: Difference between revisions
imported>SMcCandlish (Documentation cleanup (better param. descriptions in TemplateData; "advertise" the consistent and concise parameter name, not it's longwinded alias.) |
Krisrs1128 (talk | contribs) m (Protected "Template:Cite web/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite) [Delete=Allow only administrators] (indefinite))) |
||
(42 intermediate revisions by 22 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
{{high-risk| approximately 3000000 }} |
|||
{{AWB standard installation}} |
{{AWB standard installation}} |
||
{{csdoc|lua}} |
{{csdoc|lua}} |
||
Line 11: | Line 10: | ||
{{csdoc|usage common}} |
{{csdoc|usage common}} |
||
For references with author credit |
For references with author credit |
||
:<code><nowiki>{{cite web |url= |title= |last= |first= |date= | |
:<code><nowiki>{{cite web |url= |title= |last= |first= |date= |website= |publisher= |access-date= |quote=}}</nowiki></code> |
||
For references without author credit |
For references without author credit |
||
:<code><nowiki>{{cite web |url= |title= |author=<!--Not stated--> |date= | |
:<code><nowiki>{{cite web |url= |title= |author=<!--Not stated--> |date= |website= |publisher= |access-date= |quote=}}</nowiki></code> |
||
{{end}} |
{{end}} |
||
{{csdoc|usage vertical common}} |
{{csdoc|usage vertical common}} |
||
Line 25: | Line 23: | ||
|first= |
|first= |
||
|date= |
|date= |
||
|website= |
|||
|publisher= |
|publisher= |
||
|access-date= |
|access-date= |
||
|quote= |
|quote=}} |
||
</pre> |
</pre> |
||
{{end}} |
{{end}} |
||
{{csdoc|usage full}} |
{{csdoc|usage full}} |
||
:<code><nowiki>{{cite web |url= |url-access= |title= |last= |first= |author= |author-link= |last2= |first2= |author2= |author-link2= |date= |year= |orig-year= |editor-last= |editor-first= |editor= |editor-link= |editor2-last= |editor2-first= |editor2-link= |editors= |department= | |
:<code><nowiki>{{cite web |url= |url-access= |title= |last= |first= |author= |author-link= |last2= |first2= |author2= |author-link2= |date= |year= |orig-year= |editor-last= |editor-first= |editor= |editor-link= |editor2-last= |editor2-first= |editor2-link= |editors= |department= |website= |series= |publisher= |agency= |location= |page= |pages= |at= |language= |script-title= |trans-title= |type= |format= |arxiv= |asin= |bibcode= |doi= |doi-broken-date= |isbn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |pmid= |rfc= |ssrn= |zbl= |id= |access-date= |url-status= |archive-url= |archive-date= |via= |quote= |ref= |postscript= }}</nowiki></code> |
||
{{end}} |
{{end}} |
||
{{csdoc|usage vertical}} |
{{csdoc|usage vertical}} |
||
Line 56: | Line 54: | ||
|editor2-link= |
|editor2-link= |
||
|department= |
|department= |
||
| |
|website= |
||
|series= |
|series= |
||
|publisher= |
|publisher= |
||
Line 89: | Line 87: | ||
|zbl= |
|zbl= |
||
|id= |
|id= |
||
|access-date= |
|||
|url-status= |
|||
|archive-url= |
|archive-url= |
||
|archive-date= |
|archive-date= |
||
|dead-url= |
|||
|access-date= |
|||
|via= |
|via= |
||
|quote= |
|quote= |
||
|ref= |
|ref= |
||
|postscript= |
|postscript=}} |
||
|subscription= |
|||
|registration= }} |
|||
</pre> |
</pre> |
||
{{csdoc|usage vertical mid}} |
{{csdoc|usage vertical mid}} |
||
Line 155: | Line 151: | ||
|
|
||
|
|
||
url |
|||
url |
|||
url, archive-date |
url, archive-date |
||
archive-url |
archive-url |
||
|
|||
url |
|||
url |
|||
|
|
||
|
|
||
Line 171: | Line 168: | ||
|
|
||
required |
required |
||
|
|||
|
|||
|
|||
|
|||
|
|
||
|
|
||
Line 229: | Line 230: | ||
{{csdoc|usage vertical end}} |
{{csdoc|usage vertical end}} |
||
===Choosing between |
===Choosing between [[Template:cite web]] and [[Template:cite news]]=== |
||
{{anchor|Consistency}} |
{{anchor|Consistency}} |
||
Before 2014, editors had to decide whether to use {{tl| |
Before 2014, editors had to decide whether to use {{tl|cite web}} or {{tl|cite news}} based on their features. In 2014, {{em|most of}} the differences between the two templates were eliminated. |
||
As of {{diff|Module:Citation/CS1|732205428|723907342|29 July 2016}}, {{tlf| |
As of {{diff|Module:Citation/CS1|732205428|723907342|29 July 2016}}, {{tlf|cite web}} and {{tlf|cite news}} have the following differences: |
||
* {{tlf| |
* {{tlf|cite news}} can be used for [[WP:OFFLINE|offline]] (paper) sources whereas {{tlf|cite web}} generates a missing URL error when no URL is provided |
||
* {{tlf| |
* {{tlf|cite news}} accepts {{para|issue}} and {{para|volume}} parameters while {{tlf|cite web}} does not (See {{slink|Help:Citation Style 1#Pages}}; see also {{tl|cite magazine}}.) |
||
But given the same set of valid parameters, their output is exactly the same: |
But given the same set of valid parameters, their output is exactly the same: |
||
<!-- ATTENTION! |
<!-- ATTENTION! |
||
Line 243: | Line 244: | ||
--> |
--> |
||
{| |
{| |
||
| ''' |
| '''cite web''': || {{cite web |url=http://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/ |title=Microsoft envisions a universal OS, but it might not be called Windows |last=Silverman |first=Dwight |date=July 15, 2011 |work=Houston Chronicle |publisher=Hearst Corporation |access-date=May 26, 2015}} |
||
|- |
|- |
||
| ''' |
| '''cite news''': || {{cite news |url=http://blog.chron.com/techblog/2011/07/microsoft-envisions-a-universal-os-but-it-might-not-be-called-windows/ |title=Microsoft envisions a universal OS, but it might not be called Windows |last=Silverman |first=Dwight |date=July 15, 2011 |work=Houston Chronicle |publisher=Hearst Corporation |access-date=May 26, 2015}} |
||
|} |
|} |
||
Line 257: | Line 258: | ||
|publisher=Open Publishing |
|publisher=Open Publishing |
||
|date=April 30, 2005 |
|date=April 30, 2005 |
||
| |
|website=Encyclopedia of Things |
||
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki> |
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki> |
||
|r={{cite web |
|r={{cite web |
||
Line 266: | Line 267: | ||
|publisher=Open Publishing |
|publisher=Open Publishing |
||
|date=April 30, 2005 |
|date=April 30, 2005 |
||
| |
|website=Encyclopedia of Things |
||
|access-date={{date|{{date}}|mdy}}}} |
|access-date={{date|{{date}}|mdy}}}} |
||
}} |
}} |
||
Line 276: | Line 277: | ||
|first=John |
|first=John |
||
|date=30 April 2005 |
|date=30 April 2005 |
||
| |
|website=Encyclopedia of Things |
||
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki> |
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki> |
||
|r={{cite web |
|r={{cite web |
||
Line 284: | Line 285: | ||
|first=John |
|first=John |
||
|date=30 April 2005 |
|date=30 April 2005 |
||
| |
|website=Encyclopedia of Things |
||
|access-date={{date}}}} |
|access-date={{date}}}} |
||
}} |
}} |
||
Line 329: | Line 330: | ||
{{markup2| |
{{markup2| |
||
|m=<nowiki>{{cite web |
|m=<nowiki>{{cite web |
||
|url= |
|url=https://operations.nfl.com/the-rules/nfl-rules-digest/ |
||
|title= |
|title=NFL Rules Digest |
||
| |
|website=NFL Football Operations |
||
|publisher=[[National Football League]] |
|||
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki> |
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki> |
||
|r={{cite web |
|r={{cite web |
||
|url= |
|url=https://operations.nfl.com/the-rules/nfl-rules-digest/ |
||
|title= |
|title=NFL Rules Digest |
||
| |
|website=NFL Football Operations |
||
|publisher=[[National Football League]] |
|||
|access-date={{date|{{date}}|mdy}}}} |
|access-date={{date|{{date}}|mdy}}}} |
||
}} |
}} |
||
===Using format=== |
===Using "format="=== |
||
When this template detects a link whose URL includes an [[filename extension|extension]] of ".pdf" or ".PDF", typical of [[PDF]] files, it automatically displays a PDF icon after the link (regardless of whether the link goes to a PDF file or to an HTML landing page, typical of paysites). It also internally acts as if {{para|format|PDF}} had been specified, which displays " (PDF)" after the icon. (In this case, an explicit {{para|format|PDF}} parameter would be redundant, so it ''is not'' recommended to add it. Users may remove it. Citation bot, when invoked, will remove it. ([[User talk:Citation bot/Archive 13#Remove format=pdf and variants when URLs end in .pdf|ref]])) |
|||
<div style="width:auto; overflow:scroll"> |
<div style="width:auto; overflow:scroll"> |
||
{{markup2| |
{{markup2| |
||
Line 347: | Line 351: | ||
|title=List of psychotropic substances under international control |
|title=List of psychotropic substances under international control |
||
|publisher=International Narcotics Control Board |
|publisher=International Narcotics Control Board |
||
|format=PDF |
|||
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki> |
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki> |
||
|r={{cite web |
|r={{cite web |
||
Line 353: | Line 356: | ||
|title=List of psychotropic substances under international control |
|title=List of psychotropic substances under international control |
||
|publisher=International Narcotics Control Board |
|publisher=International Narcotics Control Board |
||
|access-date={{date}}}} |
|||
}} |
|||
</div> |
|||
If the link is to a PDF file that ''is not'' automatically recognizable by its extension, this template does not display the PDF icon. You may add the parameter {{para|format|PDF}}, which displays " (PDF)" after the link. |
|||
<div style="width:auto; overflow:scroll"> |
|||
{{markup2| |
|||
|m=<nowiki>{{cite web |
|||
|url=http://www.sample.com/somePDFdocument.000 |
|||
|title=Some PDF Document |
|||
|publisher=Sample Int'l |
|||
|format=PDF |
|||
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki> |
|||
|r={{cite web |
|||
|url=http://www.sample.com/somePDFdocument.000 |
|||
|title=Some PDF Document |
|||
|publisher=Sample Int'l |
|||
|format=PDF |
|format=PDF |
||
|access-date={{date}}}} |
|access-date={{date}}}} |
||
}} |
}} |
||
</div> |
</div> |
||
For links to files in other formats, no icon is displayed. For example, for an [[.odt]] file, you may add the parameter {{para|format|ODT}}, which displays " (ODT)" after the link. |
|||
<div style="width:auto; overflow:scroll"> |
|||
{{markup2| |
|||
|m=<nowiki>{{cite web |
|||
|url=http://www.sample.com/someODTdocument.odt |
|||
|title=Some ODT Document |
|||
|publisher=Sample Int'l |
|||
|format=ODT |
|||
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki> |
|||
|r={{cite web |
|||
|url=http://www.sample.com/someODTdocument.odt |
|||
|title=Some ODT Document |
|||
|publisher=Sample Int'l |
|||
|format=ODT |
|||
|access-date={{date}}}} |
|||
}} |
|||
</div> |
|||
===Foreign language and translated title=== |
===Foreign language and translated title=== |
||
{{markup2| |
{{markup2| |
||
Line 380: | Line 419: | ||
===Using author-link=== |
===Using author-link=== |
||
{{markup2| |
{{markup2| |
||
|m=<nowiki>{{cite web |
|m=<nowiki>{{cite web |
||
Line 390: | Line 428: | ||
|publisher=Open Publishing |
|publisher=Open Publishing |
||
|date=April 30, 2005 |
|date=April 30, 2005 |
||
| |
|website=Encyclopedia of Things |
||
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki> |
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki> |
||
|r={{cite web |
|r={{cite web |
||
Line 400: | Line 438: | ||
|publisher=Open Publishing |
|publisher=Open Publishing |
||
|date=April 30, 2005 |
|date=April 30, 2005 |
||
| |
|website=Encyclopedia of Things |
||
|access-date={{date|{{date}}|mdy}}}} |
|access-date={{date|{{date}}|mdy}}}} |
||
}} |
}} |
||
=== |
===Multiple authors=== |
||
{{markup2| |
{{markup2| |
||
|m=<nowiki>{{cite web |
|m=<nowiki>{{cite web |
||
Line 418: | Line 455: | ||
|publisher=Open Publishing |
|publisher=Open Publishing |
||
|date=30 April 2005 |
|date=30 April 2005 |
||
| |
|website=Encyclopaedia of Things |
||
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki> |
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki> |
||
|r={{cite web |
|r={{cite web |
||
Line 431: | Line 468: | ||
|publisher=Open Publishing |
|publisher=Open Publishing |
||
|date=30 April 2005 |
|date=30 April 2005 |
||
| |
|website=Encyclopaedia of Things |
||
|access-date={{date}}}} |
|access-date={{date}}}} |
||
}} |
}} |
||
=== |
===No author=== |
||
{{markup2| |
{{markup2| |
||
|m=<nowiki>{{cite web |
|m=<nowiki>{{cite web |
||
Line 442: | Line 479: | ||
|publisher=Open Publishing |
|publisher=Open Publishing |
||
|date=2005-04-30 |
|date=2005-04-30 |
||
| |
|website=Encyclopedia of Things |
||
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>}}</nowiki> |
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>}}</nowiki> |
||
|r={{cite web |
|r={{cite web |
||
Line 449: | Line 486: | ||
|publisher=Open Publishing |
|publisher=Open Publishing |
||
|date=2005-04-30 |
|date=2005-04-30 |
||
| |
|website=Encyclopedia of Things |
||
|access-date={{date|{{date}}|iso}}}} |
|access-date={{date|{{date}}|iso}}}} |
||
}} |
}} |
||
=== |
===No author, no publisher=== |
||
{{markup2| |
{{markup2| |
||
|m=<nowiki>{{cite web |
|m=<nowiki>{{cite web |
||
Line 460: | Line 496: | ||
|title=Index of Sharp Things |
|title=Index of Sharp Things |
||
|date=30 April 2005 |
|date=30 April 2005 |
||
| |
|website=Encyclopedia of Things |
||
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki> |
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki> |
||
|r={{cite web |
|r={{cite web |
||
Line 466: | Line 502: | ||
|title=Index of Sharp Things |
|title=Index of Sharp Things |
||
|date=30 April 2005 |
|date=30 April 2005 |
||
| |
|website=Encyclopedia of Things |
||
|access-date={{date}}}} |
|access-date={{date}}}} |
||
}} |
}} |
||
Line 486: | Line 522: | ||
|title=List of psychotropic substances under international control |
|title=List of psychotropic substances under international control |
||
|date=2005-04-30 |
|date=2005-04-30 |
||
|format=PDF |
|||
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki> |
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki> |
||
|language=Greek}}</nowiki> |
|language=Greek}}</nowiki> |
||
Line 493: | Line 528: | ||
|title=List of psychotropic substances under international control |
|title=List of psychotropic substances under international control |
||
|date=2005-04-30 |
|date=2005-04-30 |
||
|format=PDF |
|||
|access-date={{date|{{date}}|iso}} |
|access-date={{date|{{date}}|iso}} |
||
|language=Greek}} |
|language=Greek}} |
||
}} |
}} |
||
===Using "archive-url" and "archive-date" (and optionally "url-status") for webpages that have been archived {{anchor|archive-url}}=== |
|||
{{anchor|archive-url}} |
|||
<div style="width:auto; overflow:scroll">By default, if "archive-url" is used, {{para|url-status|dead}} and the main link is to the archive: |
|||
===Using "archive-url" and "archive-date" (and optionally "dead-url") for webpages that have been archived=== |
|||
<div style="width:auto; overflow:scroll">By default dead-url=yes, the main link is to the archive: |
|||
{{markup2| |
{{markup2| |
||
|m=<nowiki>{{cite web |
|m=<nowiki>{{cite web |
||
Line 506: | Line 539: | ||
|title=List of psychotropic substances under international control |
|title=List of psychotropic substances under international control |
||
|date=2005-04-30 |
|date=2005-04-30 |
||
|format=PDF |
|||
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki> |
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki> |
||
|archive-url=https://web.archive.org/web/20050907150136/http://www.incb.org/pdf/e/list/green.pdf |
|archive-url=https://web.archive.org/web/20050907150136/http://www.incb.org/pdf/e/list/green.pdf |
||
Line 514: | Line 546: | ||
|title=List of psychotropic substances under international control |
|title=List of psychotropic substances under international control |
||
|date=2005-04-30 |
|date=2005-04-30 |
||
|format=PDF |
|||
|access-date={{date|{{date}}|iso}} |
|access-date={{date|{{date}}|iso}} |
||
|archive-url=https://web.archive.org/web/20050907150136/http://www.incb.org/pdf/e/list/green.pdf |
|archive-url=https://web.archive.org/web/20050907150136/http://www.incb.org/pdf/e/list/green.pdf |
||
Line 520: | Line 551: | ||
}} |
}} |
||
</div> |
</div> |
||
<div style="width:auto; overflow:scroll"> |
<div style="width:auto; overflow:scroll">With {{para|url-status|live}}, the main link is to the original: |
||
{{markup2| |
{{markup2| |
||
|m=<nowiki>{{cite web |
|m=<nowiki>{{cite web |
||
Line 527: | Line 558: | ||
|date=March 31, 2006 |
|date=March 31, 2006 |
||
|publisher=The Desert Sun |
|publisher=The Desert Sun |
||
|url-status=live |
|||
|archive-url=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |
|archive-url=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |
||
|archive-date=April 26, 2006 |
|archive-date=April 26, 2006}}</nowiki> |
||
|dead-url=no}}</nowiki> |
|||
|r={{cite web |
|r={{cite web |
||
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |
||
Line 535: | Line 566: | ||
|date=March 31, 2006 |
|date=March 31, 2006 |
||
|publisher=The Desert Sun |
|publisher=The Desert Sun |
||
|url-status=live |
|||
|archive-url=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |
|archive-url=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |
||
|archive-date=April 26, 2006 |
|archive-date=April 26, 2006}} |
||
|dead-url=no}} |
|||
}} |
}} |
||
</div> |
</div> |
||
<div style="width:auto; overflow:scroll">With |
<div style="width:auto; overflow:scroll">With {{para|url-status|unfit}} or {{code|usurped}}, the original is not linked at all: |
||
{{markup2| |
{{markup2| |
||
|m=<nowiki>{{ |
|m=<nowiki>{{cite web |
||
|url=http://www.wunderground.com/global/stations/03772.html |
|url=http://www.wunderground.com/global/stations/03772.html |
||
|title=London, United Kingdom Forecast |
|title=London, United Kingdom Forecast: Weather Underground (weather and elevation at Heathrow Airport) |
||
|publisher=The Weather Underground |
|publisher=The Weather Underground |
||
|access-date=</nowiki>{{date}}<nowiki> |
|access-date=</nowiki>{{date}}<nowiki> |
||
| archive-url=https://www.webcitation.org/5yo0HaAk7 |archive-date=19 May 2011 |
|url-status=unfit |archive-url=https://www.webcitation.org/5yo0HaAk7 |archive-date=19 May 2011}}</nowiki> |
||
|r={{ |
|r={{cite web |
||
|url=http://www.wunderground.com/global/stations/03772.html |
|url=http://www.wunderground.com/global/stations/03772.html |
||
|title=London, United Kingdom Forecast |
|title=London, United Kingdom Forecast: Weather Underground (weather and elevation at Heathrow Airport) |
||
|publisher=The Weather Underground |
|publisher=The Weather Underground |
||
|access-date={{date}} |
|access-date={{date}} |
||
| archive-url=https://www.webcitation.org/5yo0HaAk7 |archive-date=19 May 2011 |
|url-status=unfit |archive-url=https://www.webcitation.org/5yo0HaAk7 |archive-date=19 May 2011}} |
||
}} |
}} |
||
</div> |
</div> |
||
Line 563: | Line 594: | ||
|url=http://www.webexhibits.org/daylightsaving/c.html |
|url=http://www.webexhibits.org/daylightsaving/c.html |
||
|title=Daylight saving time: rationale and original idea |
|title=Daylight saving time: rationale and original idea |
||
| |
|website=WebExhibits |
||
| |
|date=2008 |
||
|access-date=</nowiki>{{date}}<nowiki> |
|access-date=</nowiki>{{date}}<nowiki> |
||
|quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...'}}</nowiki> |
|quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...'}}</nowiki> |
||
Line 570: | Line 601: | ||
|url=http://www.webexhibits.org/daylightsaving/c.html |
|url=http://www.webexhibits.org/daylightsaving/c.html |
||
|title=Daylight saving time: rationale and original idea |
|title=Daylight saving time: rationale and original idea |
||
| |
|website=WebExhibits |
||
| |
|date=2008 |
||
|access-date={{date}} |
|access-date={{date}} |
||
|quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...'}} |
|quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...'}} |
||
Line 580: | Line 611: | ||
===Syntax=== |
===Syntax=== |
||
{{csdoc|syntax}} |
{{csdoc|syntax}} |
||
{{csdoc|sep_period}} |
{{csdoc|sep_period}} |
||
===COinS=== |
===COinS=== |
||
{{csdoc|coins}} |
{{csdoc|coins}} |
||
===What's new=== |
|||
{{csdoc|whats new}} |
|||
===Deprecated=== |
===Deprecated=== |
||
Line 600: | Line 633: | ||
====Date==== |
====Date==== |
||
{{csdoc|date}} |
{{csdoc|date}} |
||
====Website==== |
|||
{{csdoc|journal|issue=no}} |
|||
====Publisher==== |
====Publisher==== |
||
Line 611: | Line 647: | ||
{{csdoc|pages}} |
{{csdoc|pages}} |
||
====URL==== |
===={{Anchor|url}}URL==== |
||
{{csdoc|url}} |
{{csdoc|url}} |
||
Line 637: | Line 673: | ||
==TemplateData== |
==TemplateData== |
||
{{Warning |image=Stop hand nuvola.svg |This section contains configuration data used by editing tools and automated bots. Changes to this data can result in widespread and unintended effects. For more information see [[Help:Citation Style 1#TemplateData]]}} |
|||
{{TemplateData header}} |
{{TemplateData header}} |
||
<templatedata> |
<templatedata> |
||
Line 644: | Line 681: | ||
"url": { |
"url": { |
||
"label": "URL", |
"label": "URL", |
||
"description": "The URL of the online location where the text of the publication can be found. Requires schemes of the type \"http://...\" or maybe even the |
"description": "The URL of the online location where the text of the publication can be found. Requires schemes of the type \"http://...\" or maybe even the protocol relative scheme \"//...\"", |
||
"type": "string", |
"type": "string", |
||
"aliases": [ |
"aliases": [ |
||
Line 673: | Line 710: | ||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
" |
"website": { |
||
"label": " |
"label": "Name of the website", |
||
"description": "Title (name) of the website (or its short URL if no plain-language title is discernible); may be wikilinked; will display in italics. Having both 'publisher' and ' |
"description": "Title (name) of the website (or its short URL if no plain-language title is discernible); may be wikilinked; will display in italics. Having both 'publisher' and 'website' is redundant in many cases.", |
||
"type": "string", |
"type": "string", |
||
"aliases": [ |
"aliases": [ |
||
Line 685: | Line 722: | ||
"publisher": { |
"publisher": { |
||
"label": "Publisher", |
"label": "Publisher", |
||
"description": "Name of the publisher; may be wikilinked. Having both 'publisher' and ' |
"description": "Name of the publisher; may be wikilinked. Having both 'publisher' and 'website' (a.k.a. 'work') is redundant in many cases.", |
||
"type": "string", |
"type": "string", |
||
"example": "\"CBS Interactive\", which owns \"Metacritic.com\"" |
"example": "\"CBS Interactive\", which owns \"Metacritic.com\"" |
||
Line 768: | Line 805: | ||
"year": { |
"year": { |
||
"label": "Year of publication", |
"label": "Year of publication", |
||
"description": "Year of the source being referenced; |
"description": "Year of the source being referenced; deprecated in favor of 'date', except for the special case of ISO dates with CITEREF in CS2 or Harvard citations", |
||
"type": "string" |
"type": "string" |
||
}, |
}, |
||
Line 847: | Line 884: | ||
"language": { |
"language": { |
||
"label": "Language", |
"label": "Language", |
||
"description": "The language in which the source is written, if not English; use the full language name; do not use icons or templates", |
"description": "The language in which the source is written, if not English; use the full language name or one of the standard MediaWiki language codes; do not use icons or templates; separate multiple languages with commas (with no 'and' before the last one)", |
||
"type": "string", |
"type": "string", |
||
"aliases": [ |
"aliases": [ |
||
"lang" |
"lang" |
||
] |
], |
||
"example": "de, fr, es" |
|||
}, |
}, |
||
"script-title": { |
"script-title": { |
||
Line 861: | Line 899: | ||
"label": "Translated title", |
"label": "Translated title", |
||
"description": "An English language title, if the source cited is in a foreign language; 'language' is recommended", |
"description": "An English language title, if the source cited is in a foreign language; 'language' is recommended", |
||
"type": "string" |
"type": "string" |
||
"aliases": [ |
|||
"trans_title" |
|||
] |
|||
}, |
}, |
||
"type": { |
"type": { |
||
Line 1,006: | Line 1,041: | ||
], |
], |
||
"description": "Date when the original URL was archived; do not wikilink", |
"description": "Date when the original URL was archived; do not wikilink", |
||
"type": " |
"type": "date", |
||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
" |
"archive-format": { |
||
"label": " |
"label": "Archive format", |
||
"description": "Format of the archived copy; examples: PDF, DOC, XLS; do not specify HTML", |
|||
"aliases": [ |
|||
"type": "string" |
|||
], |
|||
"description": "If set to 'no', the title display is adjusted; useful for when the URL is archived preemptively but still live", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
}, |
||
"quote": { |
"quote": { |
||
Line 1,221: | Line 1,252: | ||
"display-authors": { |
"display-authors": { |
||
"label": "Display authors", |
"label": "Display authors", |
||
"description": "Number of authors to display before 'et al.' is used |
"description": "Number of authors to display before 'et al.' is used. By default, all authors are displayed. Examples: |display-authors=2 will display only the first two authors in a citation followed by et al. |display-authors=etal displays all authors in the list followed by et al.", |
||
"type": " |
"type": "string", |
||
"default": "8", |
|||
"aliases": [ |
"aliases": [ |
||
"displayauthors" |
"displayauthors" |
||
] |
] |
||
}, |
}, |
||
" |
"last-author-amp": { |
||
"label": "Last author ampersand", |
"label": "Last author ampersand", |
||
"description": "When set to any value, changes the separator between the last two names of the author list to 'space ampersand space'", |
"description": "When set to any value, changes the separator between the last two names of the author list to 'space ampersand space'", |
||
"type": "string" |
"type": "string", |
||
"aliases": [ |
|||
"lastauthoramp" |
|||
] |
|||
}, |
}, |
||
"editor2-last": { |
"editor2-last": { |
||
Line 1,411: | Line 1,444: | ||
"subscription": { |
"subscription": { |
||
"label": "Subscription required", |
"label": "Subscription required", |
||
"description": "Use 'url-access' instead", |
|||
"description": "When set to yes, displays “(subscription required)” to indicate an online source that requires subscription", |
|||
"type": "string" |
"type": "string", |
||
"deprecated": true |
|||
}, |
}, |
||
"registration": { |
"registration": { |
||
"label": "Registration required", |
"label": "Registration required", |
||
"description": "Use 'url-access' instead", |
|||
"description": "When set to yes, displays “(registration required)” to indicate an online source that requires registration", |
|||
"type": "string" |
"type": "string", |
||
"deprecated": true |
|||
}, |
}, |
||
"edition": { |
"edition": { |
||
Line 1,474: | Line 1,509: | ||
"example": "\"GitHub\", which hosts \"Visual Studio Code\" on behalf of \"Microsoft\"", |
"example": "\"GitHub\", which hosts \"Visual Studio Code\" on behalf of \"Microsoft\"", |
||
"type": "string" |
"type": "string" |
||
}, |
|||
"url-status": { |
|||
"label": "URL status", |
|||
"description": "If set to 'live', the title display is adjusted; useful for when the URL is archived preemptively but still live. Set to \"dead\" or 'usurped' for broken links. Entering 'unfit' or 'usurped' makes the original link not appear at all.", |
|||
"example": "'dead' or 'live'", |
|||
"type": "string", |
|||
"default": "'dead' if an Archive URL is entered", |
|||
"autovalue": "live", |
|||
"suggested": true |
|||
} |
} |
||
}, |
}, |
||
"maps": { |
"maps": { |
||
"proveit": { |
|||
"main": "title", |
|||
"textarea": [ |
|||
"quote" |
|||
] |
|||
}, |
|||
"citoid": { |
"citoid": { |
||
"title": "title", |
"title": "title", |
||
"url": "url", |
"url": "url", |
||
"subject": "title", |
"subject": "title", |
||
" |
"publicationTitle": "website", |
||
" |
"blogTitle": "website", |
||
" |
"forumTitle": "website", |
||
" |
"seriesTitle": "website", |
||
" |
"websiteTitle": "website", |
||
"websiteTitle": "work", |
|||
"publisher": "publisher", |
"publisher": "publisher", |
||
"date": "date", |
"date": "date", |
||
Line 1,600: | Line 1,637: | ||
"editor2-first", |
"editor2-first", |
||
"editor2-link", |
"editor2-link", |
||
" |
"website", |
||
"series", |
"series", |
||
"publisher", |
"publisher", |
||
Line 1,642: | Line 1,679: | ||
"id", |
"id", |
||
"url-access", |
"url-access", |
||
"url-status", |
|||
"archive-url", |
"archive-url", |
||
"archive-date", |
"archive-date", |
||
" |
"archive-format", |
||
"access-date", |
"access-date", |
||
"quote", |
"quote", |
||
Line 1,680: | Line 1,718: | ||
"author-separator", |
"author-separator", |
||
"display-authors", |
"display-authors", |
||
" |
"last-author-amp", |
||
"editor3-last", |
"editor3-last", |
||
"editor3-first", |
"editor3-first", |
Latest revision as of 19:33, 5 November 2020
Template:Documentation subpage Template:AWB standard installation Template:Lua Template:Infobox
This Citation Style 1 template is used to create citations for web sources that are not characterized by another CS1 template.
Usage
Copy a blank version to use. All parameter names must be in lowercase. Use the "|" (pipe) character between each parameter. Delete unused parameters to avoid clutter in the edit window. Some samples may include the current date. If the date is not current, then Template:Purge the page.
For references with author credit
For references without author credit
|