Template:Cite web: Difference between revisions
m 1 revision |
(No difference)
|
Revision as of 15:47, 21 January 2013
| This template is used on 4,800,000+ pages, or roughly 39696% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
| This template is used by the standard installation of AutoWikiBrowser (AWB). If you are planning to make changes to this template, how it should be used, or nominate it for deletion, please notify AWB's user base and maintainers beforehand at Wikipedia talk:AWB as a courtesy. |
| This template uses Lua: |
| {{Cite arXiv}} | arXiv preprint |
|---|---|
| {{Cite AV media}} | audio and visual |
| {{Cite AV media notes}} | audio and visual liner notes |
| {{Cite book}} | books |
| {{Cite conference}} | conference papers |
| {{Cite DVD notes}} | DVD liner notes |
| {{Cite encyclopedia}} | edited collections |
| {{Cite episode}} | radio or television episodes |
| {{Cite interview}} | interviews |
| {{Cite journal}} | magazines, journals, academic papers |
| {{Cite mailing list}} | public mailing lists |
| {{Cite map}} | maps |
| {{Cite news}} | news articles |
| {{Cite newsgroup}} | online newsgroups |
| {{Cite podcast}} | audio or video podcast |
| {{Cite press release}} | press releases |
| {{Cite serial}} | audio or video serials |
| {{Cite sign}} | signs, plaques |
| {{Cite speech}} | speeches |
| {{Cite techreport}} | technical reports |
| {{Cite thesis}} | theses |
| {{Cite web}} | web sources |
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 the page.
|
For references with author credit
For references without author credit
|
|
| Vertical list | Prerequisites | Brief instructions / notes |
|---|---|---|
{{cite web
| url =
| title =
| last1 =
| first1 =
| authorlink1 =
| last2 =
| first2 =
| authorlink2 =
| date =
| year =
| editor-last =
| editor-first =
| editor =
| editor-link =
| editor1-last =
| editor1-first =
| editor1-link =
| editor2-last =
| editor2-first =
| editor2-link =
| editors =
| website =
| series =
| publisher =
| location =
| page =
| pages =
| at =
| language =
| trans_title =
| type =
| format =
| arxiv =
| asin =
| bibcode =
| doi =
| doi_brokendate=
| isbn =
| issn =
| jfm =
| jstor =
| lccn =
| mr =
| oclc =
| ol =
| osti =
| pmc =
| pmid =
| rfc =
| ssrn =
| zbl =
| id =
| archive-url =
| archive-date =
| deadurl =
| accessdate =
| quote =
| ref =
| separator =
| postscript =
| subscription =
| registration =
}}
|
| url= | archive-url= | archive-url= | url= |
|
- If a field name is listed in the Prerequisites column it is a prerequisite for the field to the left.
{{cite web
| url =
| title =
| last =
| first =
| date =
| website =
| publisher =
| accessdate =
}}
|
Examples
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |date=30 April 2005 |website=Encyclopedia of Things |accessdate=11 February 2026}}
- Doe, John (30 April 2005). "My Favorite Things, Part II". Open Publishing. http://www.example.org/. Retrieved 11 February 2026.
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |date=30 April 2005 |website=Encyclopedia of Things |accessdate=11 February 2026}}
- Doe, John (30 April 2005). "My Favorite Things, Part II". http://www.example.org/. Retrieved 11 February 2026.
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |date=30 April 2005 |accessdate=11 February 2026}}
- Doe, John (30 April 2005). "My Favorite Things, Part II". http://www.example.org/. Retrieved 11 February 2026.
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |accessdate=11 February 2026}}
- Doe, John. "My Favorite Things, Part II". http://www.example.org/. Retrieved 11 February 2026.
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |accessdate=11 February 2026}}
- "My Favorite Things, Part II". http://www.example.org/. Retrieved 11 February 2026.
{{cite web |url=http://www.nfl.com/rulebook/digestofrules |title=Digest of Rules |publisher=National Football League |accessdate=11 February 2026}}
- "Digest of Rules". National Football League. http://www.nfl.com/rulebook/digestofrules. Retrieved 11 February 2026.
- Using format
{{cite web |url=http://www.indiapost.gov.in/Pdf/Customs/List_of_Psychotropic_Substances.pdf |title=List of psychotropic substances under international control |publisher=International Narcotics Control Board |format=PDF |accessdate=11 February 2026}}
- "List of psychotropic substances under international control" (PDF). International Narcotics Control Board. http://www.indiapost.gov.in/Pdf/Customs/List_of_Psychotropic_Substances.pdf. Retrieved 11 February 2026.
- Foreign language and translated title
{{cite web |url=http://www.example.org/ |title=Honi soit qui mal y pense |last=Joliet |first=François |date=30 April 2005 |accessdate=11 February 2026 |language=French |trans_title=Shame on those who think evil}}
- Joliet, François (30 April 2005). "Honi soit qui mal y pense [Shame on those who think evil]" (in French). http://www.example.org/. Retrieved 11 February 2026.
- Using authorlink
{{cite web |url=http://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |authorlink=John Doe |publisher=Open Publishing |date=30 April 2005 |website=Encyclopedia of Things |accessdate=11 February 2026}}
- Doe, John (30 April 2005). "My Favorite Things, Part II". Open Publishing. http://www.example.org/. Retrieved 11 February 2026.
{{cite web |url=http://www.example.org/ |title=Our Favorite Things |last1=Doe |first1=John |last2=Smith |first2=Peter |last3=Smythe |first3=Jim |publisher=Open Publishing |date=30 April 2005 |website=Encyclopedia of Things |accessdate=11 February 2026}}
- Doe, John; Smith, Peter; Smythe, Jim (30 April 2005). "Our Favorite Things". Open Publishing. http://www.example.org/. Retrieved 11 February 2026.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |publisher=Open Publishing |date=30 April 2005 |website=Encyclopedia of Things |accessdate=11 February 2026}}
- "Index of Sharp Things". Open Publishing. 30 April 2005. http://www.example.org/. Retrieved 11 February 2026.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |website=Encyclopedia of Things |accessdate=11 February 2026}}
- "Index of Sharp Things". 30 April 2005. http://www.example.org/. Retrieved 11 February 2026.
{{cite web |url=http://www.example.org/ |title=Index of Sharp Things |date=30 April 2005 |accessdate=11 February 2026}}
- "Index of Sharp Things". 30 April 2005. http://www.example.org/. Retrieved 11 February 2026.
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=11 February 2026 |language=Greek}}
- "List of psychotropic substances under international control" (in Greek) (PDF). 30 April 2005. http://www.incb.org/pdf/e/list/green.pdf. Retrieved 11 February 2026.
- Using "archiveurl" and "archivedate" (and optionally "deadurl") for webpages that have been archived
{{cite web |url=http://www.incb.org/pdf/e/list/green.pdf |title=List of psychotropic substances under international control |date=30 April 2005 |format=PDF |accessdate=11 February 2026 |archiveurl=http://web.archive.org/web/20050907150136/http://www.incb.org/pdf/e/list/green.pdf |archivedate=7 September 2005}}
- "List of psychotropic substances under international control" (PDF). 30 April 2005. Archived from the original on 7 September 2005. http://web.archive.org/web/20050907150136/http://www.incb.org/pdf/e/list/green.pdf. Retrieved 11 February 2026.
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=31 March 2006 |publisher=The Desert Sun |archiveurl=http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm |archivedate=26 April 2006 |deadurl=no}}
- "Interview with Maggie Downs". The Desert Sun. 31 March 2006. Archived from the original on 26 April 2006. http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm.
{{Cite web |url=http://www.wunderground.com/global/stations/03772.html |title=London, United Kingdom Forecast : Weather Underground (weather and elevation at Heathrow Airport) |publisher=The Weather Underground, Inc. |accessdate=11 February 2026 | archiveurl=http://www.webcitation.org/5yo0HaAk7 |archivedate=19 May 2011| deadurl=no}}
- "London, United Kingdom Forecast : Weather Underground (weather and elevation at Heathrow Airport)". The Weather Underground, Inc.. Archived from the original on 19 May 2011. http://www.wunderground.com/global/stations/03772.html. Retrieved 11 February 2026.
- Using quote
{{cite web |url=http://www.webexhibits.org/daylightsaving/c.html |title=Daylight saving time: rationale and original idea |website=WebExhibits |year=2008 |accessdate=11 February 2026 |quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...'}}
- "Daylight saving time: rationale and original idea". 2008. http://www.webexhibits.org/daylightsaving/c.html. Retrieved 11 February 2026. "... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...'"
Parameters
Syntax
Nested parameters rely on their parent parameters:
- parent
- OR: parent2—may be used instead of parent
- child—may be used with parent (and is ignored if parent is not used)
- OR: child2—may be used instead of child (and is ignored if parent2 is not used)
- Where aliases are listed, only one of the parameters may be defined; if multiple aliased parameters are defined, then only one will show.
By default, sets of fields are terminated with a period (.). This can be an issue when the last field uses an abbreviation or initial that ends with a period, as then two periods will display (..). The only solution is to not include the last period in the value for the set of fields.
COinS