Template:Cite web: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(15 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#tag:ref|{{#if: {{{work}}} | | <includeonly>{{#tag:ref|{{#if: {{{work|}}} | {{{work}}}: | }} {{#if: {{{author|}}} | {{{author}}}{{#if: {{{date|}}} | ({{{date}}}). | . }} | }} [{{{url}}} {{{title}}}]{{#if: {{{pdf|}}} | (PDF) | . }} {{#if: {{{publisher|}}} | ''{{{publisher}}}''. | }} {{#if: {{{accessdate|}}} | Retrieved {{{accessdate}}}. | }} {{#if: {{{archiveurl|}}} | [{{{archiveurl}}} Archived] from the original{{#if: {{{archivedate|}}} | on {{{archivedate}}}. | . }} | }} | group = url}}</includeonly><noinclude>Cite external webpages and optionally add an archived url. URL and title parameters are required. | ||
Intended to be used with [[Template:Reflist]]. Do not use without {{code|<nowiki>{{reflist|url}}</nowiki>}} on the page. | |||
<pre>{{cite web | <pre>{{cite web | ||
Line 11: | Line 13: | ||
|archiveurl = https://archive.org/ | |archiveurl = https://archive.org/ | ||
|archivedate = 2023-04-04 | |archivedate = 2023-04-04 | ||
}} | }} | ||
</pre> | </pre> | ||
Line 28: | Line 29: | ||
|archivedate = 2023-04-04 | |archivedate = 2023-04-04 | ||
}} | }} | ||
</noinclude> | <references group="url"/> | ||
[[Category:Templates]] | |||
[[Category:Citation templates]] | |||
== Template data == | |||
<templatedata> | |||
{ | |||
"params": { | |||
"work": {}, | |||
"author": {}, | |||
"date": {}, | |||
"url": { | |||
"required": true | |||
}, | |||
"title": { | |||
"required": true | |||
}, | |||
"pdf": {}, | |||
"publisher": {}, | |||
"accessdate": { | |||
"suggested": true | |||
}, | |||
"archiveurl": { | |||
"suggested": true | |||
}, | |||
"archivedate": { | |||
"suggested": true | |||
} | |||
} | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 09:25, 11 December 2023
Cite external webpages and optionally add an archived url. URL and title parameters are required.
Intended to be used with Template:Reflist. Do not use without {{reflist|url}}
on the page.
{{cite web |work = Official website |author = Perry |date = 1961-07-94 |url = https://bg3.wiki |title = Perry's Homepage |publisher = Perry and friends |accessdate = 2023-03-03 |archiveurl = https://archive.org/ |archivedate = 2023-04-04 }}
gives
- ↑ Official website: Perry (1961-07-94). Perry's Homepage. Perry and friends. Retrieved 2023-03-03. Archived from the original on 2023-04-04.
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
work | work | no description | Unknown | optional |
author | author | no description | Unknown | optional |
date | date | no description | Unknown | optional |
url | url | no description | Unknown | required |
title | title | no description | Unknown | required |
pdf | no description | Unknown | optional | |
publisher | publisher | no description | Unknown | optional |
accessdate | accessdate | no description | Unknown | suggested |
archiveurl | archiveurl | no description | Unknown | suggested |
archivedate | archivedate | no description | Unknown | suggested |