Template:Cite web: Difference between revisions

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

Revision as of 00:22, 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 Example Publisher. Accessed: 2024-11-15.