Template:Citation/core: Difference between revisions
Appearance
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. |
wikademia>Remember the dot undone, pending further discussion... |
||
| Line 146: | Line 146: | ||
}}{{ | }}{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
| ({{date|{{{Date}}}|dmy}}){{ | | ({{date|{{{Date}}}|{{{DateFormat|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}}}|dmy}}) | | ({{date|{{{Date}}}|{{{DateFormat|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}}}|dmy}} | |{{{Sep|,}}} {{date|{{{Date}}}|{{{DateFormat|dmy}}}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
| Line 425: | Line 425: | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}} | #if: {{{Surname1|}}} | ||
|{{{Sep|,}}} {{date|{{{PublicationDate}}}|dmy}} | |{{{Sep|,}}} {{date|{{{PublicationDate}}}|{{{DateFormat|dmy}}}}} | ||
| (published {{date|{{{PublicationDate}}}|dmy}}) | | (published {{date|{{{PublicationDate}}}|{{{DateFormat|dmy}}}}}) | ||
}} | }} | ||
|{{ | |{{ | ||
#if: {{{Periodical|}}} | #if: {{{Periodical|}}} | ||
|{{{Sep|,}}} {{date|{{{PublicationDate}}}|dmy}} | |{{{Sep|,}}} {{date|{{{PublicationDate}}}|{{{DateFormat|dmy}}}}} | ||
| (published {{date|{{{PublicationDate}}}|dmy}}) | | (published {{date|{{{PublicationDate}}}|{{{DateFormat|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|}}}|dmy}}) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Pages with DOIs broken since {{#time: Y | {{{DoiBroken|}}} }}]] }} | | {{#tag:nowiki|{{{DOI}}}}} (inactive {{date|{{{DoiBroken|}}}|{{{DateFormat|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= | |{{{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}}}|dmy}} | | on {{date|{{{ArchiveDate}}}|{{{DateFormat|dmy}}}}} | ||
|. <span class= | |. <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}}}|dmy}}; <span class= | |{{#if:{{{ArchiveDate|}}}|{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived on {{date|{{{ArchiveDate}}}|{{{DateFormat|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}}}|dmy}}</span> | | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|, r|. R}}etrieved on {{date|{{{AccessDate}}}|{{{DateFormat|dmy}}} }}</span> | ||
}} | }} | ||
}}{{#if:{{{laysummary|}}} | }}{{#if:{{{laysummary|}}} | ||
Revision as of 04:38, 10 February 2009
[create] File:Template-info.svg Template documentation