Template:Cite web: Difference between revisions
Jump to navigation
Jump to search
deprecate dateformat
(New page: <includeonly>{{ #if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}} ||Error on call to Template:cite web: Parameters '''url''' and '''title''' must be specified }}{{ #if: {{{archiveu...) |
(deprecate dateformat) |
||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{Citation/core | ||
|Citation class=web | |||
|Surname1 = {{#if:{{{last|}}} | |||
|{{{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|}}} | |||
| {{#if: {{{ | |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|}}} | |||
}}{{#if: {{{ | |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>|title=</code> specified|Cite web}} | |||
}} | }} | ||
}} | }} | ||
}} | |IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}} | ||
}} | |PublicationPlace = {{{location|}}} | ||
| | |Publisher = {{{publisher|}}} | ||
}}{{ | |language = {{{language|}}} | ||
| | |format = {{{format|}}} | ||
}}{{#if: {{{ | |DOI={{{doi|{{{DOI|}}}}}} | ||
| | |AccessDate={{#if:{{{accessdate|}}} | ||
}}{{#if: {{{ | |{{#if: {{{accessyear|}}} | ||
| | |{{{accessdate}}} {{{accessyear}}} | ||
}}{{#if: {{{ | |{{{accessdate}}} | ||
}} | |||
}}</includeonly><noinclude>{{ | |{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}} | ||
}} | |||
|DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}} | |||
|quote = {{{quote|}}} | |||
|Ref={{{ref|}}} | |||
|Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|;|{{{separator|{{{seperator|.}}} }}} }} | |||
|PS={{#if:{{{quote|}}}||{{{postscript|.}}}}} | |||
|ArchiveURL = {{{archiveurl|}}} | |||
|OriginalURL = {{{url|}}} | |||
|ArchiveDate= {{{archivedate|}}} | |||
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}{{{accessday|}}}{{{accessmonth|}}}{{{accessyear|}}}{{{day|}}}{{{dateformat|}}}|[[Category:Pages containing cite templates with deprecated parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude> | |||
{{Pp-template|small=yes}} | |||
{{Documentation}} | |||
</noinclude> | </noinclude> |