Template:Cite web: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(make parameters actually optional)
No edit summary
 
(2 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}}}''. | }} Retrieved {{#if: {{{accessdate|}}} | {{{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.
<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.
Intended to be used with [[Template:Reflist]]. Do not use without {{code|<nowiki>{{reflist|url}}</nowiki>}} on the page.
Line 31: Line 31:
<references group="url"/>
<references group="url"/>
[[Category:Templates]]
[[Category:Templates]]
[[Category:Citation templates]]
== Template data ==
== Template data ==
<templatedata>
<templatedata>

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