Template:Citation/core: Difference between revisions
Appearance
wikademia>Remember the dot undone, pending further discussion... |
wikademia>Remember the dot switching to Template:Citation/fixdate, at least temporarily, per request at Template talk:Citation#Year bug |
||
| Line 146: | Line 146: | ||
}}{{ | }}{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
| ({{ | | ({{Citation/fixdate|{{{Date}}}}}){{ | ||
#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|}}} | ||
| ({{ | | ({{Citation/fixdate|{{{Date}}}}}) | ||
}} | }} | ||
}} | }} | ||
| 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|,}}} {{ | |{{{Sep|,}}} {{Citation/fixdate|{{{Date}}}}} | ||
}} | }} | ||
}}{{ | }}{{ | ||
| Line 425: | Line 425: | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}} | #if: {{{Surname1|}}} | ||
|{{{Sep|,}}} {{ | |{{{Sep|,}}} {{Citation/fixdate|{{{PublicationDate}}}}} | ||
| (published {{ | | (published {{Citation/fixdate|{{{PublicationDate}}}}}) | ||
}} | }} | ||
|{{ | |{{ | ||
#if: {{{Periodical|}}} | #if: {{{Periodical|}}} | ||
|{{{Sep|,}}} {{ | |{{{Sep|,}}} {{Citation/fixdate|{{{PublicationDate}}}}} | ||
| (published {{ | | (published {{Citation/fixdate|{{{PublicationDate}}}}}) | ||
}} | }} | ||
}} | }} | ||
| 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 {{ | | {{#tag:nowiki|{{{DOI}}}}} (inactive {{Citation/fixdate|{{{DoiBroken|}}}}}) {{#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 {{ | | on {{Citation/fixdate|{{{ArchiveDate}}}}} | ||
|. <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 {{ | |{{#if:{{{ArchiveDate|}}}|{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived on {{Citation/fixdate|{{{ArchiveDate}}}}}; <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 {{ | | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|, r|. R}}etrieved on {{Citation/fixdate|{{{AccessDate}}}}}</span> | ||
}} | }} | ||
}}{{#if:{{{laysummary|}}} | }}{{#if:{{{laysummary|}}} | ||
Revision as of 06:38, 10 February 2009
[create] File:Template-info.svg Template documentation