Difference between revisions of "Template:Cite web"
Jump to navigation
Jump to search
m (template) |
(Wikispecies) |
||
| Line 1: | Line 1: | ||
| − | + | {{ | |
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} | #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: {{{archiveurl|}}}{{{archivedate|}}} | ||
| {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}} | | {{#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: {{{author|}}}{{{last|}}} | ||
| Line 22: | Line 24: | ||
}}{{#if: {{{author|}}}{{{last|}}}| | }}{{#if: {{{author|}}}{{{last|}}}| | ||
{{#if: {{{date|}}} | {{#if: {{{date|}}} | ||
| − | |  ({{# | + | |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|{{{date}}}|{{{date}}}}}) |
| {{#if: {{{year|}}} | | {{#if: {{{year|}}} | ||
| {{#if: {{{month|}}} | | {{#if: {{{month|}}} | ||
| Line 30: | Line 32: | ||
}} | }} | ||
|}} | |}} | ||
| − | }}{{#if: {{{last|}}}{{{author|}}} | + | }}{{#if: {{{last|}}}{{{author|}}} |
| − | | . }}{{#if: {{{archiveurl|}}} | + | | . }}{{ |
| + | #if: {{{editor|}}} | ||
| + | |  {{{editor}}}: | ||
| + | }}{{#if: {{{curly|}}}|“| | ||
| + | }}{{#if: {{{archiveurl|}}} | ||
| {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}} | | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}} | ||
| {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}} | | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}} | ||
| − | }}{{#if: {{{ | + | }}{{#if: {{{curly|}}}|”| |
| − | + | }}{{#if: {{{format|}}} |  ({{{format}}}) | |
| − | }}{{#if: {{{ | + | }}{{#if:{{{language|}}} |
| − | }}{{#if: {{{ | + | |  (in {{{language}}}) |
| − | |  ({{{ | ||
}}{{#if: {{{work|}}} | }}{{#if: {{{work|}}} | ||
| . ''{{{work}}}'' | | . ''{{{work}}}'' | ||
}}{{#if: {{{pages|}}} | }}{{#if: {{{pages|}}} | ||
|  {{{pages}}} | |  {{{pages}}} | ||
| − | }}{{#if: {{{publisher| | + | }}{{#if: {{{publisher|}}} |
| − | | . {{{publisher | + | | . {{{publisher}}}{{#if: {{{author|}}}{{{last|}}} |
| | | | ||
| {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }} | | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }} | ||
| Line 50: | Line 55: | ||
}}{{#if: {{{author|}}}{{{last|}}} | }}{{#if: {{{author|}}}{{{last|}}} | ||
||{{#if: {{{date|}}} | ||{{#if: {{{date|}}} | ||
| − | |  ({{# | + | |  ({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|{{{date}}}|{{#ifeq:{{#time:Y-m-d|{{{date}}}}}|1970-01-01|{{{date}}}|{{{date}}}}}}}) |
| {{#if: {{{year|}}} | | {{#if: {{{year|}}} | ||
| {{#if: {{{month|}}} | | {{#if: {{{month|}}} | ||
| Line 59: | Line 64: | ||
}} | }} | ||
}}.{{#if: {{{archivedate|}}} | }}.{{#if: {{{archivedate|}}} | ||
| − | |  Archived from [{{{url}}} the original] on {{# | + | |  Archived from [{{{url}}} the original] on {{{archivedate}}}. |
| + | }}{{#if: {{{doi|}}} | ||
| + | |  doi:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]. | ||
}}{{#if: {{{accessdate|}}} | }}{{#if: {{{accessdate|}}} | ||
|  Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}. | |  Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}. | ||
}}{{#if: {{{accessmonthday|}}} | }}{{#if: {{{accessmonthday|}}} | ||
| − | |  Retrieved on {{{accessmonthday}}}, {{{accessyear}}}. | + | |  Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}. |
| − | }} | + | }}{{#if: {{{accessdaymonth|}}} |
| − | {{Wikimedia documentation|site= | + | |  Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} |  {{{accessyear}}} }}. |
| − | </noinclude> | + | }}{{#if: {{{quote|}}} |
| + | | “{{{quote}}}” | ||
| + | }}<noinclude> | ||
| + | {{Wikimedia documentation|site=Wikispecies}}</noinclude> | ||
Revision as of 22:55, 17 May 2018
You must specify title = and url = when using {{cite web}}.. This template is adapted from Wikispecies. See the corresponding page there for documentation.