Jump to content

Template:Cite web: Difference between revisions

change the accessdate logic, copied from cite news
m>Happy-melon
(restore accessdaymonth detection)
m>JHunterJ
(change the accessdate logic, copied from cite news)
Line 53: Line 53:
   |format = {{{format|}}}
   |format = {{{format|}}}
   |DOI={{{doi|{{{DOI|}}}}}}
   |DOI={{{doi|{{{DOI|}}}}}}
   |AccessDate={{#if:{{{accessdate|}}}|{{{accessdate|}}}|{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}}}
   |AccessDate={{#if:{{{accessdate|}}}|{{{accessdate}}}|{{
    #if:{{{accessdaymonth|}}}|{{{accessdaymonth}}} {{{accessyear|}}}|{{
      #if:{{{accessmonthday|}}}|{{{accessmonthday}}} {{{accessyear|}}}|
      {{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}}
      }}
    }}
  }}
   |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}}
   |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}}
   |quote = {{{quote|}}}
   |quote = {{{quote|}}}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.