Template:Cite web: Difference between revisions

From Bhikitia Pro, An open encyclopedia
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if: {{{author|}}} | '''{{{author}}}''' }}
{{#if: {{{author|}}} | ''{{{author}}}'' }}
{{#if: {{{title|}}} | '''{{{title}}}''' }}
{{#if: {{{url|}}} | ''[{{{url}}} {{{title}}}]'' }}
{{#if: {{{url|}}} | [{{{url}}} {{{title}}}] }}
{{#if: {{{publisher|}}} | {{!}} Publisher: {{{publisher}}}. }}
{{#if: {{{publisher|}}} | {{!}} Publisher: {{{publisher}}}. }}
{{#if: {{{access-date|}}} | Accessed: {{{access-date}}}. }}
{{#if: {{{access-date|}}} | Accessed: {{{access-date}}}. }}

Revision as of 00:21, 15 November 2024

This template generates a citation for a web source. It should be used with `<ref>` tags to include references in articles.

Parameters:

  • `author` - Name of the author
  • `title` - Title of the article or page
  • `url` - Full URL of the page
  • `publisher` - Publisher or website name
  • `access-date` - Date when the source was accessed

Example: {{Cite web |author=John Doe |title=Example Title |url=https://example.com |publisher=Example Publisher |access-date=2024-11-15}}
Result: John Doe Example Title | Publisher: Example Publisher. Accessed: 2024-11-15.