Jump to content

Template:Citation/core: Difference between revisions

From IdeaWazaWiki
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>Wikademia
m 1 revision
 
(9 intermediate revisions by 3 users not shown)
Line 146: Line 146:
   }}{{
   }}{{
     #if: {{{Date|}}}
     #if: {{{Date|}}}
     | ({{date|{{{Date}}}|dmy}}){{
     | ({{{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|}}}
         | ({{date|{{{Date}}}|dmy}})
         | ({{{Date}}})
       }}
       }}
   }}
   }}
Line 359: Line 359:
     |{{
     |{{
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         |{{{Sep|,}}} 
         |{{{Sep|,}}} | 
       }}''{{Link
       }}''{{Link
         | 1={{
         | 1={{
Line 413: Line 413:
   |{{
   |{{
     #if: {{{Date|}}}
     #if: {{{Date|}}}
     |{{{Sep|,}}} {{date|{{{Date}}}|dmy}}
     |{{{Sep|,}}} {{{Date}}}
   }}
   }}
}}{{
}}{{
Line 425: Line 425:
         |{{
         |{{
           #if: {{{Surname1|}}}
           #if: {{{Surname1|}}}
           |{{{Sep|,}}} {{date|{{{PublicationDate}}}|dmy}}
           |{{{Sep|,}}} {{{PublicationDate}}}
           | (published {{date|{{{PublicationDate}}}|dmy}})
           | (published {{{PublicationDate}}})
         }}
         }}
         |{{
         |{{
           #if: {{{Periodical|}}}
           #if: {{{Periodical|}}}
           |{{{Sep|,}}} {{date|{{{PublicationDate}}}|dmy}}
           |{{{Sep|,}}} {{{PublicationDate}}}
           | (published {{date|{{{PublicationDate}}}|dmy}})
           | (published {{{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 {{date|{{{DoiBroken|}}}|dmy}}) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Pages with DOIs broken since {{#time: Y | {{{DoiBroken|}}} }}]] }}
     | {{#tag:nowiki|{{{DOI}}}}} (inactive {{{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 465: Line 465:
<!--============ OCLC ============-->
<!--============ OCLC ============-->
   #if: {{{OCLC|}}}
   #if: {{{OCLC|}}}
   |{{{Sep|,}}} [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{OCLC}}}}} {{{OCLC}}}]
   |{{{Sep|,}}} [[Online Computer Library Center|OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{OCLC}}}}} {{{OCLC}}}]
}}{{
}}{{
<!--============ PMID ============-->  
<!--============ PMID ============-->  
Line 488: Line 488:
     |{{{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|}}}
       |&#32;on {{date|{{{ArchiveDate}}}|dmy}}
       |&#32;on {{{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 {{date|{{{ArchiveDate}}}|dmy}}; <span class="error">no {{para|archiveurl}} specified</span> [[Category:Articles with broken citations]]}}
     |{{#if:{{{ArchiveDate|}}}|{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived on {{{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|,}}}|,|,&#32;r|.&#32;R}}etrieved on {{date|{{{AccessDate}}}|dmy}}</span>
     | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|,&#32;r|.&#32;R}}etrieved on {{{AccessDate}}}</span>
     }}
     }}
}}{{#if:{{{laysummary|}}}  
}}{{#if:{{{laysummary|}}}  

Latest revision as of 19:37, 26 April 2009

 

[create] Template documentation