Difference between revisions of "Template:Cite web/doc"
Jump to navigation
Jump to search
(Fix dates and improve formatting) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>:''This template documentation is [[ | + | <includeonly>:''This template documentation is [[Wikipedia:Template doc page pattern|transcluded]] from [[{{FULLPAGENAME}}/doc]]'' [<span class="plainlinks">[{{fullurl:{{FULLPAGENAMEE}}/doc|action=edit}} edit]</span>]</includeonly> |
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
− | This template is used to [[ | + | This template is used to [[wikipedia:WP:CITE|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 == | == Usage == | ||
Line 25: | Line 25: | ||
=== 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 [[ | + | * '''archivedate''': Date when the item was archived (requires '''archiveurl'''), in [[wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked; it will be linked automatically. |
==See also== | ==See also== | ||
− | * [[ | + | * [[Wikipedia:Cite sources]]: Style guide |
− | * [[ | + | * [[Wikipedia:Template messages/Sources of articles/Generic citations]]: Related templates |
− | * [[ | + | * [[Wikipedia:WikiProject Wikicite]] |
− | * [[Template:Cite news]] | + | * [[Wikipedia:Template:Cite news]] |
− | * [[Template:Cite book]] | + | * [[Wikipedia:Template:Cite book]] |
== Examples == | == Examples == | ||
;Some standard use cases | ;Some standard use cases | ||
− | * <nowiki>{{cite web | + | * <code><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></code><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.com }}</span> |
− | * <nowiki>{{cite web | + | * <code><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></code><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.com }}</span> |
− | * <nowiki>{{cite web | + | * <code><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></code><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.com}}</span> |
− | * <nowiki>{{cite web | + | * <code><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></code><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.com}}</span> |
− | * <nowiki>{{cite web | + | * <code><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></code><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.com}}</span> |
− | * <nowiki>{{cite web | + | * <code><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></code><br>→ <span style="background:white">{{cite web | url=http://www.nfl.com/fans/ |
| title=Digest of Rules}}</span> | | title=Digest of Rules}}</span> | ||
;No parameters | ;No parameters | ||
− | * <nowiki>{{cite web}}</nowiki><br/>→ <span style="background:white">{{cite web}}</span> | + | * <code><nowiki>{{cite web}}</nowiki></code><br/>→ <span style="background:white">{{cite web}}</span> |
;accessdate in ISO YYYY-MM-DD format | ;accessdate in ISO YYYY-MM-DD format | ||
− | * <nowiki>{{cite web | + | * <code><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></code></br> → <span style="background:white">{{cite web | title=My Favorite Things Part II | work=Encyclopedia of Things | url=http://www.example.com }}</span> |
− | * <nowiki>{{cite web | title=My Favorite Things Part II | date= | + | * <code><nowiki>{{cite web | title=My Favorite Things Part II | date=2005-04-30 | url=http://www.example.com/ | accessdate=2005-07-06 |
− | }}</nowiki></br>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | date= | + | }}</nowiki></code></br>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | date=2005-04-30 | url=http://www.example.com/ | accessdate=2005-07-06 }}</span> |
− | * <nowiki>{{cite web | title=My Favorite Things Part II | date= | + | * <code><nowiki>{{cite web | title=My Favorite Things Part II | date=2005-04-30 | url=http://www.example.com/ | accessdate=2005-07-06 | language=English |
− | }}</nowiki></br>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | date= | + | }}</nowiki></code></br>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | date=2005-04-30 | url=http://www.example.com/ | accessdate=2005-07-06 | language=English }}</span> |
− | * <nowiki>{{cite web | + | * <code><nowiki>{{cite web |
| title=List of psychotropic substances under international control | | title=List of psychotropic substances under international control | ||
− | | date= | + | | date=2005-04-30 |
| url=http://www.incb.org/pdf/e/list/green.pdf | | url=http://www.incb.org/pdf/e/list/green.pdf | ||
| format = PDF | | format = PDF | ||
| accessdate=2005-07-06 | | accessdate=2005-07-06 | ||
| language=English | | language=English | ||
− | }}</nowiki></br> → <span style="background:white">{{cite web | + | }}</nowiki></code></br> → <span style="background:white">{{cite web |
− | | title=List of psychotropic substances under international control | date= | + | | 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 | | url=http://www.incb.org/pdf/e/list/green.pdf | format = PDF | accessdate=2005-07-06 | ||
| language=English }}</span> | | language=English }}</span> | ||
; Using archiveurl and archivedate to refer to items that went away but are available from an archive site | ; Using archiveurl and archivedate to refer to items that went away but are available from an archive site | ||
− | * <nowiki>{{cite web | + | * <code><nowiki>{{cite web |
| title=List of psychotropic substances under international control | | title=List of psychotropic substances under international control | ||
− | | date= | + | | date=2005-04-30 |
| url=http://www.incb.org/pdf/e/list/green.pdf | | url=http://www.incb.org/pdf/e/list/green.pdf | ||
| format = PDF | | format = PDF | ||
Line 104: | Line 104: | ||
| archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf | | archiveurl=http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf | ||
| archivedate=2005-09-11 | | archivedate=2005-09-11 | ||
− | }}</nowiki></br> → <span style="background:white">{{cite web | + | }}</nowiki></code></br> → <span style="background:white">{{cite web |
| title=List of psychotropic substances under international control | | title=List of psychotropic substances under international control | ||
− | | date= | + | | date=2005-04-30 |
| url=http://www.incb.org/pdf/e/list/green.pdf | | url=http://www.incb.org/pdf/e/list/green.pdf | ||
| format = PDF | | format = PDF | ||
Line 114: | Line 114: | ||
| archivedate=2005-09-11 }}</span> | | archivedate=2005-09-11 }}</span> | ||
− | * <nowiki> | + | * <code><nowiki> |
{{cite web | {{cite web | ||
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm | |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm | ||
|title=Interview with Maggie Downs | |title=Interview with Maggie Downs | ||
− | |date= | + | |date=2006-03-31 |
|publisher=The Desert Sun | |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 | |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 | |archivedate=2006-04-26 | ||
}} | }} | ||
− | }}</nowiki></br> → <span style="background:white">{{cite web | + | }}</nowiki></code></br> → <span style="background:white">{{cite web |
|url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm | |url=http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm | ||
|title=Interview with Maggie Downs | |title=Interview with Maggie Downs | ||
− | |date= | + | |date=2006-03-31 |
|publisher=The Desert Sun | |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 | |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}}</span> | |archivedate=2006-04-26}}</span> | ||
− | |||
− | |||
<includeonly> | <includeonly> | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Citation templates|{{PAGENAME}}]] | [[Category:Citation templates|{{PAGENAME}}]] | ||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]] | [[Category:Templates using ParserFunctions|{{PAGENAME}}]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</includeonly> | </includeonly> | ||
<noinclude>[[Category:Citation templates|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Citation templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 02:18, 16 March 2024
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[edit]
- Vertical format
{{cite web | url = | title = | archiveurl = | archivedate = }}
- Horizontal format
{{cite web |url= |title= |archiveurl= |archivedate= }}
Required parameters[edit]
- url: URL of online item.
- title: Title of online item.
Optional parameters[edit]
- 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[edit]
- 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[edit]
- 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)