Difference between revisions of "Template:Cite web"
Jump to navigation
Jump to search
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if: {{{ | {{#if: {{{author|}}} | ||
| {{ | | {{{author}}} | ||
{{#if: {{{date|}}} | |||
| ({{{date}}}). | |||
| <!-- | | <!--else--> | ||
.<!--no date--> | |||
<!--no | |||
}} | }} | ||
| <!--else--> | |||
{{#if: {{{last|}}} | |||
| {{{last}}} | |||
{{#if: {{{first|}}} | |||
| , {{{first}}} | |||
{{#if: {{{date|}}} | |||
| ({{{date}}}). | |||
| <!--else--> | |||
.<!--no date--> | |||
}} | |||
| <!--else--> | |||
.<!--no last name, no first name--> | |||
}} | |||
| <!--else--> | |||
<!--no last name--> | |||
}} | |||
}} | |||
{{#if: {{{title|}}} | |||
| {{#if: {{{archiveurl|}}} | |||
| [{{{archiveurl}}} {{{title}}}]. | |||
| <!--else--> | |||
{{#if: {{{url|}}} | |||
| [{{{url}}} {{{title}}}]. | |||
| <!--else--> | |||
{{{title}}}. | |||
}} | |||
}} | |||
| <!--else--> | |||
{{#if: {{{archiveurl|}}} | |||
| {{{archiveurl}}}. | |||
| <!--else--> | |||
{{#if: {{{url|}}} | |||
| {{{url}}}. | |||
| <!--else--> | |||
<!--no title, no url, no archiveurl--> | |||
}} | |||
}} | |||
}} | |||
{{#if: {{{website|}}} | |||
| ''{{{website}}}''. | |||
| <!--else--> | |||
<!--no website--> | |||
}} | |||
{{#if: {{{publisher|}}} | |||
| {{{publisher}}}. | |||
| <!--else--> | |||
<!--no publisher--> | |||
}} | |||
{{#if: {{{archiveurl|}}} | |||
| Archived from [{{{url}}} the original] on {{{archivedate}}}. | |||
| <!--else--> | |||
<!--no archiveurl--> | |||
}} | |||
{{#if: {{{accessdate|}}} | |||
| Retrieved {{{accessdate}}}. | |||
| <!--else--> | |||
<!--no accessdate--> | |||
}} | |||
{{#if: {{{quote|}}} | |||
| "{{{quote}}}" | |||
| <!--else--> | |||
<!--no quote--> | |||
}} | }} | ||
</includeonly> | </includeonly> | ||
Line 17: | Line 76: | ||
<noinclude> | <noinclude> | ||
==Usage:== | ==Usage:== | ||
* Everything is optional | * Everything is optional. | ||
* Must have a last name if you want a first name. | |||
<pre> | <pre> | ||
{{cite web |url= |title= | | {{cite web |url= |title= |author= |publisher= |date= |website= |accessdate= |archiveurl= |archivedate= |quote=}} | ||
{{cite web |url= |title= |last= |first= |publisher= |date= |website= |accessdate= |archiveurl= |archivedate= |quote=}} | |||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 07:45, 13 February 2015
Usage:
- Everything is optional.
- Must have a last name if you want a first name.
{{cite web |url= |title= |author= |publisher= |date= |website= |accessdate= |archiveurl= |archivedate= |quote=}} {{cite web |url= |title= |last= |first= |publisher= |date= |website= |accessdate= |archiveurl= |archivedate= |quote=}}