Difference between revisions of "Template:Cite web"

From Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{Citation/core |Citation class=web |Surname1 = {{#if:{{{last|}}} |{{{last}}} |{{#if:{{{last1|}}} |{{{last1...")
 
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Citation/core
+
<noinclude>This is template</noinclude>
  |Citation class=web
+
<includeonly>
  |Surname1 = {{#if:{{{last|}}}
+
{{#ifeq:{{{last1|+}}}|{{{last1|-}}}| {{{last1}}}, }}
                |{{{last}}}
+
{{#ifeq:{{{first1|+}}}|{{{first1|-}}}| {{{first1}}} }}{{#ifeq:{{{last2|+}}}|{{{last2|-}}}| &#59; {{{last2}}}, }}
                |{{#if:{{{last1|}}}
+
{{#ifeq:{{{first2|+}}}|{{{first2|-}}}| {{{first2}}} }}{{#ifeq:{{{last3|+}}}|{{{last3|-}}}| &#59; {{{last3}}}, }}
                  |{{{last1}}}
+
{{#ifeq:{{{first3|+}}}|{{{first3|-}}}| {{{first3}}} }}{{#ifeq:{{{last4|+}}}|{{{last4|-}}}| &#59; {{{last4}}}, }}
                  |{{{author|}}}  
+
{{#ifeq:{{{first4|+}}}|{{{first4|-}}}| {{{first4}}} }}{{#ifeq:{{{last5|+}}}|{{{last5|-}}}| &#59; {{{last5}}}, }}
                }}
+
{{#ifeq:{{{first5|+}}}|{{{first5|-}}}| {{{first5}}} }}
              }}
+
{{#ifeq:{{{date|+}}}|{{{date|-}}}| ({{{date}}}). }}  
  |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}}
+
[{{{url}}} "{{{title}}}"].
  |Surname3 = {{{last3|}}}
+
{{#ifeq:{{{website|+}}}|{{{website|-}}}| ''{{{website}}}''. }}
  |Surname4 = {{{last4|}}}
+
{{#ifeq:{{{publisher|+}}}|{{{publisher|-}}}| {{{publisher}}}. }}
  |Surname5 = {{{last5|}}}
+
{{#ifeq:{{{accessdate|+}}}|{{{accessdate|-}}}| Retrieved {{{accessdate}}}. }}
  |Surname6 = {{{last6|}}}
+
</includeonly>
  |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|}}}
+
  |Coauthors = {{{coauthor|{{{coauthors|}}}}}}
+
  |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|{{{separator}}} }}}|;|&#059;|{{{separator|{{{separator|.}}} }}} }}
+
  |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|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly>
+

Latest revision as of 10:39, 23 November 2018

This is template