Template:Cite web: Difference between revisions
Jump to navigation
Jump to search
Johnpullen (talk | contribs) Created page with "<includeonly>{{#invoke:citation/CS1|citation |CitationClass=web }}</includeonly><noinclude> {{documentation}} </noinclude>" |
m 1 revision imported: Imported few templates from Bhikitia. Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{# | <includeonly> | ||
| | {{#if: {{{author|}}} | ''{{{author}}}'' }} | ||
}}</includeonly><noinclude> | {{#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> | </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. }}