Template:Cite web: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(this will convert date and accessdate from ISO to DMY format)
m (305 revisions imported)
 
(95 intermediate revisions by 31 users not shown)
Line 1: Line 1:
<includeonly>{{
<includeonly>{{#invoke:citation/CS1|citation
|CitationClass=web
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
||You must specify '''''title = ''''' and '''''url = ''''' when using {{[[Template:cite web|cite web]]}}.
{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}
}}{{
#if: {{{archiveurl|}}}{{{archivedate|}}}
| {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
||You must specify '''''archiveurl = ''''' and '''''archivedate = ''''' when using {{[[Template:cite web|cite web]]}}.
{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}
}}
}}{{#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>&#32;{{{coauthors}}} }}
}}{{#if: {{{author|}}}{{{last|}}}|
{{#if: {{{date|}}}
| &#32;({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|{{#time:j F Y|{{{date}}}}}|{{{date}}}}})
| {{#if: {{{year|}}}
| {{#if: {{{month|}}}
| &#32;({{{month}}} {{{year}}})
| &#32;({{{year}}})
}}
}}
|}}
}}{{#if: {{{last|}}}{{{author|}}}
| .&#32;}}{{
#if: {{{editor|}}}
| &#32;{{{editor}}}:
}}"{{#if: {{{archiveurl|}}}
| {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
| {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
}}"{{#if: {{{format|}}} | &#32;({{{format}}})
}}{{#if:{{{language|}}}
| &#32;(in {{{language}}})
}}{{#if: {{{work|}}}
| .&#32;''{{{work}}}''
}}{{#if: {{{pages|}}}
| &#32;{{{pages}}}
}}{{#if: {{{publisher|}}}
| .&#32; {{#if: {{{location|}}}
| {{{location}}}:&#32;
}} {{{publisher}}}{{#if: {{{author|}}}{{{last|}}}
|
| {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }}
}}
}}{{#if: {{{author|}}}{{{last|}}}
||{{#if: {{{date|}}}
| &#32;({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|{{#time:j F Y|{{{date}}}}}|{{{date}}}}})
| {{#if: {{{year|}}}
| {{#if: {{{month|}}}
| &#32;({{{month}}} {{{year}}})
| &#32;({{{year}}})
}}
}}
}}
}}.{{#if: {{{archivedate|}}}
| &#32;Archived from [{{{url}}} the original] on {{{archivedate}}}.
}}{{#if: {{{doi|}}}
| &#32;[[Digital object identifier|doi]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}].
}}{{#if: {{{accessdate|}}}
| &#32;Retrieved on {{#ifeq:{{#time:Y-m-d|{{{accessdate}}}}}|{{{accessdate}}}|{{#time:j F Y|{{{accessdate}}}}}|{{{accessdate}}}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
}}{{#if: {{{accessmonthday|}}}
| &#32;Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
}}{{#if: {{{accessdaymonth|}}}
| &#32;Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} | &#32;{{{accessyear}}} }}.
}}{{#if: {{{quote|}}}
| &nbsp;"{{{quote}}}"
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}

{{En-WP attribution notice|Template:Cite web}}
{{pp-template|small=yes}}
{{Documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Latest revision as of 20:02, 31 May 2021

Wikipedia logo This template uses material from the Wikipedia template Template:Cite web, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors).