8,856
editsAd placeholder
Template:Cite web: Difference between revisions
Jump to navigation
Jump to search
no edit summary
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#tag:ref|{{#if: {{{work}}} | {{{work}}}: | }} {{#if: {{{author}}} | {{{author}}} {{#if: {{{date}}} | ({{{date}}}). | . }} | }} [{{{url}}} {{{title}}}]{{#if: {{{pdf}}} | (PDF) | . }} {{#if: {{{publisher}}} | ''{{{publisher}}}''. | }} {{#if: {{{accessdate}}} | Retrived {{{accessdate}}}. | }} {{#if: {{{archiveurl}}} | [{{{archiveurl}}} Archived] from the original{{#if: {{{archivedate}}} | on {{{archivedate}}}. | . }} | }}}}</includeonly><noinclude>Cite external webpages and optionally add an archived url. URL and title parameters are required. | <includeonly>{{#tag:ref|{{#if: {{{work}}} | {{{work}}}: | }} {{#if: {{{author}}} | {{{author}}} {{#if: {{{date}}} | ({{{date}}}). | . }} | }} [{{{url}}} {{{title}}}]{{#if: {{{pdf}}} | (PDF) | . }} {{#if: {{{publisher}}} | ''{{{publisher}}}''. | }} {{#if: {{{accessdate}}} | Retrived {{{accessdate}}}. | Retrieved {{safesubst:CURRENTYEAR}}-{{safesubst:CURRENTMONTH}}-{{safesubst:CURRENTDAY}} }} {{#if: {{{archiveurl}}} | [{{{archiveurl}}} Archived] from the original{{#if: {{{archivedate}}} | on {{{archivedate}}}. | . }} | }}}}</includeonly><noinclude>Cite external webpages and optionally add an archived url. URL and title parameters are required. | ||
<pre>{{cite web | <pre>{{cite web | ||
Line 27: | Line 27: | ||
|archivedate = 2023-04-04 | |archivedate = 2023-04-04 | ||
}} | }} | ||
<references /> | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | == Template data == | ||
<templatedata> | |||
{ | |||
"params": { | |||
"work": {}, | |||
"author": {}, | |||
"date": {}, | |||
"url": { | |||
"required": true | |||
}, | |||
"title": { | |||
"suggested": true | |||
}, | |||
"pdf": {}, | |||
"publisher": {}, | |||
"accessdate": { | |||
"suggested": true | |||
}, | |||
"archiveurl": { | |||
"suggested": true | |||
}, | |||
"archivedate": { | |||
"suggested": true | |||
} | |||
} | |||
} | |||
</templatedata></noinclude> |