Template:Cite web: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Remove spaces)
(Documentation)
Line 51: Line 51:
}}{{#if: {{{author|}}}{{{last|}}}
}}{{#if: {{{author|}}}{{{last|}}}
   ||{{#if: {{{date|}}}
   ||{{#if: {{{date|}}}
     |  {{{date|}}})
     |  ({{{date|}}})
     | {{#if: {{{year|}}}
     | {{#if: {{{year|}}}
       | {{#if: {{{month|}}}
       | {{#if: {{{month|}}}
Line 68: Line 68:
   | &nbsp;<small>"{{{quote}}}"</small>
   | &nbsp;<small>"{{{quote}}}"</small>
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Informative template|1=
== Goal ==
This template is used to cite online sources in wiki articles.
== Usage ==
Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single <tt><nowiki>|author=authors</nowiki></tt> parameter, using any format. Also shown below are two separate date formats that are commonly used:
;'''Day Month Year'''
<code><nowiki>{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=24 February 2012}}</nowiki></code>
;'''Month Day, Year'''
<code><nowiki>{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=February 24, 2012}}</nowiki></code>
=== All parameters ===
When copying all parameters delete those which are not needed.
<code><nowiki>{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |page= |pages= |language= |format= |id= |archiveurl= |archivedate= |accessdate= |quote= }}</nowiki></code>
}}


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 12:18, 25 February 2012


The following template description is not displayed when the template is inserted in an article.

Goal

This template is used to cite online sources in wiki articles.

Usage

Citations within a page should use consistent formats. However, there is no consensus about which format is best. The following examples are for citations where one or more authors are listed in a single |author=authors parameter, using any format. Also shown below are two separate date formats that are commonly used:

Day Month Year

{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=24 February 2012}}

Month Day, Year

{{cite web |url= |title= |author= |date= |work= |publisher= |accessdate=February 24, 2012}}

All parameters

When copying all parameters delete those which are not needed.

{{cite web |url= |title= |first= |last= |author= |authorlink= |coauthors= |date= |month= |year= |work= |publisher= |page= |pages= |language= |format= |id= |archiveurl= |archivedate= |accessdate= |quote= }}