Template:Cite web/doc: Difference between revisions
imported>Coffeeandcrumbs (now required) |
imported>Coffeeandcrumbs (update) |
||
Line 31: | Line 31: | ||
{{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= |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= |archive-url= |archive-date= | |
:<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= |archive-url= |archive-date= |url-status= |access-date= |via= |quote= |ref= |postscript= |subscription= |registration=}}</nowiki></code> |
||
{{end}} |
{{end}} |
||
{{csdoc|usage vertical}} |
{{csdoc|usage vertical}} |
||
Line 38: | Line 38: | ||
|url= |
|url= |
||
|url-access= |
|url-access= |
||
|url-status= |
|||
|title= |
|title= |
||
|last= |
|last= |
||
Line 90: | Line 91: | ||
|archive-url= |
|archive-url= |
||
|archive-date= |
|archive-date= |
||
|dead-url= |
|||
|access-date= |
|access-date= |
||
|via= |
|via= |
||
Line 495: | Line 495: | ||
}} |
}} |
||
===Using "archive-url" and "archive-date" (and optionally " |
===Using "archive-url" and "archive-date" (and optionally "url-status") for webpages that have been archived {{anchor|archive-url}}=== |
||
<div style="width:auto; overflow:scroll">By default |
<div style="width:auto; overflow:scroll">By default, {{para|url-status|dead}} and the main link is to the archive: |
||
{{markup2| |
{{markup2| |
||
|m=<nowiki>{{cite web |
|m=<nowiki>{{cite web |
||
Line 516: | Line 516: | ||
}} |
}} |
||
</div> |
</div> |
||
<div style="width:auto; overflow:scroll">With |
<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 525: | Line 525: | ||
|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 |
||
| |
|url-status=live}}</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 533: | Line 533: | ||
|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 |
||
| |
|url-status=live}} |
||
}} |
}} |
||
</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>{{Cite web |
|m=<nowiki>{{Cite web |
||
Line 543: | Line 543: | ||
|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 | |
| archive-url=https://www.webcitation.org/5yo0HaAk7 |archive-date=19 May 2011 |url-status=unfit}}</nowiki> |
||
|r={{Cite web |
|r={{Cite web |
||
|url=http://www.wunderground.com/global/stations/03772.html |
|url=http://www.wunderground.com/global/stations/03772.html |
||
Line 549: | Line 549: | ||
|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 | |
| archive-url=https://www.webcitation.org/5yo0HaAk7 |archive-date=19 May 2011 |url-status=unfit}} |
||
}} |
}} |
||
</div> |
</div> |
||
Line 672: | Line 672: | ||
}, |
}, |
||
"website": { |
"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 'website' is redundant in many cases.", |
"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", |
||
Line 705: | Line 705: | ||
], |
], |
||
"type": "line", |
"type": "line", |
||
"suggested": true |
"suggested": true, |
||
"autovalue": "" |
|||
}, |
}, |
||
"first": { |
"first": { |
||
Line 1,005: | Line 1,006: | ||
], |
], |
||
"description": "Date when the original URL was archived; do not wikilink", |
"description": "Date when the original URL was archived; do not wikilink", |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"aliases": [ |
|||
"deadurl" |
|||
], |
|||
⚫ | |||
"type": "string", |
"type": "string", |
||
"suggested": true |
"suggested": true |
||
Line 1,472: | Line 1,464: | ||
"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" |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"example": "'dead' or 'live'", |
|||
⚫ | |||
"default": "dead", |
|||
"autovalue": "live", |
|||
⚫ | |||
} |
} |
||
}, |
}, |
||
Line 1,639: | Line 1,640: | ||
"id", |
"id", |
||
"url-access", |
"url-access", |
||
"url-status", |
|||
"archive-url", |
"archive-url", |
||
"archive-date", |
"archive-date", |
||
"dead-url", |
|||
"access-date", |
"access-date", |
||
"quote", |
"quote", |
Revision as of 01:53, 4 September 2019
Template:Documentation subpage Template:High-risk 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
|