Template:Cite web: Difference between revisions

From Bhikitia Pro, An open encyclopedia
Created page with "<includeonly>{{#invoke:citation/CS1|citation |CitationClass=web }}</includeonly><noinclude> {{documentation}} </noinclude>"
No edit summary
Line 1: Line 1:
<includeonly>{{#invoke:citation/CS1|citation
<includeonly>
|CitationClass=web
{{#if: {{{author|}}} | '''{{{author}}}''' }}
}}</includeonly><noinclude>
{{#if: {{{title|}}} | '''{{{title}}}''' }}
{{documentation}}
{{#if: {{{url|}}} | [{{{url}}} {{{title}}}] }}
{{#if: {{{publisher|}}} | {{!}} Publisher: {{{publisher}}}. }}
{{#if: {{{access-date|}}} | Accessed: {{{access-date}}}. }}
</includeonly><noinclude>
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:
<nowiki>{{Cite web |author=John Doe |title=Example Title |url=https://example.com |publisher=Example Publisher |access-date=2024-11-15}}</nowiki> </br>
'''Result:''' {{Cite web |author=John Doe |title=Example Title |url=https://example.com |publisher=Example Publisher |access-date=2024-11-15}}
</noinclude>
</noinclude>

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