Difference between revisions of "Template:Cite web"

From LFS Manual
Jump to navigationJump to search
(Created page with "<includeonly><cite> {{#if:{{{url|}}} | [{{{url}}}{{#if:{{{title|}}}| {{{title}}}|}}] }} </cite><noinclude> {{documentation}} </noinclude>")
 
m
Line 1: Line 1:
 
<includeonly><cite>
 
<includeonly><cite>
 
   {{#if:{{{url|}}} | [{{{url}}}{{#if:{{{title|}}}| {{{title}}}|}}] }}
 
   {{#if:{{{url|}}} | [{{{url}}}{{#if:{{{title|}}}| {{{title}}}|}}] }}
</cite><noinclude>
+
</cite></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 17:49, 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}}
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}}
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}}
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}}
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}}