Template:Cite web: Difference between revisions
Appearance
wikademia>Happy-melon you cannot use parameter defaults when people are going to leave parameters blank but defined |
wikademia>Wikademia m 1 revision |
||
| (20 intermediate revisions by 8 users not shown) | |||
| Line 1: | Line 1: | ||
{{Citation/core | <includeonly>{{Citation/core | ||
|Citation class=web | |Citation class=web | ||
|Surname1 = {{{last| | |Surname1 = {{#if:{{{last|}}} | ||
|Surname2 = {{{ | |{{{last}}} | ||
|Surname3 = {{{last3| | |{{#if:{{{last1|}}} | ||
|Surname4 = {{{last4| | |{{{last1}}} | ||
|Surname5 = {{{last5| | |{{{author|}}} | ||
|Surname6 = {{{last6| | }} | ||
|Surname7 = {{{last7 | }} | ||
|Surname8 = {{{last8| | |Surname2 = {{#if:{{{last2|}}}|{{{last2}}}|{{{coauthors|}}}}} | ||
|Surname9 = {{{last9 | |Surname3 = {{{last3|}}} | ||
|Given1 = {{{ | |Surname4 = {{{last4|}}} | ||
|Given2 = {{{first2| | |Surname5 = {{{last5|}}} | ||
|Given3 = {{{first3| | |Surname6 = {{{last6|}}} | ||
|Given4 = {{{first4 | |Surname7 = {{{last7|}}} | ||
|Given5 = {{{first5| | |Surname8 = {{{last8|}}} | ||
|Given6 = {{{first6| | |Surname9 = {{{last9|}}} | ||
|Given7 = {{{first7| | |Given1 = {{#if:{{{first|}}}|{{{first}}}|{{{first1|}}}}} | ||
|Given8 = {{{first8| | |Given2 = {{{first2|}}} | ||
|Given9 = {{{first9| | |Given3 = {{{first3|}}} | ||
|Authorlink1 = {{{ | |Given4 = {{{first4|}}} | ||
|Authorlink2 = | |Given5 = {{{first5|}}} | ||
|Authorlink3 = | |Given6 = {{{first6|}}} | ||
|Authorlink4 = | |Given7 = {{{first7|}}} | ||
|Authorlink5 = | |Given8 = {{{first8|}}} | ||
|Authorlink6 = | |Given9 = {{{first9|}}} | ||
|Authorlink7 = | |Authorlink1 = {{#if:{{{authorlink|}}}|{{{authorlink}}}|{{{authorlink1|}}}}} | ||
|Authorlink8 = | |Authorlink2 = {{{authorlink2|}}} | ||
|Authorlink9 = | |Authorlink3 = {{{authorlink3|}}} | ||
|Year={{{year|{{ <!-- attempt to derive year from date, if possible --> | |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|}}} }}}} | |{{#iferror:{{#time:Y|{{{publication-date|einval}}} }}||{{#time:Y|{{{publication-date|}}} }}}} | ||
|{{#time:Y|{{{date|}}} }} | |{{#time:Y|{{{date|}}} }} | ||
| Line 37: | Line 42: | ||
|{{{publication-date|}}} <!-- last resort --> | |{{{publication-date|}}} <!-- last resort --> | ||
}} | }} | ||
}} | |||
|Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{{year|{{{publication-date| | |Date = {{#if:{{{date|}}}|{{{date}}}|{{{day|}}} {{{month|}}} {{#if:{{{year|}}}|{{{year}}}|{{{publication-date|}}}}}}} | ||
|Title={{{work|}}} | |Title={{{work|}}} | ||
|At = {{ | |At = {{#if:{{{page|}}}|{{{page}}}|{{{pages|}}}}} | ||
|IncludedWorkTitle = {{#if:{{{url|}}}|{{#if:{{{title|}}}|{{{title}}}|<span class="error">Error: no {{para|title}} specified when using {{tl|cite web}}</span>{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}}|<span class="error">Error: no {{para|url}} specified when using {{tl|cite web}}</span>{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}}} | |||
|IncludedWorkURL = {{#if:{{{archiveurl|}}}|{{{archiveurl|}}}|{{{url|}}}}} | |||
|Place = {{{location|}}} | |||
|IncludedWorkURL = {{#if: {{{archiveurl|}}} | {{{archiveurl|}}} | {{{url|}}} }} | |||
|Place = | |||
|Publisher = {{{publisher|}}} | |Publisher = {{{publisher|}}} | ||
|language = {{{language|}}} | |||
|language = {{{language| | |||
|format = {{{format|}}} | |format = {{{format|}}} | ||
|DOI={{{doi|{{{DOI|}}}}}} | |DOI={{{doi|{{{DOI|}}}}}} | ||
|AccessDate={{#if:{{{ | |AccessDate={{#if:{{{accessdate|}}}|{{{accessdate}}}|{{ | ||
|DateFormat={{{dateformat|none | #if:{{{accessdaymonth|}}}|{{{accessdaymonth}}} {{{accessyear|}}}|{{ | ||
#if:{{{accessmonthday|}}}|{{{accessmonthday}}} {{{accessyear|}}}| | |||
{{{accessday|}}} {{{accessmonth|}}} {{{accessyear|}}} | |||
}} | |||
}} | |||
}} | |||
|DateFormat={{#if:{{{dateformat|}}}|{{{dateformat}}}|none}} | |||
|quote = {{{quote|}}} | |quote = {{{quote|}}} | ||
|Ref={{{ref|}}} | |Ref={{{ref|}}} | ||
|Sep = {{{separator|{{{seperator|.}}}}}} | |Sep = {{{separator|{{{seperator|.}}}}}} | ||
|PS={{#if:{{{quote|}}}||.}} | |PS={{#if:{{{quote|}}}||.}} | ||
| | |OriginalURL = {{#if:{{{archiveurl|}}}|{{{url|}}}}} | ||
|ArchiveDate= {{{archivedate|}}} | |||
}}{{#if:{{{accessdaymonth|}}}{{{accessmonthday|}}}|[[Category:Cite web templates using unusual accessdate parameters|{{NAMESPACE}} {{PAGENAME}}]]}}</includeonly><noinclude> | |||
{{pp-template}} | |||
{{pp-template | |||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 17:36, 10 April 2009
[create]
Template documentation