Template:Cite web: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m 1 revision imported: Imported few templates from Bhikitia. Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | <includeonly> | ||
{{#if: {{{author|}}} | ''{{{author}}}'' }} | |||
{{#if: {{{url|}}} | ''[{{{url}}} {{{title}}}]'' }} | |||
{{#if: {{{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=Parvej HT |title=Example Title |url=https://example.com |publisher=Example Publisher |access-date=2024-11-15}} | |||
</noinclude> |
Latest revision as of 09:35, 7 January 2025
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:
{{#if: Parvej HT | Parvej HT }}
{{#if: https://example.com | Example Title }}
{{#if: Example Publisher | Example Publisher. }}
{{#if: 2024-11-15 | Accessed: 2024-11-15. }}