Jump to content

Template:Citation/core: Difference between revisions

From IdeaWazaWiki
wikademia>Ruslik0
fixing dot problem per talk page
wikademia>Wikademia
m 1 revision
 
(15 intermediate revisions by 6 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 190: Line 192:
             }}
             }}
         }}
         }}
       }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq|{{{Sep|,}}}|.||.}}{{
       }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{
         #if: {{{Date|}}}
         #if: {{{Date|}}}
         |&#32;({{{Date}}})
         |&#32;({{{Date}}})
Line 281: Line 283:
         #if: {{{IncludedWorkTitle|}}}
         #if: {{{IncludedWorkTitle|}}}
         |
         |
         |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq|{{{Sep|,}}}|.||.}}
         |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}
       }}
       }}
   }}
   }}
Line 323: Line 325:
   |&#32;({{{format}}})
   |&#32;({{{format}}})
  }}{{
  }}{{
   #if: {{{Periodical|}}}|{{{Sep|,}}}&#32;''{{{Periodical}}}''{{
   #if: {{{Periodical|}}}|{{
      #if:{{{IncludedWorkTitle|}}}{{{Title|}}}|{{{Sep|,}}}&#32;}}''{{{Periodical}}}''{{
     #if: {{{Series|}}}
     #if: {{{Series|}}}
     |{{{Sep|,}}} {{{Series}}}
     |{{{Sep|,}}} {{{Series}}}
Line 356: Line 359:
     |{{
     |{{
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         |{{{Sep|,}}}&#32;
         |{{{Sep|,}}}&#32;|&#32;
       }}''{{Link
       }}''{{Link
         | 1={{
         | 1={{
Line 444: 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 462: 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 481: 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 498: 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|}}}  
   |{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
   |{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
}}{{#if:{{{laydate|}}}
}}{{#if:{{{laydate|}}}
   | &#32;([[{{{laydate}}}]])
   | &#32;({{{laydate}}})
}}{{#if:{{{quote|}}}
}}{{#if:{{{quote|}}}
   |{{{Sep|,}}} &#32;"{{{quote}}}"
   |{{{Sep|,}}} &#32;"{{{quote}}}"

Latest revision as of 19:37, 26 April 2009

 

[create] Template documentation