Jump to content

Template:Citation/core: Difference between revisions

From IdeaWazaWiki
wikademia>It Is Me Here
Implemented changes suggested at discussion
wikademia>Wikademia
m 1 revision
 
(20 intermediate revisions by 9 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}}.{{
      }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{
         #if: {{{Date|}}}
         #if: {{{Date|}}}
         |&#32;({{{Date}}})
         |&#32;({{{Date}}})
Line 221: Line 223:
         }}
         }}
   }}
   }}
}}{{
  #if:{{{language|}}}
  |&#32;(in {{{language}}})
}}{{
  #if:{{{format|}}}
  |&#32;({{{format}}})
}}{{
}}{{
<!--============  Place (if different than PublicationPlace) ============-->
<!--============  Place (if different than PublicationPlace) ============-->
Line 287: Line 283:
         #if: {{{IncludedWorkTitle|}}}
         #if: {{{IncludedWorkTitle|}}}
         |
         |
         |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}.
         |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}
       }}
       }}
   }}
   }}
Line 295: Line 291:
   |{{
   |{{
     #if: {{{Surname1|}}}{{{EditorSurname1|}}}
     #if: {{{Surname1|}}}{{{EditorSurname1|}}}
     |{{{Sep|,}}}&#32;
     |{{{Sep|,}}}&#32;}}{{
  }}{{
     #if: {{{Title|}}}
     #if: {{{Title|}}}
     |"{{Link
     |"{{Link
Line 323: Line 318:
             }}
             }}
         | 2={{{Title}}}
         | 2={{{Title}}}
       }}"{{
       }}"}}
  #if:{{{language|}}}  
}}{{
    | &#32;(in {{{language}}})
#if:{{{language|}}}  
  }}{{#if:{{{format|}}}
  | &#32;(in {{{language}}})
    |&#32;({{{format}}})
}}{{#if:{{{format|}}}
   }}{{{Sep|,}}}&#32;
  |&#32;({{{format}}})
  }}''{{{Periodical}}}''{{
}}{{
   #if: {{{Periodical|}}}|{{
      #if:{{{IncludedWorkTitle|}}}{{{Title|}}}|{{{Sep|,}}}&#32;}}''{{{Periodical}}}''{{
     #if: {{{Series|}}}
     #if: {{{Series|}}}
     |{{{Sep|,}}} {{{Series}}}
     |{{{Sep|,}}} {{{Series}}}
Line 362: Line 359:
     |{{
     |{{
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         |{{{Sep|,}}}&#32;
         |{{{Sep|,}}}&#32;|&#32;
       }}''{{Link
       }}''{{Link
         | 1={{
         | 1={{
Line 450: 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 468: 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 487: 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 504: 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}}}"
Line 596: Line 602:
     }}{{
     }}{{
       #if: {{{URL|{{{IncludedWorkURL|}}}}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
       #if: {{{URL|{{{IncludedWorkURL|}}}}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
     }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;">&nbsp;</span></span>
     }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;">&nbsp;</span></span><noinclude>{{documentation}}</noinclude>

Latest revision as of 19:37, 26 April 2009

 

[create] Template documentation