Difference between revisions of "Template:Cite web"
Jump to navigation
Jump to search
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#if: {{{url}}} | {{{url}}} | }} | {{#if: {{{author|}}} | ||
| {{{author}}} | |||
{{#if: {{{date|}}} | |||
| ({{{date}}}). | |||
| <!--else--> | |||
.<!--no date--> | |||
}} | |||
| <!--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 7: | 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=}}