Template:Cite web: Difference between revisions

From WikiAlpha
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<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>
<includeonly>{{#if:{{{author|}}}|{{{author}}}, }}{{#if:{{{url|}}}|[{{{url}}} {{{title|{{{url}}}}}}]|{{{title|}}}}}{{#if:{{{publisher|}}}|, ''{{{publisher}}}''}}{{#if:{{{date|}}}|, {{{date}}}}}{{#if:{{{accessdate|}}}|. Accessed {{{accessdate}}}}}.}</includeonly><noinclude>
== Usage ==
== Template:Cite web ==
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         =  
|url       = https://example.com/article
| title       =
|title      = Article Title Here
| author     =  
|publisher = Publisher Name
| publisher   =  
|date      = March 2026
| website    =  
|accessdate = 2026-04-20
| date        =  
| access-date =
}}
}}
</pre>
</pre>
=== Output ===
[https://example.com/article Article Title Here], ''Publisher Name'', March 2026. Accessed 2026-04-20.
</noinclude>
</noinclude>

Revision as of 22:06, 25 April 2026

Template:Cite web

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

{{cite web
 |url        = https://example.com/article
 |title      = Article Title Here
 |publisher  = Publisher Name
 |date       = March 2026
 |accessdate = 2026-04-20
}}

Output

Article Title Here, Publisher Name, March 2026. Accessed 2026-04-20.