Difference between revisions of "Template:Cite web"

From LFS Manual
Jump to navigationJump to search
m
Line 1: Line 1:
<includeonly><cite style="font-style: normal">{{#if:{{{url|}}} | [{{{url}}}{{#if:{{{title|}}}| "{{{title}}}"|}}]. }}</cite></includeonly><noinclude>
+
<includeonly><cite style="font-style: normal">{{#if:{{{last|}}}|{{{last}}},&nbsp;|}}{{#if:{{{first|}}}|{{{first}}}{{#if:{{{date|}}}| &nbsp;({{{date}}})}}.&nbsp;}}{{#if:{{{url|}}} | [{{{url}}}{{#if:{{{title|}}}| "{{{title}}}"|}}]{{#if:{{{website|}}}|<em>. {{{website}}}</em>}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date}}}}} }}.</cite></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 17:03, 24 July 2024

Template Info-Icon.png

Template documentation

View - Edit

Basic usage

Markup Renders as
{{cite web |url=https://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |date=April 30, 2005 |website=Encyclopedia of Things |access-date=July 24, 2024}}

Doe, John (April 30, 2005). "My Favorite Things, Part II". Encyclopedia of Things. Retrieved July 24, 2024.

Markup Renders as
{{cite web |url=https://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |publisher=Open Publishing |date=April 30, 2005 |website=Encyclopedia of Things |access-date=July 24, 2024 |archive-url=https://web.archive.org/web/20140827000000/http://www.example.org |archive-date=August 27, 2014}}

Doe, John (April 30, 2005). "My Favorite Things, Part II". Encyclopedia of Things. Retrieved July 24, 2024.

Markup Renders as
{{cite web |url=https://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |date=2005-04-30 |access-date=2024-07-24}}

Doe, John (2005-04-30). "My Favorite Things, Part II". Retrieved 2024-07-24.

Markup Renders as
{{cite web |url=https://www.example.org/ |title=My Favorite Things, Part II |last=Doe |first=John |access-date=24 July 2024}}

Doe, John. "My Favorite Things, Part II". Retrieved 24 July 2024.

Markup Renders as
{{cite web |url=https://www.example.org/ |title=My Favorite Things, Part II}}
Markup Renders as
{{cite web |url=https://www.example.org/ |title=My Favorite Things, Part II |access-date=2024-07-24}}

"My Favorite Things, Part II". Retrieved 2024-07-24.