Template:Cite web: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 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'' {{#if: {{{archivedate}}} | ''{{{archivedate}}}.'' | }}[{{{archiveurl}}}]'' | }}}}</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|}}} | &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.
 
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 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
</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 10: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