Template:Cite web: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(20 intermediate revisions by 2 users not shown)
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}}} | Archived URL: ''[{{{archiveurl}}}]''. {{#if: {{{archivedate}}} | ''{{{archivedate}}}'' | }} | }}}}</includeonly><noinclude>
<includeonly>{{#tag:ref|{{#if: {{{work|}}} | {{{work}}}: | }} {{#if: {{{author|}}} | {{{author}}}{{#if: {{{date|}}} | &nbsp;({{{date}}}). | . }} | }} [{{{url}}} {{{title}}}]{{#if: {{{pdf|}}} | (PDF) | . }} {{#if: {{{publisher|}}} | ''{{{publisher}}}''. | }} {{#if: {{{accessdate|}}} | Retrieved {{{accessdate}}}. | }} {{#if: {{{archiveurl|}}} | [{{{archiveurl}}} Archived] from the original{{#if: {{{archivedate|}}} | &nbsp;on {{{archivedate}}}. | . }} | }} | group = url}}</includeonly><noinclude>Cite external webpages and optionally add an archived url. URL and title parameters are required.


<pre> {{cite web
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
|work = Official website
|author = Perry
|author = Perry
Line 10: Line 12:
|accessdate = 2023-03-03
|accessdate = 2023-03-03
|archiveurl = https://archive.org/
|archiveurl = https://archive.org/
|archivedate = 2023-04-04}}
|archivedate = 2023-04-04
}}
</pre>
</pre>
gives
gives
Line 24: Line 27:
|accessdate = 2023-03-03
|accessdate = 2023-03-03
|archiveurl = https://archive.org/
|archiveurl = https://archive.org/
|archivedate = 2023-04-04}}
|archivedate = 2023-04-04
________
}}
{{cite web
<references group="url"/>
|work =
[[Category:Templates]]
|author = Perry
[[Category:Citation templates]]
|date = 1961-07-94
== Template data ==
|url = https://bg3.wiki
<templatedata>
|title = Perry's Homepage
{
|pdf =
"params": {
|publisher = Perry and friends
"work": {},
|accessdate = 2023-03-03
"author": {},
|archiveurl = https://archive.org/
"date": {},
|archivedate = 2023-04-04}}
"url": {
</noinclude>
"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

[url 1]

  1. 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.

Template parameters

ParameterDescriptionTypeStatus
workwork

no description

Unknownoptional
authorauthor

no description

Unknownoptional
datedate

no description

Unknownoptional
urlurl

no description

Unknownrequired
titletitle

no description

Unknownrequired
pdfpdf

no description

Unknownoptional
publisherpublisher

no description

Unknownoptional
accessdateaccessdate

no description

Unknownsuggested
archiveurlarchiveurl

no description

Unknownsuggested
archivedatearchivedate

no description

Unknownsuggested