Difference between revisions of "Template:Cite web/doc"
Jump to navigation
Jump to search
(Created page with "<includeonly>:''This template documentation is transcluded from [[{{FULLPAGENAME}}/doc]]'' [<span class="plainlinks">[{{fullurl:{{FUL...") |
|||
Line 8: | Line 8: | ||
{{cite web | {{cite web | ||
| url = | | url = | ||
− | | title | + | | title = |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| archiveurl = | | archiveurl = | ||
| archivedate = | | archivedate = | ||
Line 32: | Line 16: | ||
;Horizontal format | ;Horizontal format | ||
<pre> | <pre> | ||
− | {{cite web |url= |title | + | {{cite web |url= |title= |archiveurl= |archivedate= }} |
− | |||
</pre> | </pre> | ||
Line 39: | Line 22: | ||
* '''url''': URL of online item. | * '''url''': URL of online item. | ||
* '''title''': Title of online item. | * '''title''': Title of online item. | ||
− | |||
− | |||
− | |||
=== Optional parameters === | === Optional parameters === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* '''archiveurl''': URL of the archive location of the item (requires '''archivedate''') | * '''archiveurl''': URL of the archive location of the item (requires '''archivedate''') | ||
* '''archivedate''': Date when the item was archived (requires '''archiveurl'''), in [[w:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked; it will be linked automatically. | * '''archivedate''': Date when the item was archived (requires '''archiveurl'''), in [[w:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked; it will be linked automatically. | ||
Line 68: | Line 37: | ||
;Some standard use cases | ;Some standard use cases | ||
* <nowiki>{{cite web | * <nowiki>{{cite web | ||
− | |||
| title=My Favorite Things Part II | | title=My Favorite Things Part II | ||
− | |||
− | |||
− | |||
| url=http://www.example.com/ | | url=http://www.example.com/ | ||
− | + | }}</nowiki><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.com }}</span> | |
− | }}</nowiki><br/>→ <span style="background:white">{{cite web | ||
* <nowiki>{{cite web | * <nowiki>{{cite web | ||
− | |||
| title=My Favorite Things Part II | | title=My Favorite Things Part II | ||
− | |||
− | |||
| url=http://www.example.com/ | | url=http://www.example.com/ | ||
− | + | }}</nowiki><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.com }}</span> | |
− | }}</nowiki><br/>→ <span style="background:white">{{cite web | ||
* <nowiki>{{cite web | * <nowiki>{{cite web | ||
− | |||
| title=My Favorite Things Part II | | title=My Favorite Things Part II | ||
− | |||
| url=http://www.example.com/ | | url=http://www.example.com/ | ||
− | + | }}</nowiki><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.com}}</span> | |
− | }}</nowiki><br/>→ <span style="background:white">{{cite web | ||
* <nowiki>{{cite web | * <nowiki>{{cite web | ||
− | |||
| title=My Favorite Things Part II | | title=My Favorite Things Part II | ||
| url=http://www.example.com/ | | url=http://www.example.com/ | ||
− | + | }}</nowiki><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.com}}</span> | |
− | }}</nowiki><br/>→ <span style="background:white">{{cite web | ||
* <nowiki>{{cite web | * <nowiki>{{cite web | ||
| title=My Favorite Things Part II | | title=My Favorite Things Part II | ||
| url=http://www.example.com/ | | url=http://www.example.com/ | ||
− | + | }}</nowiki><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.com}}</span> | |
− | }}</nowiki><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.com | ||
* <nowiki>{{cite web | * <nowiki>{{cite web | ||
| url=http://www.nfl.com/fans/ | | url=http://www.nfl.com/fans/ | ||
| title=Digest of Rules | | title=Digest of Rules | ||
− | |||
− | |||
}}</nowiki><br>→ <span style="background:white">{{cite web | url=http://www.nfl.com/fans/ | }}</nowiki><br>→ <span style="background:white">{{cite web | url=http://www.nfl.com/fans/ | ||
− | | title=Digest of Rules | + | | title=Digest of Rules}}</span> |
;No parameters | ;No parameters | ||
Line 120: | Line 72: | ||
;accessdate in ISO YYYY-MM-DD format | ;accessdate in ISO YYYY-MM-DD format | ||
* <nowiki>{{cite web | * <nowiki>{{cite web | ||
− | |||
| title=My Favorite Things Part II | | title=My Favorite Things Part II | ||
− | |||
− | |||
− | |||
| url=http://www.example.com/ | | url=http://www.example.com/ | ||
− | + | }}</nowiki></br> → <span style="background:white">{{cite web | title=My Favorite Things Part II | work=Encyclopedia of Things | url=http://www.example.com }}</span> | |
− | }}</nowiki></br> → <span style="background:white">{{cite web | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* <nowiki>{{cite web | title=My Favorite Things Part II | date=[[2005-04-30]] | url=http://www.example.com/ | accessdate=2005-07-06 | * <nowiki>{{cite web | title=My Favorite Things Part II | date=[[2005-04-30]] | url=http://www.example.com/ | accessdate=2005-07-06 |
Revision as of 00:44, 11 September 2013
This template is used to cite sources in Wikiquote. It is specifically for web sites which are not news sources. This template replaces deprecated w: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
- w:Wikipedia:Cite sources: Style guide
- w:Wikipedia:Template messages/Sources of articles/Generic citations: Related templates
- w:Wikipedia:WikiProject Wikicite
- Template:Cite news
- Template:Cite book
Examples
- Some standard use cases
- {{cite web
| title=My Favorite Things Part II
| url=http://www.example.com/
}}
→ My Favorite Things Part II
- {{cite web
| title=My Favorite Things Part II
| url=http://www.example.com/
}}
→ My Favorite Things Part II
- {{cite web
| title=My Favorite Things Part II
| url=http://www.example.com/
}}
→ My Favorite Things Part II
- {{cite web
| title=My Favorite Things Part II
| url=http://www.example.com/
}}
→ My Favorite Things Part II
- {{cite web
| title=My Favorite Things Part II
| url=http://www.example.com/
}}
→ My Favorite Things Part II
- {{cite web
| url=http://www.nfl.com/fans/
| title=Digest of Rules
}}
→ Digest of Rules
- No parameters
- {{cite web}}
→ Error on call to Template:cite web: Parameters url and title must be specified
- accessdate in ISO YYYY-MM-DD format
- {{cite web
| title=My Favorite Things Part II
| url=http://www.example.com/
}}
→ My Favorite Things Part II. Encyclopedia of Things
- {{cite web | title=My Favorite Things Part II | date=[[2005-04-30]] | url=http://www.example.com/ | accessdate=2005-07-06
}}
→ My Favorite Things Part II (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
}}
→ My Favorite Things Part II (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
}}
→ List of psychotropic substances under international control (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
}}
→ List of psychotropic substances under international control (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
}}
}}
→ Interview with Maggie Downs. The Desert Sun (2006-03-31)