Jump to: navigation, search

Differenze tra le versioni di "Template:Cite web"

m (1 revisioni importate)
m (fix again...)
Riga 1: Riga 1:
<includeonly>{{
+
<includeonly>{{Citation/core
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
+
  |Citation class=web
  ||You must specify  '''''title = ''''' and '''''url = ''''' when using {{[[Template:cite web|cite web]]}}.
+
  |Surname1 = {{#if:{{{last|}}}
{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}
+
                |{{{last}}}
}}{{
+
                |{{#if:{{{last1|}}}
#if: {{{archiveurl|}}}{{{archivedate|}}}  
+
                  |{{{last1}}}
   | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
+
                  |{{{author|}}}
    ||You must specify '''''archiveurl = ''''' and '''''archivedate = ''''' when using {{[[Template:cite web|cite web]]}}.
+
                }}
{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}
+
              }}
}}
+
  |Surname2 = {{#if:{{{last2|}}}|{{{last2}}}|{{{coauthors|}}}}}
}}{{#if: {{{author|}}}{{{last|}}}
+
  |Surname3 = {{{last3|}}}
   | {{#if: {{{authorlink|}}}
+
  |Surname4 = {{{last4|}}}
    | [[{{{authorlink}}}|{{#if: {{{last|}}}
+
   |Surname5 = {{{last5|}}}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
+
  |Surname6 = {{{last6|}}}
      | {{{author}}}
+
  |Surname7 = {{{last7|}}}
    }}]]
+
  |Surname8 = {{{last8|}}}
    | {{#if: {{{last|}}}
+
  |Surname9 = {{{last9|}}}
      | {{{last}}}{{#if: {{{first|}}} | , {{{first}}} }}
+
  |Given1 = {{#if:{{{first|}}}|{{{first}}}|{{{first1|}}}}}
      | {{{author}}}
+
  |Given2 = {{{first2|}}}
    }}
+
   |Given3 = {{{first3|}}}
   }}
+
  |Given4 = {{{first4|}}}
}}{{#if: {{{author|}}}{{{last|}}}
+
  |Given5 = {{{first5|}}}
   | {{#if: {{{coauthors|}}}| <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
+
  |Given6 = {{{first6|}}}
}}{{#if: {{{author|}}}{{{last|}}}|
+
  |Given7 = {{{first7|}}}
    {{#if: {{{date|}}}
+
  |Given8 = {{{first8|}}}
    | &#32;({{{date}}})
+
  |Given9 = {{{first9|}}}
    | {{#if: {{{year|}}}
+
  |Authorlink1 = {{#if:{{{authorlink|}}}|{{{authorlink}}}|{{{authorlink1|}}}}}
      | {{#if: {{{month|}}}
+
  |Authorlink2 = {{{authorlink2|}}}
        | &#32;({{{month}}} {{{year}}})
+
  |Authorlink3 = {{{authorlink3|}}}
        | &#32;({{{year}}})
+
  |Authorlink4 = {{{authorlink4|}}}
      }}
+
   |Authorlink5 = {{{authorlink5|}}}
    }}
+
  |Authorlink6 = {{{authorlink6|}}}
   |}}
+
  |Authorlink7 = {{{authorlink7|}}}
}}{{#if: {{{last|}}}{{{author|}}}
+
   |Authorlink8 = {{{authorlink8|}}}
  | .&#32;}}{{
+
  |Authorlink9 = {{{authorlink9|}}}
  #if: {{{editor|}}}
+
  |Year={{#if:{{{year|}}}|{{{year}}}   <!-- attempt to derive year from date, if possible -->
  | &#32;{{{editor}}}:
+
          |{{#if: {{{date|}}}
}}"{{#if: {{{archiveurl|}}}
+
            |{{#iferror: {{#time:Y|{{{date|}}} }}
  | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
+
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
  | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
+
                |{{#time:Y|{{{date|}}} }}
}}"{{#if: {{{format|}}} | &#32;({{{format}}})
+
              }}
}}{{#if:{{{language|}}}  
+
            |{{{publication-date|}}} <!-- last resort -->
  | &#32;(in {{{language}}})
+
          }}
}}{{#if: {{{work|}}}
+
        }}
  | .&#32;''{{{work}}}''
+
   |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}}
}}{{#if: {{{pages|}}}
+
  |Title={{{work|}}}
   | &#32;{{{pages}}}
+
  |TransTitle={{{trans_title|}}}
}}{{#if: {{{publisher|}}}
+
  |At = {{#if:{{{page|}}}|{{{page}}}|{{#if:{{{pages|}}}|{{{pages|}}}|{{{at|}}} }} }}
   | .&#32; {{#if: {{{location|}}}
+
  |IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|
    | {{{location}}}:&#32;
+
{{#if:{{{trans_title|}}}||
   }} {{{publisher}}}{{#if: {{{author|}}}{{{last|}}}
+
{{Citation error|no {{para|title}} specified|cite web}}}}|{{Citation error|no {{para|url}} specified|cite web}}}}}}
    |
+
  |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}}
    | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }}
+
   |PublicationPlace = {{{location|}}}
  }}
+
  |Publisher = {{{publisher|}}}
}}{{#if: {{{author|}}}{{{last|}}}
+
   |language = {{{language|}}}
  ||{{#if: {{{date|}}}
+
  |format = {{{format|}}}
    | &#32;({{{date}}})
+
   |DOI={{{doi|{{{DOI|}}}}}}
    | {{#if: {{{year|}}}
+
  |AccessDate={{#if:{{{accessdate|}}}|{{#if: {{{accessyear|}}}|{{{accessdate}}} {{{accessyear}}}|{{{accessdate}}}}}|{{
       | {{#if: {{{month|}}}
+
    #if:{{{accessdaymonth|}}}|{{{accessdaymonth}}} {{{accessyear|}}}|{{
        | &#32;({{{month}}} {{{year}}})
+
      #if:{{{accessmonthday|}}}|{{{accessmonthday}}} {{{accessyear|}}}|
        | &#32;({{{year}}})
+
       {{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}
 
       }}
 
       }}
 
     }}
 
     }}
  }}
+
  }}
}}.{{#if: {{{archivedate|}}}
+
  |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}}
  | &#32;Archived from [{{{url}}} the original] on {{{archivedate}}}.
+
  |quote = {{{quote|}}}
}}{{#if: {{{doi|}}}  
+
  |Ref={{{ref|}}}
   | &#32;[[Digital object identifier|doi]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}].
+
   |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
}}{{#if: {{{accessdate|}}}
+
  |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}
  | &#32;Retrieved on {{{accessdate}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
+
  |OriginalURL = {{#if:{{{archiveurl|}}}|{{{url|}}}}}
}}{{#if: {{{accessmonthday|}}}
+
  |ArchiveDate= {{{archivedate|}}}
  | &#32;Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
+
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}|[[Category:Cite web templates using unusual accessdate parameters|{{FULLPAGENAME}}]]}}</includeonly><noinclude>
}}{{#if: {{{accessdaymonth|}}}
+
{{pp-template}}
  | &#32;Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} | &#32;{{{accessyear}}} }}.
+
{{documentation}}
}}{{#if: {{{quote|}}}
 
  | &nbsp;"{{{quote}}}"
 
}}</includeonly><noinclude>
 
 
 
{{pp-template|small=yes}}
 
{{Documentation}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
 
</noinclude>
 
</noinclude>

Revisione 21:42, 25 Giu 2009