Template:Cite web: Difference between revisions
Automated upload via Philadelphia.Wiki content pipeline |
Fix cite web template: add empty defaults for optional parameters |
||
| Line 18: | Line 18: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly>{{#if:{{{author|}}}|{{{author}}}. }}{{#if:{{{title|}}}|"[{{{url}}} {{{title}}}]"}}{{#if:{{{publisher|}}}|. ''{{{publisher}}}''}}{{#if:{{{date|}}}|. {{{date}}}}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date}}}}}</includeonly> | </noinclude><includeonly>{{#if:{{{author|}}}|{{{author|}}}. }}{{#if:{{{title|}}}|"[{{{url|}}} {{{title|}}}]"}}{{#if:{{{publisher|}}}|. ''{{{publisher|}}}''}}{{#if:{{{date|}}}|. {{{date|}}}}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date|}}}}}</includeonly> | ||
Latest revision as of 04:33, 12 April 2026
Cite Web Template
Generates a formatted web citation for references.
Usage
{{cite web |url=https://example.com/article |title=Article Title |author=Author Name |date=January 1, 2024 |publisher=Publisher Name |access-date=December 30, 2025}}
Parameters
- url - URL of the webpage (required)
- title - Title of the article/page (required)
- author - Author name (optional)
- date - Publication date (optional)
- publisher - Publisher/website name (optional)
- access-date - Date accessed (optional)