Difference between revisions of "Template:Cite web"
From LFS Manual
Jump to navigationJump to searchm (fix) |
(+publisher (examples had the param, template did not support yet)) |
||
Line 1: | Line 1: | ||
− | <includeonly><cite style="font-style: normal">{{#if:{{{last|}}}|{{{last}}}, |}}{{#if:{{{first|}}}|{{{first}}}{{#if:{{{date|}}}| ({{{date}}})}}. }}{{#if:{{{url|}}}|{{#if:{{{archive-url|}}}|[{{{archive-url}}}{{#if:{{{title|}}}| "{{{title}}}"|}}]|[{{{url}}}{{#if:{{{title|}}}| "{{{title}}}"|}}]}}{{#if:{{{website|}}}|<em>. {{{website}}}</em>}}{{#if:{{{archive-date|}}}|. Archived from the [{{{url}}} original] on {{{archive-date}}}}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date}}}}} }}.</cite></includeonly><noinclude> | + | <includeonly><cite style="font-style: normal">{{#if:{{{last|}}}|{{{last}}}, |}}{{#if:{{{first|}}}|{{{first}}}{{#if:{{{date|}}}| ({{{date}}})}}. }}{{#if:{{{url|}}}|{{#if:{{{archive-url|}}}|[{{{archive-url}}}{{#if:{{{title|}}}| "{{{title}}}"|}}]|[{{{url}}}{{#if:{{{title|}}}| "{{{title}}}"|}}]}}{{#if:{{{website|}}}|<em>. {{{website}}}</em>}}{{#if:{{{publisher|}}}|. {{{publisher}}}}}{{#if:{{{archive-date|}}}|. Archived from the [{{{url}}} original] on {{{archive-date}}}}}{{#if:{{{access-date|}}}|. Retrieved {{{access-date}}}}} }}.</cite></includeonly><noinclude> |
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 20:14, 25 July 2024
Template documentation
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. Open Publishing. 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. Open Publishing. Archived from the original on August 27, 2014. 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. |