Template:Cite web: Difference between revisions

    m>RockMFR
    (rv forced DMY per talk)
    m>Aervanath
    (editprotected request on talk page)
    Line 1: Line 1:
    <includeonly>{{
    {{Citation/core/sandbox
    #if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
      |Citation class=web
       ||You must specify  '''''title = ''''' and '''''url = ''''' when using {{[[Template:cite web|cite web]]}}.
      |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{{author|}}}}}}}}}}}}}}}}}}}}}}}}
    {{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}
       |Surname2 = {{{last2|{{{surname2|{{{author2|{{{coauthor|{{{coauthors|}}}}}}}}}}}}}}}
    }}{{
       |Surname3 = {{{last3|{{{surname3|{{{author3|}}}}}}}}}
    #if: {{{archiveurl|}}}{{{archivedate|}}}  
      |Surname4 = {{{last4|{{{surname4|{{{author4|}}}}}}}}}
       | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
      |Surname5 = {{{last5|{{{surname5|{{{author5|}}}}}}}}}
        ||You must specify '''''archiveurl = ''''' and '''''archivedate = ''''' when using {{[[Template:cite web|cite web]]}}.
       |Surname6 = {{{last6|{{{surname6|{{{author6|}}}}}}}}}
    {{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}
      |Surname7 = {{{last7|{{{surname7|{{{author7|}}}}}}}}}
    }}
      |Surname8 = {{{last8|{{{surname8|{{{author8|}}}}}}}}}
    }}{{#if: {{{author|}}}{{{last|}}}
      |Surname9 = {{{last9|{{{surname9|{{{author9|}}}}}}}}}
       | {{#if: {{{authorlink|}}}
      |Given1 = {{{first1|{{{given1|{{{first|{{{given|}}}}}}}}}}}}
        | [[{{{authorlink}}}|{{#if: {{{last|}}}
      |Given2 = {{{first2|{{{given2|}}}}}}
          | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
       |Given3 = {{{first3|{{{given3|}}}}}}
          | {{{author}}}
      |Given4 = {{{first4|{{{given4|}}}}}}
        }}]]
      |Given5 = {{{first5|{{{given5|}}}}}}
        | {{#if: {{{last|}}}
      |Given6 = {{{first6|{{{given6|}}}}}}
          | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
      |Given7 = {{{first7|{{{given7|}}}}}}
          | {{{author}}}
      |Given8 = {{{first8|{{{given8|}}}}}}
        }}
      |Given9 = {{{first9|{{{given9|}}}}}}
      }}
      |Authorlink1 = {{{author-link|{{{author1-link|{{{authorlink|{{{authorlink1|}}}}}}}}}}}}
    }}{{#if: {{{author|}}}{{{last|}}}
      |Authorlink2 = {{{author2-link|{{{authorlink2|}}}}}}
       | {{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
       |Authorlink3 = {{{author3-link|{{{authorlink3|}}}}}}
    }}{{#if: {{{author|}}}{{{last|}}}|
       |Authorlink4 = {{{author4-link|{{{authorlink4|}}}}}}
        {{#if: {{{date|}}}
      |Authorlink5 = {{{author5-link|{{{authorlink5|}}}}}}
        | &#32;({{{date}}})
      |Authorlink6 = {{{author6-link|{{{authorlink6|}}}}}}
        | {{#if: {{{year|}}}
      |Authorlink7 = {{{author7-link|{{{authorlink7|}}}}}}
          | {{#if: {{{month|}}}
      |Authorlink8 = {{{author8-link|{{{authorlink8|}}}}}}
            | &#32;({{{month}}} {{{year}}})
      |Authorlink9 = {{{author9-link|{{{authorlink9|}}}}}}
            | &#32;({{{year}}})
      |Year={{{year|{{   <!-- attempt to derive year from date, if possible -->
          }}
                #if: {{{date|}}}
        }}
                |{{
      |}}
                    #iferror:{{#time:Y|{{{date|}}} }}
    }}{{#if: {{{last|}}}{{{author|}}}
                    |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
       | .&#32;}}{{
                    |{{#time:Y|{{{date|}}} }}
      #if: {{{editor|}}}
                  }}
       | &#32;{{{editor}}}:
                |{{{publication-date|}}} <!-- last resort -->
    }}"{{#if: {{{archiveurl|}}}
              }}
      | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
            }}}
      | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
      |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date|}}}}}}}}
    }}"{{#if: {{{format|}}} | &#32;({{{format}}})
      |Title={{{work|}}}
    }}{{#if:{{{language|}}}  
       |At = {{
      | &#32;(in {{{language}}})
              #if: {{{journal|{{{periodical|{{{newspaper|{{{magazine|}}}}}}}}}}}}
    }}{{#if: {{{work|}}}
              |{{{pages|{{{page|{{{at|}}}}}}}}}
      | .&#32;''{{{work}}}''
              |{{
    }}{{#if: {{{pages|}}}
                #if: {{{page|{{{pages|}}}}}}
      | &#32;{{{pages}}}
                |{{{page|{{{pages}}}}}}
    }}{{#if: {{{publisher|}}}
                |{{{at|}}}
       | .&#32; {{#if: {{{location|}}}
               
        | {{{location}}}:&#32;
              }}
      }} {{{publisher}}}{{#if: {{{author|}}}{{{last|}}}
            }}
        |
      |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]]}}}}
        | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }}
      |IncludedWorkURL = {{{archiveurl|{{{url|}}}}}}
      }}
      |Place = {{{place|{{{location|}}}}}}
    }}{{#if: {{{author|}}}{{{last|}}}
      |PublicationPlace = {{{publication-place|{{{place|{{{location|}}}}}}}}}
      ||{{#if: {{{date|}}}
      |Publisher = {{{publisher|}}}
        | &#32;({{{date}}})
       |PublicationDate = {{{publication-date|}}}
        | {{#if: {{{year|}}}
      |language = {{{language|{{{in|}}}}}}
          | {{#if: {{{month|}}}
      |format = {{{format|}}}
            | &#32;({{{month}}} {{{year}}})
       |DOI={{{doi|{{{DOI|}}}}}}
            | &#32;({{{year}}})
      |AccessDate={{{access-date|{{{accessdate|}}}}}}
          }}
      |DateFormat={{{dateformat|none}}}
        }}
       |quote = {{{quote|}}}
      }}
      |Ref={{{ref|}}}
    }}.{{#if: {{{archivedate|}}}
      |Sep = {{{separator|{{{seperator|.}}}}}}
       | &#32;Archived from [{{{url}}} the original] on {{{archivedate}}}.
      |PS={{#if:{{{quote|}}}||.}}
    }}{{#if: {{{doi|}}}  
       |Archive = {{
       | &#32;[[Digital object identifier|doi]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}].
                  #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]]}}}}
    }}{{#if: {{{accessdate|}}}
                }}
       | &#32;Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
    }}<noinclude>
    }}{{#if: {{{accessmonthday|}}}
       | &#32;Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
    }}{{#if: {{{accessdaymonth|}}}
      | &#32;Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} | &#32;{{{accessyear}}} }}.
    }}{{#if: {{{quote|}}}  
      | &nbsp;"{{{quote}}}"
    }}</includeonly><noinclude>
     
    {{pp-template|small=yes}}
    {{pp-template|small=yes}}
    {{Documentation}}
    {{documentation}}
    <!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
    <!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
    </noinclude>
    </noinclude>