Template:Cite web: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>TKD
fix empty separator case
Ookami (talk | contribs)
m 300 revisions imported
 
(54 intermediate revisions by 23 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}}}
                |{{#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|}}}
  |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|}}}
  |At = {{#if:{{{page|}}}|{{{page}}}|{{#if:{{{pages|}}|{{{pages|}}}|{{{at|}}} }} }}
  |IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|{{Citation error|no {{para|title}} specified|cite web}}}}|{{Citation error|no {{para|url}} 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}}}}}|{{
    #if:{{{accessdaymonth|}}}|{{{accessdaymonth}}} {{{accessyear|}}}|{{
      #if:{{{accessmonthday|}}}|{{{accessmonthday}}} {{{accessyear|}}}|
      {{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}
      }}
    }}
  }}
  |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}}
  |quote = {{{quote|}}}
  |Ref={{{ref|}}}
  |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|&#059;|{{{separator|{{{seperator|.}}} }}} }}
  |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}}
  |OriginalURL = {{#if:{{{archiveurl|}}}|{{{url|}}}}}
  |ArchiveDate= {{{archivedate|}}}
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}|[[Category:Cite web templates using unusual accessdate parameters|{{FULLPAGENAME}}]]}}</includeonly><noinclude>
{{pp-template}}
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 15:24, 1 September 2020