Template:Citation/core: Difference between revisions
Appearance
wikademia>Happy-melon update, per talk |
wikademia>Remember the dot Removed undocumented DateFormat parameter following comment at Template talk:Date#Argh!. Even in the United Sates the DMY format is preferred for citations, and this template should be helping us keep citations the same, not make them different. |
||
| Line 146: | Line 146: | ||
}}{{ | }}{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
| ({{date|{{{Date}}} | | ({{date|{{{Date}}}|dmy}}){{ | ||
#if:{{{YearNote|}}} | #if:{{{YearNote|}}} | ||
| [{{{YearNote}}}] | | [{{{YearNote}}}] | ||
| Line 194: | Line 194: | ||
}}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{ | }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
| ({{date|{{{Date}}} | | ({{date|{{{Date}}}|dmy}}) | ||
}} | }} | ||
}} | }} | ||
| Line 326: | Line 326: | ||
}}{{ | }}{{ | ||
#if: {{{Periodical|}}}|{{ | #if: {{{Periodical|}}}|{{ | ||
#if:{{{IncludedWorkTitle|}}}{{{Title|}}}|{{{Sep|,}}} }}''{{{Periodical}}}''{{ | |||
#if: {{{Series|}}} | #if: {{{Series|}}} | ||
|{{{Sep|,}}} {{{Series}}} | |{{{Sep|,}}} {{{Series}}} | ||
| Line 413: | Line 413: | ||
|{{ | |{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
|{{{Sep|,}}} {{date|{{{Date}}} | |{{{Sep|,}}} {{date|{{{Date}}}|dmy}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
| Line 425: | Line 425: | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}} | #if: {{{Surname1|}}} | ||
|{{{Sep|,}}} {{date|{{{PublicationDate}}} | |{{{Sep|,}}} {{date|{{{PublicationDate}}}|dmy}} | ||
| (published {{date|{{{PublicationDate}}} | | (published {{date|{{{PublicationDate}}}|dmy}}) | ||
}} | }} | ||
|{{ | |{{ | ||
#if: {{{Periodical|}}} | #if: {{{Periodical|}}} | ||
|{{{Sep|,}}} {{date|{{{PublicationDate}}} | |{{{Sep|,}}} {{date|{{{PublicationDate}}}|dmy}} | ||
| (published {{date|{{{PublicationDate}}} | | (published {{date|{{{PublicationDate}}}|dmy}}) | ||
}} | }} | ||
}} | }} | ||
| Line 447: | Line 447: | ||
#if:{{{DOI|}}} | #if:{{{DOI|}}} | ||
|{{{Sep|,}}} [[Digital object identifier|doi]]:{{#if: {{{DoiBroken|}}} | |{{{Sep|,}}} [[Digital object identifier|doi]]:{{#if: {{{DoiBroken|}}} | ||
| {{#tag:nowiki|{{{DOI}}}}} (inactive {{date|{{{DoiBroken|}}} | | {{#tag:nowiki|{{{DOI}}}}} (inactive {{date|{{{DoiBroken|}}}|dmy}}) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Pages with DOIs broken since {{#time: Y | {{{DoiBroken|}}} }}]] }} | ||
| <span class="neverexpand">[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{#tag:nowiki|{{{DOI}}}}}]</span> | | <span class="neverexpand">[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{#tag:nowiki|{{{DOI}}}}}]</span> | ||
}} | }} | ||
| Line 486: | Line 486: | ||
|{{ | |{{ | ||
#if:{{{OriginalURL|}}} | #if:{{{OriginalURL|}}} | ||
|{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived from {{#if:{{{OriginalURL|}}}|{{link|{{{OriginalURL}}}|the original}}|the original <span class=error>(unspecified URL)</span>[[Category:Articles with broken citations]]}}{{ | |{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived from {{#if:{{{OriginalURL|}}}|{{link|{{{OriginalURL}}}|the original}}|the original <span class="error">(unspecified URL)</span>[[Category:Articles with broken citations]]}}{{ | ||
#if:{{{ArchiveDate|}}} | #if:{{{ArchiveDate|}}} | ||
| on {{date|{{{ArchiveDate}}} | | on {{date|{{{ArchiveDate}}}|dmy}} | ||
|. <span class=error>You must specify the date the archive was made using the {{para|archivedate}} parameter</span>{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}} | |. <span class="error">You must specify the date the archive was made using the {{para|archivedate}} parameter</span>{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}} | ||
}} | }} | ||
|{{#if:{{{ArchiveDate|}}}|{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived on {{date|{{{ArchiveDate}}} | |{{#if:{{{ArchiveDate|}}}|{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived on {{date|{{{ArchiveDate}}}|dmy}}; <span class="error">no {{para|archiveurl}} specified</span> [[Category:Articles with broken citations]]}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
| Line 510: | Line 510: | ||
}}{{ | }}{{ | ||
#if: {{{AccessDate|}}} | #if: {{{AccessDate|}}} | ||
| <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|, r|. R}}etrieved on {{date|{{{AccessDate}}} | | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|, r|. R}}etrieved on {{date|{{{AccessDate}}}|dmy}}</span> | ||
}} | }} | ||
}}{{#if:{{{laysummary|}}} | }}{{#if:{{{laysummary|}}} | ||
Revision as of 03:59, 10 February 2009
[create]
Template documentation