Template:Cite web: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#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.


{{cite web|work=obrk|author = author|date = date|url = url|title = title|pdf = pdf|publisher = publisher|accessdate = accessdate|archiveurl = archiveurl|archivedate = archivedate}}
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


</noinclude>
{{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>
8,856
edits

Navigation menu