.

Template:Cite web: Difference between revisions

Wikicars, a place to share your automotive knowledge
Jump to navigationJump to search
No edit summary
mNo edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<cite style="font-style:normal;"><includeonly>{{
<includeonly>{{Citation/core
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
  |Citation class=web
  ||Error on call to [[template:cite web]]: Parameters '''url''' and '''title''' must be specified
  |Surname1 = {{#if:{{{last|}}}
}}{{
                |{{{last}}}
#if: {{{archiveurl|}}}{{{archivedate|}}}  
                |{{#if:{{{last1|}}}
   | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
                  |{{{last1}}}
    ||Error on call to [[template:cite web]]: Parameters '''archiveurl''' and '''archivedate''' must be both specified or both omitted
                  |{{{author|}}}  
}}
                }}
}}</includeonly>{{#if: {{{author|}}}{{{last|}}}
              }}
   | {{#if: {{{authorlink|}}}
   |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}  
    | [[{{{authorlink}}}|{{#if: {{{last|}}}
  |Surname3 = {{{last3|}}}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
  |Surname4 = {{{last4|}}}
      | {{{author}}}
  |Surname5 = {{{last5|}}}
    }}]]
   |Surname6 = {{{last6|}}}
    | {{#if: {{{last|}}}
  |Surname7 = {{{last7|}}}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
  |Surname8 = {{{last8|}}}
      | {{{author}}}
  |Surname9 = {{{last9|}}}
    }}
  |Given1 = {{#if:{{{first|}}}|{{{first}}}|{{{first1|}}}}}
   }}
  |Given2 = {{{first2|}}}
}}{{#if: {{{author|}}}{{{last|}}}
  |Given3 = {{{first3|}}}
   | {{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
  |Given4 = {{{first4|}}}
}}{{#if: {{{author|}}}{{{last|}}}|
  |Given5 = {{{first5|}}}
    {{#if: {{{date|}}}
  |Given6 = {{{first6|}}}
    | &#32;({{{date}}})
  |Given7 = {{{first7|}}}
    | {{#if: {{{year|}}}
   |Given8 = {{{first8|}}}
      | {{#if: {{{month|}}}
  |Given9 = {{{first9|}}}
        | &#32;({{{month}}} {{{year}}})
   |Authorlink1 = {{#if:{{{authorlink|}}}|{{{authorlink}}}|{{{authorlink1|}}}}}
        | &#32;({{{year}}})
  |Authorlink2 = {{{authorlink2|}}}
      }}
  |Authorlink3 = {{{authorlink3|}}}
    }}
  |Authorlink4 = {{{authorlink4|}}}
   |}}
  |Authorlink5 = {{{authorlink5|}}}
}}{{#if: {{{last|}}}{{{author|}}}
  |Authorlink6 = {{{authorlink6|}}}
   | .&#32;}}{{#if: {{{archiveurl|}}}
  |Authorlink7 = {{{authorlink7|}}}
    | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
  |Authorlink8 = {{{authorlink8|}}}
    | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
  |Authorlink9 = {{{authorlink9|}}}
}}{{#if: {{{language|}}} | &#32;(in {{{language}}})
  |Coauthors = {{{coauthor|{{{coauthors|}}}}}}
}}.{{#if: {{{format|}}}
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor1|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}}}}
  | &#32;({{{format|}}})
   |EditorSurname2 = {{{editor2-last|{{{editor2-surname|{{{editor2|}}}}}}}}}
}}{{#if: {{{work|}}}
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|{{{editor3|}}}}}}}}}
  | &#32;''{{{work}}}''.
   |EditorSurname4 = {{{editor4-last|{{{editor4-surname|{{{editor4|}}}}}}}}}
}}{{#if: {{{pages|}}}
  |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
  | &#32;pp. {{{pages}}}
  |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
}}{{#if: {{{publisher|}}}
  |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
  | &#32;''{{{publisher}}}''{{#if: {{{author|}}}{{{last|}}}
  |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
    | .
  |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
    | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} | &#58; | . }}
  |Editorlink2={{{editor2-link|}}}
   }}
  |Editorlink3={{{editor3-link|}}}
}}{{#if: {{{author|}}}{{{last|}}}
  |Editorlink4={{{editor4-link|}}}
  ||{{#if: {{{date|}}}
  |Year={{#if:{{{year|}}}|{{{year}}}   <!-- attempt to derive year from date, if possible -->
    | &#32;({{{date}}}).
          |{{#if: {{{date|}}}
    | {{#if: {{{year|}}}
            |{{#iferror: {{#time:Y|{{{date|}}} }}
      | {{#if: {{{month|}}}
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
        | &#32;({{{month}}} {{{year}}}).
                |{{#time:Y|{{{date|}}} }}
        | &#32;({{{year}}}).
              }}
            |{{{publication-date|}}} <!-- last resort -->
          }}
        }}
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}}
  |Title={{{work|}}}
   |TransTitle={{{trans_title|}}}
  |At = {{#if:{{{page|}}}|p. {{{page}}}|{{#if:{{{pages|}}}|pp. {{{pages|}}}|{{{at|}}} }} }}
  |IncludedWorkTitle = {{
    #if:{{{title|}}}
    |{{{title}}}
    |{{
      #if:{{{trans_title|}}}
      |
      |{{Citation error|no <code>&#124;title&#61;</code> specified|Cite web}}
       }}
       }}
     }}
     }}
   }}
   |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
}}{{#if: {{{archivedate|}}}
  |PublicationPlace = {{{location|}}}
  | &#32;archived from [{{{url}}} the original] on [[{{{archivedate}}}]]
  |Publisher = {{{publisher|}}}
}}{{#if: {{{accessdate|}}}
  |language = {{{language|}}}
   | &#32;Retrieved on [[{{{accessdate}}}]]{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}.
  |format = {{{format|}}}
}}{{#if: {{{accessmonthday|}}}
  |DOI={{{doi|{{{DOI|}}}}}}
  | &#32;Retrieved on {{{accessmonthday}}}, {{{accessyear}}}.
  |AccessDate={{#if:{{{accessdate|}}}
}}</cite>
                |{{#if: {{{accessyear|}}}
                  |{{{accessdate}}} {{{accessyear}}}
                  |{{{accessdate}}}
                }}
                |{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}
  }}
  |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}}
  |quote = {{{quote|}}}
  |Ref={{{ref|}}}
   |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
  |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}
  |ArchiveURL = {{{archiveurl|}}}
  |OriginalURL = {{{url|}}}
  |ArchiveDate= {{{archivedate|}}}
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude>
[[Category:Templates]]
</noinclude>

Latest revision as of 22:04, 10 December 2010