Template:Cite web: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><ref>{{#if: {{{work}}} | '''{{{work}}}''': | }}{{#if: {{{author}}} | {{{author}}}{{#if: {{{date}}} | ({{{date}}}). | . }} | }} [{{{url}}} {{{title}}}]{{#if: {{{pdf}}} | (PDF) | }}. {{{#if: {{{publisher}}} | ''{{{publisher}}}'' | }}. {{#if: {{{accessdate}}} | Retrived {{{accessdate}}}. | }} {{#if: {{{archiveurl}}} | Archived url: {{{archiveurl}}}. {{#if: {{{archivedate}}} | {{{archivedate}}} | }} | }} </noinclude>") |
No edit summary |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <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. | ||
</noinclude> | |||
Intended to be used with [[Template:Reflist]]. Do not use without {{code|<nowiki>{{reflist|url}}</nowiki>}} on the page. | |||
<pre>{{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 | |||
}} | |||
</pre> | |||
gives | |||
{{cite web | |||
|work = Official website | |||
|author = Perry | |||
|date = 1961-07-94 | |||
|url = https://bg3.wiki | |||
|title = Perry's Homepage | |||
|pdf = | |||
|publisher = Perry and friends | |||
|accessdate = 2023-03-03 | |||
|archiveurl = https://archive.org/ | |||
|archivedate = 2023-04-04 | |||
}} | |||
<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 |