Template:Cite web: Difference between revisions

Jump to navigation Jump to search
deprecate dateformat
(New page: <includeonly>{{ #if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} ||Error on call to Template:cite web: Parameters '''url''' and '''title''' must be specified }}{{ #if: {{{archiveu...)
 
(deprecate dateformat)
Line 1: Line 1:
<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|}}}  
}}
                }}
}}{{#if: {{{author|}}}{{{last|}}}
              }}
   | {{#if: {{{authorlink|}}}
   |Surname2 = {{#if:{{{last2|}}}|{{{last2}}}|{{{coauthors|}}}}}
    | [[{{{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;}}{{
  |Authorlink7 = {{{authorlink7|}}}
  #if: {{{editor|}}}
  |Authorlink8 = {{{authorlink8|}}}
   | &#32;{{{editor}}}:
  |Authorlink9 = {{{authorlink9|}}}
}}{{#if: {{{archiveurl|}}}
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor1|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}}}}
    | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
  |EditorSurname2 = {{{editor2-last|{{{editor2-surname|{{{editor2|}}}}}}}}}
    | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
   |EditorSurname3 = {{{editor3-last|{{{editor3-surname|{{{editor3|}}}}}}}}}
}}{{#if: {{{language|}}} | &#32;<span style="font-size: 0.95em; font-weight: bold; color:#555; position: relative;">({{{language}}})</span>  
   |EditorSurname4 = {{{editor4-last|{{{editor4-surname|{{{editor4|}}}}}}}}}
}}{{#if: {{{format|}}}
  |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
  | &#32;({{{format|}}})
  |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
}}{{#if: {{{work|}}}
  |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
  | .&#32;''{{{work}}}''
  |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
}}{{#if: {{{pages|}}}
  |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
  | &#32;{{{pages}}}
  |Editorlink2={{{editor2-link|}}}
}}{{#if: {{{publisher|}}}
  |Editorlink3={{{editor3-link|}}}
  | .&#32;{{{publisher}}}{{#if: {{{author|}}}{{{last|}}}
  |Editorlink4={{{editor4-link|}}}
    |
  |Year={{#if:{{{year|}}}|{{{year}}}   <!-- attempt to derive year from date, if possible -->
    | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }}
          |{{#if: {{{date|}}}
   }}
            |{{#iferror: {{#time:Y|{{{date|}}} }}
}}{{#if: {{{author|}}}{{{last|}}}
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
  ||{{#if: {{{date|}}}
                |{{#time:Y|{{{date|}}} }}
    | &#32;({{{date}}})
              }}
    | {{#if: {{{year|}}}
            |{{{publication-date|}}} <!-- last resort -->
      | {{#if: {{{month|}}}
          }}
        | &#32;({{{month}}} {{{year}}})
        }}
        | &#32;({{{year}}})
  |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|}}}
}}{{#if: {{{accessdaymonth|}}}
                |{{#if: {{{accessyear|}}}
   | &#32;Retrieved on {{{accessdaymonth}}} {{{accessyear}}}.
                  |{{{accessdate}}} {{{accessyear}}}
}}{{#if: {{{quote|}}}  
                  |{{{accessdate}}}
  | &nbsp;“{{{quote}}}
                }}
}}</includeonly><noinclude>{{/doc}}
                |{{{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|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude>
{{Pp-template|small=yes}}
{{Documentation}}
</noinclude>
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu