Difference between revisions of "Template:Cite web"
Jump to navigation
Jump to search
m (1 revision) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{ | ||
− | #if: {{#if: {{{url|}}}}} | + | #if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} |
− | ||Error on call to [[Template:cite web]]: | + | ||Error on call to [[Template:cite web]]: Parameters '''url''' and '''title''' must be specified |
}}{{ | }}{{ | ||
#if: {{{archiveurl|}}}{{{archivedate|}}} | #if: {{{archiveurl|}}}{{{archivedate|}}} | ||
− | | {{#if: {{#if: {{{archiveurl|}}}}} | + | | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}} |
− | ||Error on call to [[template:cite web]]: | + | ||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted |
}} | }} | ||
}}{{#if: {{{author|}}}{{{last|}}} | }}{{#if: {{{author|}}}{{{last|}}} | ||
Line 32: | Line 32: | ||
}}{{#if: {{{last|}}}{{{author|}}} | }}{{#if: {{{last|}}}{{{author|}}} | ||
| . }}{{#if: {{{archiveurl|}}} | | . }}{{#if: {{{archiveurl|}}} | ||
− | | {{#if: {{{archiveurl|}}} | [{{{archiveurl}}}] }}}} | + | | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}} |
− | | {{#if: {{{url|}}} | [{{{url}}}] }}}} | + | | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}} |
}}{{#if: {{{language|}}} |  (in {{{language}}}) | }}{{#if: {{{language|}}} |  (in {{{language}}}) | ||
}}{{#if: {{{format|}}} | }}{{#if: {{{format|}}} |
Latest revision as of 17:45, 16 September 2016
- 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[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)