Difference between revisions of "Template:Cite web"

From Self-sufficiency
Jump to: navigation, search
(Created page with '<includeonly>{{Citation/core |Citation class=web |Surname1 = {{#if:{{{last|}}} |{{{last}}} |{{#if:{{{last1|}}} |{{{last1}}}…')
 
m (1 revision imported)
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<includeonly>{{Citation/core
+
<includeonly>{{#invoke:citation/CS1|citation
  |Citation class=web
+
|CitationClass=web
  |Surname1 = {{#if:{{{last|}}}
+
}}</includeonly><noinclude>
                |{{{last}}}
+
{{documentation}}
                |{{#if:{{{last1|}}}
+
                  |{{{last1}}}
+
                  |{{{author|}}}
+
                }}
+
              }}
+
  |Surname2 = {{#if:{{{last2|}}}|{{{last2}}}|{{{coauthors|}}}}}
+
  |Surname3 = {{{last3|}}}
+
  |Surname4 = {{{last4|}}}
+
  |Surname5 = {{{last5|}}}
+
  |Surname6 = {{{last6|}}}
+
  |Surname7 = {{{last7|}}}
+
  |Surname8 = {{{last8|}}}
+
  |Surname9 = {{{last9|}}}
+
  |Given1 = {{#if:{{{first|}}}|{{{first}}}|{{{first1|}}}}}
+
  |Given2 = {{{first2|}}}
+
  |Given3 = {{{first3|}}}
+
  |Given4 = {{{first4|}}}
+
  |Given5 = {{{first5|}}}
+
  |Given6 = {{{first6|}}}
+
  |Given7 = {{{first7|}}}
+
  |Given8 = {{{first8|}}}
+
  |Given9 = {{{first9|}}}
+
  |Authorlink1 = {{#if:{{{authorlink|}}}|{{{authorlink}}}|{{{authorlink1|}}}}}
+
  |Authorlink2 = {{{authorlink2|}}}
+
  |Authorlink3 = {{{authorlink3|}}}
+
  |Authorlink4 = {{{authorlink4|}}}
+
  |Authorlink5 = {{{authorlink5|}}}
+
  |Authorlink6 = {{{authorlink6|}}}
+
  |Authorlink7 = {{{authorlink7|}}}
+
  |Authorlink8 = {{{authorlink8|}}}
+
  |Authorlink9 = {{{authorlink9|}}}
+
  |EditorSurname1 = {{{editor-last|{{{editor-surname|{{{editor1-last|{{{editor1-surname|{{{editor1|{{{editor|{{{editors|}}}}}}}}}}}}}}}}}}}}}
+
  |EditorSurname2 = {{{editor2-last|{{{editor2-surname|{{{editor2|}}}}}}}}}
+
  |EditorSurname3 = {{{editor3-last|{{{editor3-surname|{{{editor3|}}}}}}}}}
+
  |EditorSurname4 = {{{editor4-last|{{{editor4-surname|{{{editor4|}}}}}}}}}
+
  |EditorGiven1 = {{{editor-first|{{{editor-given|{{{editor1-first|{{{editor1-given|}}}}}}}}}}}}
+
  |EditorGiven2={{{editor2-first|{{{editor2-given|}}}}}}
+
  |EditorGiven3={{{editor3-first|{{{editor3-given|}}}}}}
+
  |EditorGiven4={{{editor4-first|{{{editor4-given|}}}}}}
+
  |Editorlink1={{{editor-link|{{{editor1-link|}}}}}}
+
  |Editorlink2={{{editor2-link|}}}
+
  |Editorlink3={{{editor3-link|}}}
+
  |Editorlink4={{{editor4-link|}}}
+
  |Year={{#if:{{{year|}}}|{{{year}}}    <!-- attempt to derive year from date, if possible -->
+
          |{{#if: {{{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|}}} {{#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|}}}}}
+
  |PublicationPlace = {{{location|}}}
+
  |Publisher = {{{publisher|}}}
+
  |language = {{{language|}}}
+
  |format = {{{format|}}}
+
  |DOI={{{doi|{{{DOI|}}}}}}
+
  |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|}}}
+
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{access-date|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude>
+
{{Pp-template|small=yes}}
+
{{Documentation}}
+
 
</noinclude>
 
</noinclude>

Latest revision as of 20:55, 17 February 2018