Jump to content

Template:Citation/core: Difference between revisions

From IdeaWazaWiki
wikademia>Happy-melon
update per talk
wikademia>Wikademia
m 1 revision
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<cite style="font-style:normal" class="{{{Citation class|Journal}}}"
<cite style="font-style:normal" class="{{{Citation class|}}}"
{{
{{
   #if:{{{Ref|}}}
   #if:{{{Ref|}}}
   |{{#ifeq:{{{Ref|}}}|none||id="{{anchorencode:{{{Ref|}}}}}"}}
   |{{#ifeq:{{{Ref|}}}|none||id="{{anchorencode:{{{Ref|}}}}}"}}
   |id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}}
   |{{#if:{{{Surname1|}}}{{{EditorSurname1|}}}
    |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
    |id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}}
    |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
      |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
  }}{{{Year|{{{Date|}}}}}}}}"
      |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
    }}{{{Year|{{{Date|}}}}}}}}"
  }}
}}>{{
}}>{{
<!--============  Author or editor and date  ============-->
<!--============  Author or editor and date  ============-->
Line 322: Line 324:
  }}{{#if:{{{format|}}}
  }}{{#if:{{{format|}}}
   |&#32;({{{format}}})
   |&#32;({{{format}}})
  }}{{#if: {{{Periodical|}}}
  }}{{
    |{{#if: {{{IncludedWorkTitle|}}}{{{Title|}}}
  #if: {{{Periodical|}}}|{{
        |{{{Sep|,}}}&#32;
      #if:{{{IncludedWorkTitle|}}}{{{Title|}}}|{{{Sep|,}}}&#32;}}''{{{Periodical}}}''{{
      }}''{{{Periodical}}}''{{
     #if: {{{Series|}}}
     #if: {{{Series|}}}
     |{{{Sep|,}}} {{{Series}}}
     |{{{Sep|,}}} {{{Series}}}
Line 358: Line 359:
     |{{
     |{{
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         |{{{Sep|,}}}&#32;
         |{{{Sep|,}}}&#32;|&#32;
       }}''{{Link
       }}''{{Link
         | 1={{
         | 1={{
Line 446: 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|}}}}}) {{#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 464: 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 483: Line 484:
   #if: {{{Archive|}}}
   #if: {{{Archive|}}}
   |{{{Sep|,}}} {{{Archive}}}
   |{{{Sep|,}}} {{{Archive}}}
  |{{
    #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]]}}{{
      #if:{{{ArchiveDate|}}}
      |&#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]]}}
      }}
    |{{#if:{{{ArchiveDate|}}}|{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived on {{{ArchiveDate}}}; <span class="error">no {{para|archiveurl}} specified</span> [[Category:Articles with broken citations]]}}
  }}
}}{{  
}}{{  
<!--============ URL and AccessDate ============-->
<!--============ URL and AccessDate ============-->
Line 500: Line 510:
   }}{{
   }}{{
     #if: {{{AccessDate|}}}
     #if: {{{AccessDate|}}}
     | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|,&#32;r|.&#32;R}}etrieved on {{date|{{{AccessDate}}}|{{{DateFormat|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