Anonymous user
Template:Cite web/doc: Difference between revisions
Order of parameters fixed according to practical use and theoretical importance in all examples and instructions.
imported>Debresser m (m using AWB) |
imported>Debresser (Order of parameters fixed according to practical use and theoretical importance in all examples and instructions.) |
||
Line 12:
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single {{para|author|<var>authors</var>}} parameter, using any format. Also shown below are three separate date formats that are commonly used in Wikipedia:
;YYYY-MM-DD: <code><nowiki>{{Cite web |
;Day Month Year: <code><nowiki>{{Cite web |
;Month Day, Year: <code><nowiki>{{Cite web |
=== Common forms with last1, first1; last2, first2 ===
Line 22:
The examples below will suffice for up to two authors each with first and last names; for more, just create more parameters in a similar style:
;YYYY-MM-DD: <code><nowiki>{{Cite web |last1= |
;Day Month Year: <code><nowiki>{{Cite web |url= |title= |last1= |first1= |last2= |first2= |date
;Month Day, Year: <code><nowiki>{{Cite web |url= |title= |last1= |first1= |last2= |first2= |date
=== All parameters ===
Line 32:
When copying all parameters in either the vertical or horizontal layouts, delete those which are not needed.
;All parameters, horizontal layout: <code><nowiki>{{Cite web |
;All parameters, vertical layout:
<pre>
{{Cite web
| url =▼
| title =▼
| first =
| last =
Line 45 ⟶ 47:
| month =
| year =
▲| title =
| work =
| publisher =
Line 55 ⟶ 56:
| format =
| doi =
▲| url =
| accessdate =▼
| archiveurl =
| archivedate =
▲| accessdate =
| quote =
| ref =
Line 68:
==== Required parameters ====
*'''title''': Title of online item. This title will appear as the citation itself, hyperlinked to the URL.▼
*'''url''': URL of online item. Start the url with the communications protocol, e.g. <nowiki>http://</nowiki>.
▲*'''title''': Title of online item. This title will appear as the citation itself, hyperlinked to the URL.
==== Optional parameters ====
Line 106:
;Some standard use cases
*<code><nowiki>{{Cite web
|url=http://www.example.org/▼
|author=Doe, John▼
|title=My Favorite Things, Part II
▲|author=Doe, John
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of Things
▲|url=http://www.example.org/
|accessdate=6 July 2005
}}</nowiki></code><br/>→ <span style="background:white">{{Cite web
|url=http://www.example.org/▼
|author=Doe, John▼
|title=My Favorite Things, Part II
▲|author=Doe, John
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of Things
▲|url=http://www.example.org/
|accessdate=6 July 2005
}}</span>
*<code><nowiki>{{Cite web
|url=http://www.example.org/▼
|author=Doe, John▼
|title=My Favorite Things, Part II
▲|author=Doe, John
|date=30 April 2005
|work=Encyclopedia of things
▲|url=http://www.example.org/
|accessdate=6 July 2005
}}</nowiki></code><br/>→ <span style="background:white">{{Cite web
|url=http://www.example.org/▼
|title=My Favorite Things, Part II▼
|author=Doe, John
▲|title=My Favorite Things, Part II
|date=30 April 2005
|work=Encyclopedia of Things
▲|url=http://www.example.org/
|accessdate=6 July 2005
}}</span>
*<code><nowiki>{{Cite web
|url=http://www.example.org/▼
|title=My Favorite Things, Part II▼
|author=Doe, John
▲|title=My Favorite Things, Part II
|date=30 April 2005
▲|url=http://www.example.org/
|accessdate=6 July 2005
}}</nowiki></code><br/>→ <span style="background:white">{{Cite web
|url=http://www.example.org/▼
|title=My Favorite Things, Part II▼
|author=Doe, John
▲|title=My Favorite Things, Part II
|date=30 April 2005
▲|url=http://www.example.org/
|accessdate=6 July 2005
}}</span>
*<code><nowiki>{{Cite web
||url=http://www.example.org/▼
|author=Doe, John▼
|title=My Favorite Things, Part II
author=Doe, John
▲|url=http://www.example.org/
|accessdate=6 July 2005
}}</nowiki></code><br/>→ <span style="background:white">{{Cite web
▲|author=Doe, John
|title=My Favorite Things, Part II▼
|url=http://www.example.org/
▲|title=My Favorite Things, Part II
▲|author=Doe, John
|accessdate=6 July 2005
}}</span>
*<code><nowiki>{{Cite web
|title=My Favorite Things, Part II▼
|url=http://www.example.org/
▲|title=My Favorite Things, Part II
|accessdate=6 July 2005
}}</nowiki></code><br/>→ <span style="background:white">{{Cite web
|title=My Favorite Things, Part II▼
|url=http://www.example.org/
▲|title=My Favorite Things, Part II
|accessdate=6 July 2005
}}</span>
Line 189:
;Using format
*<code><nowiki>{{Cite web
|url=http://www.incb.org/pdf/e/list/green.pdf▼
|title=List of psychotropic substances under international control
|publisher=International Narcotics Control Board
▲|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|accessdate=July 6, 2005
}}</nowiki></code><br/> → <span style="background:white">{{Cite web
|url=http://www.incb.org/pdf/e/list/green.pdf▼
|title=List of psychotropic substances under international control
|publisher=International Narcotics Control Board
▲|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|accessdate=July 6, 2005
Line 204:
;Foreign language and translated title
*<code><nowiki>{{Cite web
|url=http://www.example.org/▼
|author=Joliet, François▼
|title=Honni soit qui mal y pense
▲|author=Joliet, François
|date=30 April 2005
▲|url=http://www.example.org/
|accessdate=6 July 2005
|language=French
|trans_title=Shame on those who think evil
}}</nowiki></code><br/>→ <span style="background:white">{{Cite web
|url=http://www.example.org/▼
|author=Joliet, François▼
|title=Honni soit qui mal y pense
▲|author=Joliet, François
|date=30 April 2005
▲|url=http://www.example.org/
|accessdate=6 July 2005
|language=French
Line 223:
;coauthors
*<code><nowiki>{{Cite web
|url=http://www.example.org/▼
|title=Our Favorite Things▼
|first=John
|last=Doe
|coauthors=Smith, Peter; Smythe, Jim
▲|title=Our Favorite Things
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of Things
▲|url=http://www.example.org/
|accessdate=16 May 2006
}}</nowiki></code><br/>→ <span style="background:white">{{Cite web
|url=http://www.example.org/▼
|title=Our Favorite Things▼
|first=John
|last=Doe
|coauthors=Smith, Peter; Smythe, Jim
▲|title=Our Favorite Things
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of Things
▲|url=http://www.example.org/
|accessdate=16 May 2006
}}</span>
*<code><nowiki>{{Cite web
|url=http://www.example.org/▼
|title=Our Favorite Things▼
|first=John
|last=Doe
|coauthors=Peter Smith; Jim Smythe
▲|title=Our Favorite Things
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of Things
▲|url=http://www.example.org/
|accessdate=16 May 2006
}}</nowiki></code><br/>→ <span style="background:white">{{Cite web
|url=http://www.example.org/▼
|title=Our Favorite Things▼
|first=John
|last=Doe
|coauthors=Peter Smith; Jim Smythe
▲|title=Our Favorite Things
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of Things
▲|url=http://www.example.org/
|accessdate=16 May 2006
}}</span>
Line 268:
;No author
*<code><nowiki>{{Cite web
|url=http://www.example.org/▼
|title=Index of Sharp Things
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of Things
|
}}</nowiki></code><br/>→ <span style="background:white">{{Cite web
|url=http://www.example.org/▼
|title=Index of Sharp Things
|publisher=Open Publishing
|date=30 April 2005
|work=Encyclopedia of Things
|
}}</span>
Line 284 ⟶ 286:
This abbreviated format should only be used when the editor cannot determine the publisher and author.
*<code><nowiki>{{Cite web
|url=http://www.example.org/▼
|title=Index of Sharp Things
|date=30 April 2005
|work=Encyclopedia of Things
▲|url=http://www.example.org/
|accessdate=6 July 2005
}}</nowiki></code></br>→ <span style="background:white">{{Cite web
|title=Index of Sharp Things
|date=30 April 2005
|work=Encyclopedia of Things
▲|url=http://www.example.org/
|accessdate=6 July 2005
}}</span>
*<code><nowiki>{{Cite web
|title=Index of Sharp Things
|date=30 April 2005
|accessdate=6 July 2005}}</nowiki></code><br/>→ <span style="background:white">{{Cite web▼
|url=http://www.example.org/
▲|accessdate=6 July 2005}}</nowiki></code><br/>→ <span style="background:white">{{Cite web
▲|title=Index of Sharp Things
|date=30 April 2005
▲|url=http://www.example.org/
|accessdate=6 July 2005}}</span>
*<code><nowiki>{{Cite web
|url=http://www.incb.org/pdf/e/list/green.pdf▼
|title=List of psychotropic substances under international control
|date=30 April 2005
▲|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|accessdate=July 6, 2005
|language=Greek
}}</nowiki></code><br/> → <span style="background:white">{{Cite web
|url=http://www.incb.org/pdf/e/list/green.pdf▼
|title=List of psychotropic substances under international control
|date=30 April 2005
▲|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|accessdate=July 6, 2005
Line 325 ⟶ 327:
;Using "archiveurl" and "archivedate" for webpages that have been archived
*<code><nowiki>{{Cite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
|date=30 April 2005
▲|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|accessdate=July 6, 2005
Line 333 ⟶ 335:
|archivedate=2005-09-11
}}</nowiki></code><br/> → <span style="background:white">{{Cite web
|url=http://www.incb.org/pdf/e/list/green.pdf
|title=List of psychotropic substances under international control
|date=30 April 2005
▲|url=http://www.incb.org/pdf/e/list/green.pdf
|format=PDF
|accessdate=July 6, 2005
Line 361 ⟶ 363:
*<code><nowiki>{{Cite web
|url=http://www.webexhibits.org/daylightsaving/c.html
|title=Daylight saving time: rationale and original idea▼
|work=WebExhibits
|date=2008
|accessdate=2009-09-27
▲|title=Daylight saving time: rationale and original idea
|quote=...&nbsp;Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins&nbsp;...'
}}</nowiki></code><br/>→ <span style="background:white">{{Cite web
|url=http://www.webexhibits.org/daylightsaving/c.html
|title=Daylight saving time: rationale and original idea▼
|work=WebExhibits
|date=2008
|accessdate=2009-09-27
▲|title=Daylight saving time: rationale and original idea
|quote=... Lord Balfour came forward with a unique concern: 'Supposing some unfortunate lady was confined with twins ...'
}}</span>
|