Jump to content

Template:Cite web: Difference between revisions

From WikiGence
m Protected "Template:Cite web" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
No edit summary
 
Line 1: Line 1:
<includeonly><ref>{{#if:{{{url|}}}|[{{{url}}} {{{title}}}]|{{{title}}}}}{{#if:{{{publisher|}}}|, {{{publisher}}}}}{{#if:{{{date|}}}|, {{{date}}}}}</ref></includeonly><noinclude>
<includeonly>{{#if:{{{url|}}}|[{{{url}}} {{{title|{{{url}}}}}}]}}
 
{{#if:{{{author|}}}|, by {{{author}}}}}
 
{{#if:{{{date|}}}| ({{{date}}})}}
 
{{#if:{{{website|}}}|, ''{{{website}}}''}}
 
{{#if:{{{publisher|}}}|, {{{publisher}}}}}
 
{{#if:{{{access-date|}}}|, accessed {{{access-date}}}}}</includeonly><noinclude>
==Usage==
==Usage==
<pre>
<pre>
{{Cite web
{{Cite web
  | url       = http://example.com
  | url = https://example.com
  | title     = Example title
  | title = Example Title
  | publisher = Example publisher
| author = John Doe
  | date       = 2025-04-28
  | date = 2025-04-28
  | website = ExampleSite
| publisher = ExamplePublisher
  | access-date = 2025-04-28
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 11:18, 28 April 2025

Usage

{{Cite web
 | url = https://example.com
 | title = Example Title
 | author = John Doe
 | date = 2025-04-28
 | website = ExampleSite
 | publisher = ExamplePublisher
 | access-date = 2025-04-28
}}