Editing Template:Cite web/doc
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | <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> | + | <includeonly>:''This template documentation is [[w: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 [[w:WP:CITE|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 == | == Usage == | ||
Line 8: | Line 8: | ||
{{cite web | {{cite web | ||
| url = | | url = | ||
− | | title = | + | | title = |
+ | | accessdate = | ||
+ | | accessmonthday = | ||
+ | | accessyear = | ||
+ | | author = | ||
+ | | last = | ||
+ | | first = | ||
+ | | authorlink = | ||
+ | | coauthors = | ||
+ | | date = | ||
+ | | year = | ||
+ | | month = | ||
+ | | format = | ||
+ | | work = | ||
+ | | publisher = | ||
+ | | pages = | ||
+ | | language = | ||
| archiveurl = | | archiveurl = | ||
| archivedate = | | archivedate = | ||
Line 16: | Line 32: | ||
;Horizontal format | ;Horizontal format | ||
<pre> | <pre> | ||
− | {{cite web |url= |title= |archiveurl= |archivedate= }} | + | {{cite web |url= |title= |accessdate= |accessmonthday= |accessyear= |author= |last= |first= |authorlink= |
+ | |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate= }} | ||
</pre> | </pre> | ||
Line 22: | Line 39: | ||
* '''url''': URL of online item. | * '''url''': URL of online item. | ||
* '''title''': Title of online item. | * '''title''': Title of online item. | ||
+ | * One of the two date format parameters: | ||
+ | ** '''accessdate''': Full date when item was accessed, in [[w:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked; it will be linked automatically. | ||
+ | ** '''accessmonthday''' and '''accessyear''': Month and day when item was accessed, e.g. May 10, and year when item was accessed, e.g. 2005. Will not be wikilinked. | ||
=== Optional parameters === | === Optional parameters === | ||
+ | * '''author''': Author | ||
+ | ** '''last''' works with '''first''' to produce <code>last, first</code> | ||
+ | ** '''authorlink''' works either with '''author''' or with '''last''' & '''first''' to link to the appropriate wikipedia article. Does not work with URLs. | ||
+ | ** '''coauthors''': allows additional authors | ||
+ | * '''date''': Full date of publication, preferably in [[w:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. May be wikilinked. | ||
+ | ** OR: '''year''': Year of publication, and '''month''': Name of the month of publication. If you also have the day, use ''date'' instead. Must not be wikilinked. | ||
+ | * '''format''': Format, e.g. PDF. HTML implied if not specified. | ||
+ | * '''work''': If this item is part of a larger work, name of that work. | ||
+ | * '''publisher''': Publisher, if any. | ||
+ | * '''pages''': Pages, if any, especially if pdf format | ||
+ | * '''language''': language of publication | ||
* '''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 [[w: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 | + | * [[w:Wikipedia:Cite sources]]: Style guide |
− | * [[Wikipedia:Template messages/Sources of articles/Generic citations]]: Related templates | + | * [[w:Wikipedia:Template messages/Sources of articles/Generic citations]]: Related templates |
− | * [[Wikipedia:WikiProject Wikicite]] | + | * [[w:Wikipedia:WikiProject Wikicite]] |
− | * [[ | + | * [[Template:Cite news]] |
− | * [[ | + | * [[Template:Cite book]] |
== Examples == | == Examples == | ||
;Some standard use cases | ;Some standard use cases | ||
− | * | + | * <nowiki>{{cite web |
+ | | author=Doe, John | ||
| title=My Favorite Things Part II | | title=My Favorite Things Part II | ||
+ | | publisher=Open Publishing | ||
+ | | date=[[2005-04-30]] | ||
+ | | work=Encyclopedia of Things | ||
| url=http://www.example.com/ | | url=http://www.example.com/ | ||
− | }}</nowiki | + | | accessdate=2005-07-06 |
+ | }}</nowiki><br/>→ <span style="background:white">{{cite web | author=Doe, John | title=My Favorite Things Part II | publisher=Open Publishing | date=[[2005-04-30]] | work=Encyclopedia of Things | url=http://www.example.com | accessdate=2005-07-06 }}</span> | ||
− | * | + | * <nowiki>{{cite web |
+ | | author=Doe, John | ||
| title=My Favorite Things Part II | | title=My Favorite Things Part II | ||
+ | | date=[[2005-04-30]] | ||
+ | | work=Encyclopedia of Things | ||
| url=http://www.example.com/ | | url=http://www.example.com/ | ||
− | }}</nowiki | + | | accessdate=2005-07-06 |
+ | }}</nowiki><br/>→ <span style="background:white">{{cite web | author=Doe, John | title=My Favorite Things Part II | date=[[2005-04-30]] | work=Encyclopedia of Things | url=http://www.example.com | accessdate=2005-07-06 }}</span> | ||
− | * | + | * <nowiki>{{cite web |
+ | | author=Doe, John | ||
| title=My Favorite Things Part II | | title=My Favorite Things Part II | ||
+ | | date=[[2005-04-30]] | ||
| url=http://www.example.com/ | | url=http://www.example.com/ | ||
− | }}</nowiki | + | | accessdate=2005-07-06 |
+ | }}</nowiki><br/>→ <span style="background:white">{{cite web | author=Doe, John | title=My Favorite Things Part II | date=[[2005-04-30]] | url=http://www.example.com | accessdate=2005-07-06}}</span> | ||
− | * | + | * <nowiki>{{cite web |
+ | | author=Doe, John | ||
| title=My Favorite Things Part II | | title=My Favorite Things Part II | ||
| url=http://www.example.com/ | | url=http://www.example.com/ | ||
− | }}</nowiki | + | | accessdate=2005-07-06 |
+ | }}</nowiki><br/>→ <span style="background:white">{{cite web | author=Doe, John | title=My Favorite Things Part II | url=http://www.example.com | accessdate=2005-07-06}}</span> | ||
− | * | + | * <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 | + | | accessdate=2005-07-06 |
+ | }}</nowiki><br/>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | url=http://www.example.com | accessdate=2005-07-06}}</span> | ||
− | * | + | * <nowiki>{{cite web |
| url=http://www.nfl.com/fans/ | | url=http://www.nfl.com/fans/ | ||
| title=Digest of Rules | | title=Digest of Rules | ||
− | }}</nowiki | + | | publisher= National Football League |
− | | title=Digest of Rules}}</span> | + | | accessdate=2005-07-06 |
+ | }}</nowiki><br>→ <span style="background:white">{{cite web | url=http://www.nfl.com/fans/ | ||
+ | | title=Digest of Rules | publisher= National Football League | accessdate=2005-07-06 }}</span> | ||
;No parameters | ;No parameters | ||
− | * | + | * <nowiki>{{cite web}}</nowiki><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 |
+ | | author=Doe, John | ||
| title=My Favorite Things Part II | | title=My Favorite Things Part II | ||
+ | | publisher=Open Publishing | ||
+ | | date=[[2005-04-30]] | ||
+ | | work=Encyclopedia of Things | ||
| url=http://www.example.com/ | | url=http://www.example.com/ | ||
− | }}</nowiki | + | | accessdate=2005-07-06 |
+ | }}</nowiki></br> → <span style="background:white">{{cite web | author=Doe, John | title=My Favorite Things Part II | publisher=Open Publishing | date=[[2005-04-30]] | work=Encyclopedia of Things | url=http://www.example.com | accessdate=2005-07-06}}</span> | ||
− | * < | + | ;Using format |
− | }}</nowiki | + | * <nowiki>{{cite web |
+ | | 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=2005-07-06 | ||
+ | }}</nowiki></br> → <span style="background:white">{{cite web | ||
+ | | 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=2005-07-06}}</span> | ||
+ | |||
+ | ;language | ||
+ | * <nowiki>{{cite web | ||
+ | | author=Doe, John | ||
+ | | title=My Favorite Things Part II | ||
+ | | publisher=Open Publishing | ||
+ | | date=[[2005-04-30]] | ||
+ | | work=Encyclopedia of Things | ||
+ | | url=http://www.example.com/ | ||
+ | | accessdate=2005-07-06 | ||
+ | | language=English | ||
+ | }}</nowiki></br>→ <span style="background:white">{{cite web | author=Doe, John | title=My Favorite Things Part II | publisher=Open Publishing | date=[[2005-04-30]] | work=Encyclopedia of Things | url=http://www.example.com | accessdate=2005-07-06 | language=English}}</span> | ||
− | * | + | ;coauthors |
− | }}</nowiki | + | * <nowiki>{{cite web | first=John | last=Doe | coauthors=Peter Smith, Jim Smythe | title=My Favorite Things Part II | publisher=Open Publishing | date=[[2005-04-30]] | work=Encyclopedia of Things | url=http://www.example.com/ | accessdate=2006-05-16 |
+ | }}</nowiki></br>→ <span style="background:white">{{cite web | first=John | last=Doe | coauthors=Peter Smith, Jim Smythe | title=My Favorite Things Part II | publisher=Open Publishing | date=[[2005-04-30]] | work=Encyclopedia of Things | url=http://www.example.com/ | accessdate=2006-05-16 }}</span> | ||
− | * < | + | ;No author |
+ | * <nowiki>{{cite web | title=My Favorite Things Part II | publisher=Open Publishing | date=[[2005-04-30]] | work=Encyclopedia of Things | url=http://www.example.com/ | accessdate=2006-05-16 | ||
+ | }}</nowiki></br>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | publisher=Open Publishing | date=[[2005-04-30]] | work=Encyclopedia of Things | url=http://www.example.com/ | accessdate=2006-05-16 }}</span> | ||
+ | |||
+ | ;No author, no publisher | ||
+ | * <nowiki>{{cite web | title=My Favorite Things Part II | date=[[2005-04-30]] | work=Encyclopedia of Things | url=http://www.example.com/ | accessdate=2005-07-06 | ||
+ | }}</nowiki></br>→ <span style="background:white">{{cite web | title=My Favorite Things Part II | date=[[2005-04-30]] | work=Encyclopedia of Things | url=http://www.example.com/ | accessdate=2005-07-06 }}</span> | ||
+ | |||
+ | * <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=[[2005-04-30]] | url=http://www.example.com/ | accessdate=2005-07-06 }}</span> | ||
+ | |||
+ | * <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=[[2005-04-30]] | url=http://www.example.com/ | accessdate=2005-07-06 | language=English }}</span> | ||
+ | |||
+ | * <nowiki>{{cite web | ||
| title=List of psychotropic substances under international control | | title=List of psychotropic substances under international control | ||
− | | date=2005-04-30 | + | | 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 | + | }}</nowiki></br> → <span style="background:white">{{cite web |
− | | title=List of psychotropic substances under international control | date=2005-04-30 | + | | 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 |
| title=List of psychotropic substances under international control | | title=List of psychotropic substances under international control | ||
− | | date=2005-04-30 | + | | 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 193: | ||
| 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 | + | }}</nowiki></br> → <span style="background:white">{{cite web |
| title=List of psychotropic substances under international control | | title=List of psychotropic substances under international control | ||
− | | date=2005-04-30 | + | | 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 203: | ||
| archivedate=2005-09-11 }}</span> | | archivedate=2005-09-11 }}</span> | ||
− | * | + | * <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=2006-03-31 | + | |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 | + | }}</nowiki></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=2006-03-31 | + | |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}}]] | ||
+ | |||
+ | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
+ | [[bg:Шаблон:Цитат уеб]] | ||
+ | [[ja:Template:Cite web]] | ||
+ | [[it:Template:Cita web]] | ||
+ | [[no:Mal:Kilde www]] | ||
+ | [[pl:Szablon:Cytuj stronę]] | ||
+ | [[ru:Шаблон:Cite web]] | ||
+ | [[vi:Tiêu bản:Chú thích web]] | ||
+ | [[zh:Template:Cite web]] | ||
</includeonly> | </includeonly> | ||
<noinclude>[[Category:Citation templates|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Citation templates|{{PAGENAME}}]]</noinclude> |