Difference between revisions of "Template:Cite web"
Jump to navigation
Jump to search
Line 32: | Line 32: | ||
}}{{#if: {{{last|}}}{{{author|}}} | }}{{#if: {{{last|}}}{{{author|}}} | ||
| . }}{{#if: {{{archiveurl|}}} | | . }}{{#if: {{{archiveurl|}}} | ||
− | | {{#if: {{{archiveurl | + | | {{#if: {{{archiveurl|}}} | [{{{archiveurl}}}] }}}} |
| {{#if: {{{url|}}} | [{{{url}}}] }}}} | | {{#if: {{{url|}}} | [{{{url}}}] }}}} | ||
}}{{#if: {{{language|}}} |  (in {{{language}}}) | }}{{#if: {{{language|}}} |  (in {{{language}}}) |
Revision as of 00:33, 11 September 2013
- This template documentation is transcluded from Template:Cite web/doc [edit]
This template is used to cite sources in Wikiquote. It is specifically for web sites which are not news sources. This template replaces deprecated wikipedia:template:web reference. It provides lower case parameters only.
Usage
- Vertical format
{{cite web | url = | title = | archiveurl = | archivedate = }}
- Horizontal format
{{cite web |url= |title= |archiveurl= |archivedate= }}
Required parameters
- url: URL of online item.
- title: Title of online item.
Optional parameters
- archiveurl: URL of the archive location of the item (requires archivedate)
- archivedate: Date when the item was archived (requires archiveurl), in ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17. Must not be wikilinked; it will be linked automatically.
See also
- Wikipedia:Cite sources: Style guide
- Wikipedia:Template messages/Sources of articles/Generic citations: Related templates
- Wikipedia:WikiProject Wikicite
- Wikipedia:Template:Cite news
- Wikipedia:Template:Cite book
Examples
- Some standard use cases
{{cite web | title=My Favorite Things Part II | url=http://www.example.com/ }}
→ Error on call to Template:cite web: Parameter url must be specified
| [1]}}
}}
{{cite web | title=My Favorite Things Part II | url=http://www.example.com/ }}
→ Error on call to Template:cite web: Parameter url must be specified
| [2]}}
}}
{{cite web | title=My Favorite Things Part II | url=http://www.example.com/ }}
→ Error on call to Template:cite web: Parameter url must be specified
| [3]}}
}}
{{cite web | title=My Favorite Things Part II | url=http://www.example.com/ }}
→ Error on call to Template:cite web: Parameter url must be specified
| [4]}}
}}
{{cite web | title=My Favorite Things Part II | url=http://www.example.com/ }}
→ Error on call to Template:cite web: Parameter url must be specified
| [5]}}
}}
{{cite web | url=http://www.nfl.com/fans/ | title=Digest of Rules }}
→ Error on call to Template:cite web: Parameter url must be specified
| [6]}}
}}
- No parameters
{{cite web}}
→ Error on call to Template:cite web: Parameter url must be specified
| }}
}}
- accessdate in ISO YYYY-MM-DD format
{{cite web | title=My Favorite Things Part II | url=http://www.example.com/ }}
→ Error on call to Template:cite web: Parameter url must be specified
| [7]}}
}}. Encyclopedia of Things
{{cite web | title=My Favorite Things Part II | date=2005-04-30 | url=http://www.example.com/ | accessdate=2005-07-06 }}
→ Error on call to Template:cite web: Parameter url must be specified
| [8]}}
}} (2005-04-30)
{{cite web | title=My Favorite Things Part II | date=2005-04-30 | url=http://www.example.com/ | accessdate=2005-07-06 | language=English }}
→ Error on call to Template:cite web: Parameter url must be specified
| [9]}}
}} (in English) (2005-04-30)
{{cite web | title=List of psychotropic substances under international control | date=2005-04-30 | url=http://www.incb.org/pdf/e/list/green.pdf | format = PDF | accessdate=2005-07-06 | language=English }}
→ Error on call to Template:cite web: Parameter url must be specified
| [10]}}
}} (in English) (PDF) (2005-04-30)
- Using archiveurl and archivedate to refer to items that went away but are available from an archive site
{{cite web | title=List of psychotropic substances under international control | date=2005-04-30 | url=http://www.incb.org/pdf/e/list/green.pdf | format = PDF | accessdate=2005-07-06 | language=English | archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf | archivedate=2005-09-11 }}
→ Error on call to Template:cite web: Parameter url must be specifiedError on call to template:cite web: Parameter archiveurl must be specified or omitted[11]
| [12]}}
}} (in English) (PDF) (2005-04-30)
{{cite web |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm |title=Interview with Maggie Downs |date=2006-03-31 |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=2006-04-26 }} }}
→ Error on call to Template:cite web: Parameter url must be specifiedError on call to template:cite web: Parameter archiveurl must be specified or omitted[13]
| [14]}}
}}. The Desert Sun (2006-03-31)