Difference between revisions of "Template:Cite web"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{ #if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} ||Error on call to Template:cite web: Parameters '''url''' and '''title''' must be specified }}{{ #if...") |
|||
Line 7: | Line 7: | ||
||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted | ||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted | ||
}} | }} | ||
− | }} | + | }}{{#if: {{{author|}}}{{{last|}}} |
+ | | {{#if: {{{authorlink|}}} | ||
+ | | [[{{{authorlink}}}|{{#if: {{{last|}}} | ||
+ | | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }} | ||
+ | | {{{author}}} | ||
+ | }}]] | ||
+ | | {{#if: {{{last|}}} | ||
+ | | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }} | ||
+ | | {{{author}}} | ||
+ | }} | ||
+ | }} | ||
+ | }}{{#if: {{{author|}}}{{{last|}}} | ||
+ | | {{#if: {{{coauthors|}}}| <nowiki>;</nowiki> {{{coauthors}}} }} | ||
+ | }}{{#if: {{{author|}}}{{{last|}}}| | ||
+ | {{#if: {{{date|}}} | ||
+ | |  ({{#formatdate:{{{date}}}}}) | ||
+ | | {{#if: {{{year|}}} | ||
+ | | {{#if: {{{month|}}} | ||
+ | |  ({{{month}}} {{{year}}}) | ||
+ | |  ({{{year}}}) | ||
+ | }} | ||
+ | }} | ||
+ | |}} | ||
+ | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Cite web/doc}} | {{Cite web/doc}} | ||
</noinclude> | </noinclude> |
Revision as of 00:26, 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/ }}
→
}}
{{cite web | title=My Favorite Things Part II | url=http://www.example.com/ }}
→
}}
{{cite web | title=My Favorite Things Part II | url=http://www.example.com/ }}
→
}}
{{cite web | title=My Favorite Things Part II | url=http://www.example.com/ }}
→
}}
{{cite web | title=My Favorite Things Part II | url=http://www.example.com/ }}
→
}}
{{cite web | url=http://www.nfl.com/fans/ | title=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/ }}
→
}}
{{cite web | title=My Favorite Things Part II | date=2005-04-30 | url=http://www.example.com/ | accessdate=2005-07-06 }}
→
}}
{{cite web | title=My Favorite Things Part II | date=2005-04-30 | url=http://www.example.com/ | accessdate=2005-07-06 | language=English }}
→
}}
{{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 }}
→
}}
- 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 }}
→
}}
{{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 }} }}
→
}}