Difference between revisions of "Template:Cite web"
From Project Management
| Line 1: | Line 1: | ||
| − | < | + | <includeonly>{{Citation/core |
| − | | {{#if: {{{ | + | |Citation class=web |
| − | + | |Surname1 = {{#if:{{{last|}}} | |
| − | + | |{{{last}}} | |
| − | + | |{{#if:{{{last1|}}} | |
| − | + | |{{{last1}}} | |
| − | + | |{{{author|}}} | |
| − | + | }} | |
| − | | {{ | + | }} |
| + | |Surname2 = {{{last2|{{{surname2|{{{author2|}}}}}}}}} | ||
| + | |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|}}} | ||
| + | |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>|title=</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|}}} | |
| − | }}{{#if: {{{ | + | |{{{accessdate}}} {{{accessyear}}} |
| − | }} | + | |{{{accessdate}}} |
| − | + | }} | |
| − | + | |{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}} | |
| − | + | }} | |
| − | }} | + | |DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}} |
| − | + | |quote = {{{quote|}}} | |
| − | + | |Ref={{{ref|}}} | |
| − | + | |Sep = {{#ifeq:{{{separator|{{{seperator}}} }}}|;|;|{{{separator|{{{seperator|.}}} }}} }} | |
| − | + | |PS={{#if:{{{quote|}}}||{{{postscript|.}}}}} | |
| − | }}{{ #if: {{{ | + | |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> | |
| − | + | {{Documentation}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
</noinclude> | </noinclude> | ||
Latest revision as of 21:06, 24 November 2010
{{#ifeq:μ|
||
{{#ifeq:μ|μ
}} |{{#ifexist: {{#switch: Cite web
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Cite web/doc
}}
|[[{{fullurl:{{#switch: Cite web
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Cite web/doc
}}|action=edit}} edit]] []
|[[{{fullurl:{{#switch: Cite web
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Cite web/doc
}}|action=edit&preload=Template:Documentation/preload}} create]]
}}}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|50px Template documentation|Documentation}}}}
{{#ifexist: {{#switch: Cite web
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Cite web/doc
}}
|This documentation is transcluded from [[{{#switch: Cite web |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Cite web/doc
}}]]. ([{{fullurl:{{#switch: Cite web
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Cite web/doc
}}|action=edit}} edit] | [{{fullurl:{{#switch: Cite web
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Cite web/doc
}}|action=history}} history])
}}{{#switch: Cite web
|sandbox|testcases=
|#default=
{{#switch: Template
|Template
|User=
{{#ifexist: Template:Cite web/sandbox
|This template has a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]) {{#ifexist: Template:Cite web/testcases
|and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])}} for editors to experiment.
|{{#ifexist: Template:Cite web/testcases
|This template has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.}}
}}}}}}
{{#if:|{{{content}}}|{{#ifexist:{{#switch: Cite web
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Cite web/doc
}} | {{ {{#switch: Cite web
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Cite web/doc
}} }} }}}}