Template:Cite web/doc: Difference between revisions
| [unchecked revision] | [checked revision] |
Content deleted Content added
Caleb Cooper (talk | contribs) m 1 revision imported |
Caleb Cooper (talk | contribs) No edit summary Tags: Manual revert 2017 source edit |
||
| (3 intermediate revisions by the same user not shown) | |||
Line 5:
{{csdoc|lua}}
{{csdoc|cs1}}
{{csdoc|lead|web sources that are not characterized by another [[Help:Citation Style 1|CS1]] template. Do not use this template in the "[[WP:ELCITE|External links]]" section of articles}}
==Usage==
Line 11:
{{csdoc|usage common}}
For references with author credit
:<
For references without author credit
:<
{{end}}
{{csdoc|usage vertical common}}
<!-- Please synchronize this list with the corresponding one at the overview page [[Wikipedia:Citation templates#Examples]] -->
{{tj|cite web▼
▲{{cite web
▲ |url=
▲ |title=
▲ |last=
▲ |first=
▲ |date=
▲ |website=
▲ |publisher=
▲ |access-date=
}}
▲ |quote=}}
{{end}}
{{csdoc|usage full}}
:<
{{end}}
{{csdoc|usage vertical}}
<pre style="margin:0px; border:none; white-space:pre;">
{{cite web
</pre>
{{csdoc|usage vertical mid}}
Line 152 ⟶ 151:
url
url, archive-url
url, archive-date
archive-url
Line 231 ⟶ 230:
{{csdoc|usage vertical end}}
===Choosing between [[Template:cite web]] and [[Template:cite news]]<span class="anchor" id="Consistency"></span>===
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.
Line 245 ⟶ 244:
-->
{|
| '''cite web''': || {{cite web |url=
|-
| '''cite news''': || {{cite news |url=
|}
Line 253 ⟶ 252:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=My Favorite Things, Part II
|last=Doe
Line 262 ⟶ 261:
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=My Favorite Things, Part II
|last=Doe
Line 273 ⟶ 272:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=My Favorite Things, Part II
|last=Doe
Line 281 ⟶ 280:
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=My Favorite Things, Part II
|last=Doe
Line 291 ⟶ 290:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=My Favorite Things, Part II
|last=Doe
Line 298 ⟶ 297:
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=My Favorite Things, Part II
|last=Doe
Line 307 ⟶ 306:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=My Favorite Things, Part II
|last=Doe
Line 313 ⟶ 312:
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=My Favorite Things, Part II
|last=Doe
Line 321 ⟶ 320:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=My Favorite Things, Part II
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=My Favorite Things, Part II
|access-date={{date|{{date}}|iso}}}}
Line 349 ⟶ 348:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=List of psychotropic substances under international control
|publisher=International Narcotics Control Board
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=List of psychotropic substances under international control
|publisher=International Narcotics Control Board
Line 361 ⟶ 360:
</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 (but no PDF icon).
<div style="width:auto; overflow:scroll">
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=Some PDF Document
|publisher=Sample Int'l
Line 371 ⟶ 370:
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=Some PDF Document
|publisher=Sample Int'l
Line 379 ⟶ 378:
</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=
|title=Some ODT Document
|publisher=Sample Int'l
Line 389 ⟶ 388:
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=Some ODT Document
|publisher=Sample Int'l
Line 400 ⟶ 399:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=Honi soit qui mal y pense
|last=Joliet
Line 409 ⟶ 408:
|trans-title=Shame on those who think evil of it}}</nowiki>
|r={{cite web
|url=
|title=Honi soit qui mal y pense
|last=Joliet
Line 422 ⟶ 421:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=My Favorite Things, Part II
|last=Doe
Line 432 ⟶ 431:
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=My Favorite Things, Part II
|last=Doe
Line 446 ⟶ 445:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=Our Favourite Things
|last1=Doe
Line 459 ⟶ 458:
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=Our Favourite Things
|last1=Doe
Line 476 ⟶ 475:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=Index of Sharp Things
|publisher=Open Publishing
Line 483 ⟶ 482:
|access-date=</nowiki>{{date|{{date}}|iso}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=Index of Sharp Things
|publisher=Open Publishing
Line 494 ⟶ 493:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=Index of Sharp Things
|date=30 April 2005
Line 500 ⟶ 499:
|access-date=</nowiki>{{date}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=Index of Sharp Things
|date=30 April 2005
Line 508 ⟶ 507:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=Index of Sharp Things
|date=April 30, 2005
|access-date=</nowiki>{{date|{{date}}|mdy}}<nowiki>}}</nowiki>
|r={{cite web
|url=
|title=Index of Sharp Things
|date=April 30, 2005
Line 520 ⟶ 519:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=List of psychotropic substances under international control
|date=2005-04-30
Line 526 ⟶ 525:
|language=el}}</nowiki>
|r={{cite web
|url=
|title=List of psychotropic substances under international control
|date=2005-04-30
Line 533 ⟶ 532:
}}
===Using "archive-url" and "archive-date" (and optionally "url-status") for webpages that have been archived<span
<div style="width:auto; overflow:scroll">By default, if "archive-url" is used, the parameter {{para|url-status|dead}} is assumed and the resulting main link is to the
{{markup2|
|m=<nowiki>{{cite web
Line 554 ⟶ 553:
}}
</div>
<div style="width:auto; overflow:scroll">
{{markup2|
|m=<nowiki>{{cite web
Line 597 ⟶ 596:
{{markup2|
|m=<nowiki>{{cite web
|url=
|title=Daylight saving time: rationale and original idea
|website=WebExhibits
Line 604 ⟶ 603:
|quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...'}}</nowiki>
|r={{cite web
|url=
|title=Daylight saving time: rationale and original idea
|website=WebExhibits
Line 652 ⟶ 651:
{{csdoc|pages}}
====URL<span class="anchor" id="url"></span>====
{{csdoc|url}}
====Access-date<span class="anchor" id="access-date"></span>====
See {{slink||url}}.
<!-- does not exist: {{csdoc|Access-date}} -->
====Anchor====
{{distinguish|#Identifiers}}
{{csdoc|ref}}
====Identifiers====
{{distinguish|#Anchor}}
{{csdoc|id1}}
{{csdoc|id2}}
Line 667 ⟶ 672:
====Editors====
{{csdoc|editor}}
====Display options====
Line 688 ⟶ 689:
"url": {
"label": "URL",
"description": "The URL of the online location where the text of the publication can be found. Requires schemes of the type \"
"type": "url",
"aliases": [
Line 712 ⟶ 713:
"description": "The full date when the original URL was accessed; do not wikilink",
"type": "date",
"suggested": true,
"aliases": [
"accessdate"
]▼
},
"website": {
Line 728 ⟶ 732:
"description": "Name of the publisher; may be wikilinked. Having both 'publisher' and 'website' (a.k.a. 'work') is redundant in many cases.",
"type": "string",
"example": "[[
},
"last": {
Line 772 ⟶ 776:
"subject-link",
"subject-link1",
"subject1-link",
"authorlink"
]
},
Line 839 ⟶ 844:
"label": "Series identifier",
"description": "Series identifier when the source is part of a series, such as a book series or a journal",
"type": "string"▼
},▼
"location": {▼
"type": "string"
},
Line 879:
"language": {
"label": "Language",
"description": "The language in which the source is written, if not English; use
"type": "string",
"aliases": [
Line 888:
"script-title": {
"label": "Script title",
"description": "For titles in languages that do not use a Latin-based alphabet (Arabic, Chinese, Cyrillic, Greek, Hebrew, Japanese, Korean
"type": "string"
},
Line 1,027:
"type": "url",
"suggested": true,
"autovalue": "",
"aliases": [
"archiveurl"
]
},
"archive-date": {
Line 1,033 ⟶ 1,036:
"description": "Date when the original URL was archived; do not wikilink",
"type": "date",
"suggested": true,
"aliases": [
"archivedate"
]
},
"archive-format": {
Line 1,043 ⟶ 1,049:
"label": "Quote",
"description": "Relevant text quoted from the source; displays last, enclosed in quotes; must include terminating punctuation",
▲ "type": "string"
▲ },
"trans-quote": {
"label": "Translated quote",
"description": "English translation of the quotation if the source quoted is in a foreign language. Displays in square brackets.",
"type": "string"
},
Line 1,189 ⟶ 1,201:
"last9": {
"label": "Last name 9",
"description": "The surname of the ninth author; don't wikilink, use 'author-link9'
"type": "line",
"aliases": [
Line 1,369 ⟶ 1,381:
"edition": {
"label": "Edition",
"type": "
"description": "Specify the edition or revision of the source, when applicable. For example: '2nd' or '5.1'. What you supply here is suffixed by ' ed.'",
"example": "2nd"
},
"url-access": {
Line 1,420 ⟶ 1,433:
"authors": {
"label": "Authors list",
"description": "List of authors as a free form list.
"type": "string",
"
"host"▼
▲ ]
},
"via": {
Line 1,444 ⟶ 1,454:
"live",
"usurped",
"unfit",
]
},
"label": "Agency",
"description": "The news agency (wire service) that provided the content; examples: Associated Press, Reuters, Agence France-Presse",
"type": "string"
},
"place": {
"label": "Place",
"description": "For news stories with a dateline, the location where the story was written; will be treated as the publication place if publication place is absent; alias of 'location'",
"type": "string"
}
},
Line 1,623 ⟶ 1,644:
"series",
"publisher",
"
"page",
"pages",
Line 1,658 ⟶ 1,679:
"id",
"quote",
"trans-quote",
"ref",
"postscript",
Line 1,666 ⟶ 1,688:
"jstor-access",
"ol-access",
"osti-access",
"agency"
],
"format": "{{_ |_=_}}"
Line 1,673 ⟶ 1,696:
==Notes==
{{Reflist}}
{{Citation Style 1}}
{{Wikipedia referencing}}
| |||