Template:Cite web: Difference between revisions

    m>Happy-melon
    (restore accessdaymonth/monthday/year parameters)
    m>Avraham
    (Restroing to 12/27 version which seems to have worked)
    Line 1: Line 1:
    {{Citation/core
    {{Citation/core
       |Citation class=web
       |Citation class=web
       |Surname1 = {{#if: {{{author|}}}  | {{{author}}}  | {{{last|}}} }}
       |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
       |Surname2 = {{#if: {{{author2|}}} | {{{author2}}} | {{{last2|}}} }}
       |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
       |Surname3 = {{#if: {{{author3|}}} | {{{author3}}} | {{{last3|}}} }}
       |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
       |Surname4 = {{#if: {{{author4|}}} | {{{author4}}} | {{{last4|}}} }}
       |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
       |Surname5 = {{#if: {{{author5|}}} | {{{author5}}} | {{{last5|}}} }}
       |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
       |Surname6 = {{#if: {{{author6|}}} | {{{author6}}} | {{{last6|}}} }}
       |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
       |Surname7 = {{#if: {{{author7|}}} | {{{author7}}} | {{{last7|}}} }}
       |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
       |Surname8 = {{#if: {{{author8|}}} | {{{author8}}} | {{{last8|}}} }}
       |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
       |Surname9 = {{#if: {{{author9|}}} | {{{author9}}} | {{{last9|}}} }}
       |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
       |Given1 = {{{first|}}}
       |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
       |Given2 = {{{first2|}}}
       |Given2 = {{{first2|{{{given2|}}}}}}
       |Given3 = {{{first3|}}}
       |Given3 = {{{first3|{{{given3|}}}}}}
       |Given4 = {{{first4|}}}
       |Given4 = {{{first4|{{{given4|}}}}}}
       |Given5 = {{{first5|}}}
       |Given5 = {{{first5|{{{given5|}}}}}}
       |Given6 = {{{first6|}}}
       |Given6 = {{{first6|{{{given6|}}}}}}
       |Given7 = {{{first7|}}}
       |Given7 = {{{first7|{{{given7|}}}}}}
       |Given8 = {{{first8|}}}
       |Given8 = {{{first8|{{{given8|}}}}}}
       |Given9 = {{{first9|}}}
       |Given9 = {{{first9|{{{given9|}}}}}}
       |Authorlink1 = {{{authorlink|}}}
       |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
       |Authorlink2 = {{{authorlink2|}}}
       |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
       |Authorlink3 = {{{authorlink3|}}}
       |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
       |Authorlink4 = {{{authorlink4|}}}
       |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
       |Authorlink5 = {{{authorlink5|}}}
       |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
       |Authorlink6 = {{{authorlink6|}}}
       |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
       |Authorlink7 = {{{authorlink7|}}}
       |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
       |Authorlink8 = {{{authorlink8|}}}
       |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
       |Authorlink9 = {{{authorlink9|}}}
       |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
       |Year={{#if:{{{year|}}}|{{{year}}}
       |Year={{{year|{{    <!-- attempt to derive year from date, if possible -->
              |{{#if: {{{date|}}}         <!-- attempt to derive year from date, if possible -->
                #if: {{{date|}}}
                |{{#iferror:{{#time:Y|{{{date|}}} }} }}
                |{{
                    #iferror:{{#time:Y|{{{date|}}} }}
                    |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
                    |{{#time:Y|{{{date|}}} }}
                  }}
                |{{{publication-date|}}} <!-- last resort -->
              }}
            }}}
      |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
      |Title={{{work|}}}
      |At = {{
              #if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
              |{{{pages|{{{page|{{{at|}}}}}}}}}
              |{{
                #if: {{{page|{{{pages|}}}}}}
                |{{{page|{{{pages}}}}}}
                |{{{at|}}}
               
               }}
               }}
             }}
             }}
      |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|}}} }}
       |IncludedWorkTitle = {{#if:{{{url|}}}|{{{title|{{{contribution|No <code>title</code> specified{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}}}}}|You must specify <code>url=</code> when using {{tl|cite web}}{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}
      |Title={{{work|}}}
      |At = {{{pages|}}}
       |IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|No {{para|title}} specified{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}|You must specify {{para|url}} when using {{tl|cite web}}{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}}}
       |IncludedWorkURL = {{#if: {{{archiveurl|}}} | {{{archiveurl|}}} | {{{url|}}} }}
       |IncludedWorkURL = {{#if: {{{archiveurl|}}} | {{{archiveurl|}}} | {{{url|}}} }}
       |Place = {{{location|}}}
       |Place = {{{place|{{{location|}}}}}}
      |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
       |Publisher = {{{publisher|}}}
       |Publisher = {{{publisher|}}}
       |language = {{{language|}}}
      |PublicationDate = {{{publication-date|}}}
       |language = {{{language|{{{in|}}}}}}
       |format = {{{format|}}}
       |format = {{{format|}}}
       |DOI={{{doi|}}}
       |DOI={{{doi|{{{DOI|}}}}}}
      |AccessDate={{#if:{{{accessdate|}}}
      |AccessDate={{#if:{{{access-date|}}}|{{{accessdate|}}}|{{{accessdate|}}} }}
                    |{{{accessdate}}}
       |DateFormat={{{dateformat|none}}}
                    |{{#if:{{{accessyear|}}}
                      |{{#if:{{{accessdaymonth|}}}
                          |{{{accessdaymonth}}} {{{accessyear}}}
                          |{{#if:{{{accessmonthday|}}}
                            |{{{accessmonthday}}} {{{accessyear}}}
                          }}
                        }}
                      }}
                  }}
       |DateFormat={{{dateformat|}}}
       |quote = {{{quote|}}}
       |quote = {{{quote|}}}
      |Ref={{{ref|}}}
      |Sep = {{{separator|{{{seperator|.}}}}}}
       |PS={{#if:{{{quote|}}}||.}}
       |PS={{#if:{{{quote|}}}||.}}
       |Archive = {{#if:{{{archiveurl|}}}
       |Archive = {{
                    |Archived from {{#if:{{{url|}}}|[{{{url|}}} the original]|the original}}{{#if:{{{archivedate|}}}|&#32;on {{{archivedate}}}|. You must specify the date the archive was made using the {{para|archivedate}} parameter.{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}
                  #if:{{{archiveurl|}}}|Archived from {{#if:{{{url|}}}|[{{{url|}}} the original]|the original}} {{#if:{{{archivedate|}}}| on {{{archivedate}}}|. You must specify the date the archive was made using the <code>archivedate=</code> parameter.{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}
                 }}
                 }}
    }}<noinclude>
    }}<noinclude>