Template:Cite web: Difference between revisions

From WikiAlpha
No edit summary
Tag: Reverted
m Protected "Template:Cite web" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{author|}}}|{{{author}}}, }}{{#if:{{{url|}}}|[{{{url}}} {{{title|{{{url}}}}}}]|{{{title|}}}}}{{#if:{{{publisher|}}}|, ''{{{publisher}}}''}}{{#if:{{{date|}}}|, {{{date}}}}}{{#if:{{{accessdate|}}}|. Accessed {{{accessdate}}}}}.}</includeonly><noinclude>
<includeonly>{{#if:{{{author|}}}|{{{author}}}, }}{{#if:{{{url|}}}|[{{{url}}} {{{title|{{{url}}}}}}]|{{{title|}}}}}{{#if:{{{publisher|}}}|, ''{{{publisher}}}''}}{{#if:{{{website|}}}|, ''{{{website}}}''}}{{#if:{{{date|}}}|, {{{date}}}}}{{#if:{{{access-date|}}}|. Accessed {{{access-date}}}}}.}</includeonly><noinclude>
== Template:Cite web ==
== Usage ==
Use this template to cite web sources in references.
 
=== Parameters ===
* '''url''' – Full URL of the source
* '''title''' – Title of the article or page
* '''publisher''' – Name of the publisher or website
* '''date''' – Publication date
* '''accessdate''' – Date you accessed the page
* '''author''' – (optional) Author name
 
=== Example ===
<pre>
<pre>
{{cite web
{{cite web
|url       = https://example.com/article
| url         =  
|title      = Article Title Here
| title       =
|publisher = Publisher Name
| author     =  
|date       = March 2026
| publisher   =
|accessdate = 2026-04-20
| website    =  
| date       =  
| access-date =  
}}
}}
</pre>
</pre>
=== Output ===
[https://example.com/article Article Title Here], ''Publisher Name'', March 2026. Accessed 2026-04-20.
</noinclude>
</noinclude>

Latest revision as of 22:07, 25 April 2026

Usage

{{cite web
| url         = 
| title       = 
| author      = 
| publisher   = 
| website     = 
| date        = 
| access-date = 
}}