.

Template:Cite web: Difference between revisions

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
 
<cite style="font-style:normal;"><includeonly>{{
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
  ||Error on call to [[template:cite web]]: Parameters '''url''' and '''title''' must be specified
}}{{
#if: {{{archiveurl|}}}{{{archivedate|}}}
  | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
    ||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted
}}
}}</includeonly>{{#if: {{{author|}}}{{{last|}}}
  | {{#if: {{{authorlink|}}}
    | [[{{{authorlink}}}|{{#if: {{{last|}}}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
      | {{{author}}}
    }}]]
    | {{#if: {{{last|}}}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
      | {{{author}}}
    }}
  }}
}}{{#if: {{{author|}}}{{{last|}}}
  | {{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
}}{{#if: {{{author|}}}{{{last|}}}|
    {{#if: {{{date|}}}
    | &#32;({{{date}}})
    | {{#if: {{{year|}}}
      | {{#if: {{{month|}}}
        | &#32;({{{month}}} {{{year}}})
        | &#32;({{{year}}})
      }}
    }}
  |}}
}}{{#if: {{{last|}}}{{{author|}}}
  | .&#32;}}{{#if: {{{archiveurl|}}}
    | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
    | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
}}{{#if: {{{language|}}} | &#32;(in {{{language}}})
}}.{{#if: {{{format|}}}
  | &#32;({{{format|}}})
}}{{#if: {{{work|}}}
  | &#32;''{{{work}}}''.
}}{{#if: {{{pages|}}}
  | &#32;pp. {{{pages}}}
}}{{#if: {{{publisher|}}}
  | &#32;''{{{publisher}}}''{{#if: {{{author|}}}{{{last|}}}
    | .
    | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} | &#58; | . }}
  }}
}}{{#if: {{{author|}}}{{{last|}}}
  ||{{#if: {{{date|}}}
    | &#32;({{{date}}}).
    | {{#if: {{{year|}}}
      | {{#if: {{{month|}}}
        | &#32;({{{month}}} {{{year}}}).
        | &#32;({{{year}}}).
      }}
    }}
  }}
}}{{#if: {{{archivedate|}}}
  | &#32;archived from [{{{url}}} the original] on [[{{{archivedate}}}]]
}}{{#if: {{{accessdate|}}}
  | &#32;Retrieved on [[{{{accessdate}}}]]{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}.
}}{{#if: {{{accessmonthday|}}}
  | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}.
}}</cite><noinclude>
[[Category:Templates|{{PAGENAME}}]]
</noinclude>

Revision as of 13:30, 12 January 2007

{{#if:

 | {{#if: 
   | [[{{{authorlink}}}|{{#if: 
     | {{{last}}}{{#if:  | , {{{first}}} }}
     | {{{author}}}
   }}]]
   | {{#if: 
     | {{{last}}}{{#if:  | , {{{first}}} }}
     | {{{author}}}
   }}
 }}

}}{{#if:

 | {{#if: | ; {{{coauthors}}} }}

}}{{#if: |

   {{#if: 
   |  ({{{date}}})
   | {{#if: 
     | {{#if: 
       |  ({{{month}}} {{{year}}})
       |  ({{{year}}})
     }}
   }}
 |}}

}}{{#if:

 | . }}{{#if: 
   | {{#if:  | {{#if:  | [{{{archiveurl}}} {{{title}}}] }}}}
   | {{#if:  | {{#if:  | [{{{url}}} {{{title}}}] }}}}

}}{{#if: | (in {{{language}}}) }}.{{#if:

 |  ()

}}{{#if:

 |  {{{work}}}.

}}{{#if:

 |  pp. {{{pages}}}

}}{{#if:

 |  {{{publisher}}}{{#if: 
   | .
   | {{#if:  | : | . }}
 }}

}}{{#if:

 ||{{#if: 
   |  ({{{date}}}).
   | {{#if: 
     | {{#if: 
       |  ({{{month}}} {{{year}}}).
       |  ({{{year}}}).
     }}
   }}
 }}

}}{{#if:

 |  archived from [{{{url}}} the original] on [[{{{archivedate}}}]]

}}{{#if:

 |  Retrieved on [[{{{accessdate}}}]]{{#if:  | , [[{{{accessyear}}}]] }}.

}}{{#if:

 |  Retrieved on {{{accessmonthday}}}, {{{accessyear}}}.

}}