|
|
| (85 intermediate revisions by 40 users not shown) |
| Line 1: |
Line 1: |
| <cite style="font-style:normal;"><includeonly>{{
| | <includeonly>{{Citation/core |
| #if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
| | |Citation class=web |
| ||Error on call to [[template:cite web]]: Parameters '''url''' and '''title''' must be specified
| | |Surname1 = {{#if:{{{last|}}} |
| }}{{ | | |{{{last}}} |
| #if: {{{archiveurl|}}}{{{archivedate|}}} | | |{{#if:{{{last1|}}} |
| | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}} | | |{{{last1}}} |
| ||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted
| | |{{{author|}}} |
| }} | | }} |
| }}</includeonly>{{#if: {{{author|{{{last|}}}}}}
| | }} |
| | {{#if: {{{authorlink|}}} | | |Surname2 = {{#if:{{{last2|}}}|{{{last2}}}|{{{coauthors|}}}}} |
| | [[{{{authorlink}}}|{{#if: {{{last|}}}
| | |Surname3 = {{{last3|}}} |
| | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
| | |Surname4 = {{{last4|}}} |
| | {{{author}}}
| | |Surname5 = {{{last5|}}} |
| }}]]
| | |Surname6 = {{{last6|}}} |
| | {{#if: {{{last|}}}
| | |Surname7 = {{{last7|}}} |
| | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
| | |Surname8 = {{{last8|}}} |
| | {{{author}}}
| | |Surname9 = {{{last9|}}} |
| }}
| | |Given1 = {{#if:{{{first|}}}|{{{first}}}|{{{first1|}}}}} |
| }} | | |Given2 = {{{first2|}}} |
| }}{{#if: {{{author|{{{last|}}}}}}
| | |Given3 = {{{first3|}}} |
| | {{#if: {{{coauthors|}}}| <nowiki>;</nowiki> {{{coauthors}}} }} | | |Given4 = {{{first4|}}} |
| }}{{#if: {{{author|}}}{{{last|}}}|
| | |Given5 = {{{first5|}}} |
| {{#if: {{{date|}}}
| | |Given6 = {{{first6|}}} |
| |  ({{{date}}})
| | |Given7 = {{{first7|}}} |
| | {{#if: {{{year|}}}
| | |Given8 = {{{first8|}}} |
| | {{#if: {{{month|}}}
| | |Given9 = {{{first9|}}} |
| |  ({{{month}}} {{{year}}})
| | |Authorlink1 = {{#if:{{{authorlink|}}}|{{{authorlink}}}|{{{authorlink1|}}}}} |
| |  ({{{year}}})
| | |Authorlink2 = {{{authorlink2|}}} |
| }}
| | |Authorlink3 = {{{authorlink3|}}} |
| }}
| | |Authorlink4 = {{{authorlink4|}}} |
| |}} | | |Authorlink5 = {{{authorlink5|}}} |
| }}{{#if: {{{last|}}}{{{author|}}}
| | |Authorlink6 = {{{authorlink6|}}} |
| | . }}{{#if: {{{archiveurl|}}}
| | |Authorlink7 = {{{authorlink7|}}} |
| | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
| | |Authorlink8 = {{{authorlink8|}}} |
| | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
| | |Authorlink9 = {{{authorlink9|}}} |
| }}{{#if: {{{language|}}} |  (in {{{language}}})
| | |Year={{#if:{{{year|}}}|{{{year}}} <!-- attempt to derive year from date, if possible --> |
| }}.{{#if: {{{format|}}}
| | |{{#if: {{{date|}}} |
| |  ({{{format|}}})
| | |{{#iferror: {{#time:Y|{{{date|}}} }} |
| }}{{#if: {{{work|}}} | | |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}} |
| |  ''{{{work}}}''.
| | |{{#time:Y|{{{date|}}} }} |
| }}{{#if: {{{pages|}}} | | }} |
| |  pp. {{{pages}}} | | |{{{publication-date|}}} <!-- last resort --> |
| }}{{#if: {{{publisher|}}}
| | }} |
| |  ''{{{publisher}}}''{{#if: {{{author|}}}{{{last|}}}
| | }} |
| | .
| | |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}} |
| | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} | : | . }}
| | |Title={{{work|}}} |
| }}
| | |At = {{#if:{{{page|}}}|{{{page}}}|{{{pages|}}}}} |
| }}{{#if: {{{author|}}}{{{last|}}} | | |IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|<span class="error">Error: no {{para|title}} specified when using {{tl|cite web}}</span>{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}|<span class="error">Error: no {{para|url}} specified when using {{tl|cite web}}</span>{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}} |
| ||{{#if: {{{date|}}}
| | |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}} |
| |  ({{{date}}}).
| | |Place = {{{location|}}} |
| | {{#if: {{{year|}}}
| | |Publisher = {{{publisher|}}} |
| | {{#if: {{{month|}}}
| | |language = {{{language|}}} |
| |  ({{{month}}} {{{year}}}).
| | |format = {{{format|}}} |
| |  ({{{year}}}).
| | |DOI={{{doi|{{{DOI|}}}}}} |
| | |AccessDate={{#if:{{{accessdate|}}}|{{{accessdate}}}|{{ |
| | #if:{{{accessdaymonth|}}}|{{{accessdaymonth}}} {{{accessyear|}}}|{{ |
| | #if:{{{accessmonthday|}}}|{{{accessmonthday}}} {{{accessyear|}}}| |
| | {{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}} |
| }} | | }} |
| }} | | }} |
| }}
| | }} |
| }}{{#if: {{{archivedate|}}}
| | |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}} |
| |  archived from [{{{url}}} the original] on [[{{{archivedate}}}]] | | |quote = {{{quote|}}} |
| }}{{#if: {{{accessdate|}}}
| | |Ref={{{ref|}}} |
| |  Retrieved on [[{{{accessdate}}}]]{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}. | | |Sep = {{{separator|{{{seperator|.}}}}}} |
| }}{{#if: {{{accessmonthday|}}} | | |PS={{#if:{{{quote|}}}||.}} |
| |  Retrieved on {{{accessmonthday}}}, {{{accessyear}}}.
| | |OriginalURL = {{#if:{{{archiveurl|}}}|{{{url|}}}}} |
| }}</cite><noinclude>
| | |ArchiveDate= {{{archivedate|}}} |
| __NOTOC__
| | }}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}|[[Category:Cite web templates using unusual accessdate parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude> |
| This template is used to [[WP:CITE|cite sources]] in Wikipedia. It is specifically for web sites which are not news sources. This template replaces deprecated [[template:web reference]]. It provides lower case parameters only.
| | {{pp-template}} |
| | | {{documentation}} |
| == Usage ==
| |
| <pre>{{cite web
| |
| | url =
| |
| | title =
| |
| | accessdate =
| |
| | accessmonthday =
| |
| | accessyear =
| |
| | author =
| |
| | last =
| |
| | first =
| |
| | authorlink =
| |
| | coauthors =
| |
| | date =
| |
| | year =
| |
| | month =
| |
| | format =
| |
| | work =
| |
| | publisher =
| |
| | pages =
| |
| | language =
| |
| | archiveurl =
| |
| | archivedate =
| |
| }}</pre> | |
| <tt><nowiki>{{cite web|url= |title= |accessdate= |accessmonthday= |accessyear= |author= |last= |first= |authorlink= |coauthors= |date= |year= |month= |format= |work= |publisher= |pages= |language= |archiveurl= |archivedate=}}</nowiki></tt>
| |
| | |
| === Required parameters ===
| |
| * '''url''': URL of online item.
| |
| * '''title''': Title of online item.
| |
| * One of the two date format parameters:
| |
| ** '''accessdate''': Full date when item was accessed, in [[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 ===
| |
| * '''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 article
| |
| ** '''coauthors''': allows additional authors
| |
| * '''date''': Full date of publication, preferably in [[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''')
| |
| * '''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.
| |
| | |
| __NOEDITSECTION__
| |
| {{esoteric}} | |
| | |
| ==See also==
| |
| * [[Wikipedia:Cite sources]]: Style guide
| |
| * [[Wikipedia:Template messages/Sources of articles/Generic citations]]: Related templates
| |
| * [[Wikipedia:WikiProject Wikicite]]
| |
| * [[Template:Cite news]]
| |
| * [[Template:Cite book]]
| |
| | |
| [[Category:Citation templates|{{PAGENAME}}]]
| |
| [[Category:Templates using ParserFunctions|{{PAGENAME}}]]
| |
| | |
| [[bg:Шаблон:Cite web]]
| |
| [[ja:Template:Cite web]]
| |
| [[it:Template:Cita web]]
| |
| [[no:Mal:Kilde www]]
| |
| [[ru:Шаблон:Cite web]]
| |
| [[vi:Tiêu bản:Chú thích web]]
| |
| [[zh:Template:Cite web]]
| |
| </noinclude> | | </noinclude> |