Jump to: navigation, search

Differenze tra le versioni di "Template:Cite web"

(rv for now - they all need to be done at once, if at all)
m (1 revisioni importate)
 
(6 versioni intermedie di 4 utenti non mostrate)
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 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}
}}{{#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;({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{{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|}}}
+
  |Coauthors = {{{coauthor|{{{coauthors|}}}}}}
   | &#32;{{{editor}}}:
+
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor1|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}}}}
}}{{#if: {{{curly|}}}|“|"
+
  |EditorSurname2 = {{{editor2-last|{{{editor2-surname|{{{editor2|}}}}}}}}}
   }}{{#if: {{{archiveurl|}}}
+
   |EditorSurname3 = {{{editor3-last|{{{editor3-surname|{{{editor3|}}}}}}}}}
    | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | [{{{archiveurl}}} {{{title}}}] }}}}
+
   |EditorSurname4 = {{{editor4-last|{{{editor4-surname|{{{editor4|}}}}}}}}}
    | {{#if: {{{url|}}} | {{#if: {{{title|}}} | [{{{url}}} {{{title}}}] }}}}
+
   |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
   }}{{#if: {{{curly|}}}|”|"
+
  |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
}}{{#if: {{{format|}}} | &#32;({{{format}}})
+
  |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
}}{{#if:{{{language|}}}  
+
  |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
  | &#32;(in {{{language}}})
+
  |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
}}{{#if: {{{work|}}}
+
  |Editorlink2={{{editor2-link|}}}
  | .&#32;''{{{work}}}''
+
  |Editorlink3={{{editor3-link|}}}
}}{{#if: {{{pages|}}}
+
   |Editorlink4={{{editor4-link|}}}
  | &#32;{{{pages}}}
+
  |Year={{#if:{{{year|}}}|{{{year}}}   <!-- attempt to derive year from date, if possible -->
}}{{#if: {{{publisher|}}}
+
          |{{#if: {{{date|}}}
  | .&#32;{{{publisher}}}{{#if: {{{author|}}}{{{last|}}}
+
            |{{#iferror: {{#time:Y|{{{date|}}} }}
    |
+
                |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}}
    | {{#if: {{{date|}}}{{{year|}}}{{{month|}}} || }}
+
                |{{#time:Y|{{{date|}}} }}
  }}
+
              }}
}}{{#if: {{{author|}}}{{{last|}}}
+
            |{{{publication-date|}}} <!-- last resort -->
   ||{{#if: {{{date|}}}
+
          }}
    | &#32;({{#ifeq:{{#time:Y-m-d|{{{date}}}}}|{{{date}}}|[[{{{date}}}]]|{{#ifeq:{{#time:Y-m-d|{{{date}}}}}|1970-01-01|[[{{{date}}}]]|{{{date}}}}}}})
+
        }}
    | {{#if: {{{year|}}}
+
  |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}}
      | {{#if: {{{month|}}}
+
  |Title={{{work|}}}
        | &#32;({{{month}}} {{{year}}})
+
   |TransTitle={{{trans_title|}}}
        | &#32;({{{year}}})
+
  |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: {{{doi|}}}  
+
  |language = {{{language|}}}
   | &#32;[[Digital object identifier|doi]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}].
+
   |format = {{{format|}}}
}}{{#if: {{{accessdate|}}}
+
  |ARXIV={{{arxiv|}}}
   | &#32;Retrieved on [[{{{accessdate}}}]]{{#if: {{{accessyear|}}} | , [[{{{accessyear}}}]] }}.
+
  |ASIN={{{asin|{{{ASIN|}}}}}}
}}{{#if: {{{accessmonthday|}}}
+
  |BIBCODE={{{bibcode|}}}
   | &#32;Retrieved on {{{accessmonthday}}}{{#if: {{{accessyear|}}} | , {{{accessyear}}} }}.
+
  |DOI={{{doi|{{{DOI|}}}}}}
}}{{#if: {{{accessdaymonth|}}}
+
  |DoiBroken={{{doi_inactivedate|{{{doi_brokendate|}}}}}}
   | &#32;Retrieved on {{{accessdaymonth}}}{{#if: {{{accessyear|}}} | &#32;{{{accessyear}}} }}.
+
  |ISBN={{{isbn|{{{ISBN|}}}}}}
}}{{#if: {{{quote|}}}  
+
  |ISSN={{{issn|{{{ISSN|}}}}}}
   | &nbsp;“{{{quote}}}
+
  |JFM={{{jfm|{{{JFM|}}}}}}
}}</includeonly><noinclude>
+
  |JSTOR={{{jstor|{{{JSTOR|}}}}}}
 
+
  |LCCN={{{lccn|{{{LCCN|}}}}}}
{{pp-template|small=yes}}
+
   |MR={{{mr|{{{MR|}}}}}}
 +
  |OCLC={{{oclc|{{{OCLC|}}}}}}
 +
  |OL={{{ol|{{{OL|}}}}}}
 +
  |OSTI={{{osti|{{{OSTI|}}}}}}
 +
  |PMC={{{pmc|{{{PMC|}}}}}}
 +
  |Embargo={{{pmc-embargo-date|1010-10-10}}}
 +
   |PMID={{{pmid|{{{PMID|}}}}}}
 +
  |RFC={{{rfc|{{{RFC|}}}}}}
 +
  |SSRN={{{ssrn|{{{SSRN|}}}}}}
 +
  |ZBL={{{zbl|}}}
 +
  |ID={{{id|{{{ID|}}}}}}
 +
   |AccessDate={{#if:{{{accessdate|}}}
 +
                |{{#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|}}}
 +
  |template doc demo={{{template doc demo|}}}
 +
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}{{{accessed|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
 
</noinclude>
 
</noinclude>

Versione attuale delle 18:20, 31 Mag 2011