Template:Citation/core: Difference between revisions
Appearance
wikademia>Elonka Updating from sandbox, per talkpage request |
wikademia>Wikademia m 1 revision |
||
| (23 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
<cite style="font-style:normal" class="{{{Citation class| | <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|}}} | ||
|id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}} | |||
|{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}} | |||
|{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}} | |||
}}{{{Year|{{{Date|}}}}}}}}" | |||
}} | |||
}}>{{ | }}>{{ | ||
<!--============ Author or editor and date ============--> | <!--============ Author or editor and date ============--> | ||
| Line 144: | Line 146: | ||
}}{{ | }}{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
| ({{{Date}}}) | | ({{{Date}}}){{ | ||
#if:{{{YearNote|}}} | |||
| [{{{YearNote}}}] | |||
}} | |||
}} | }} | ||
|{{<!-- ============== No author display editors first == --> | |{{<!-- ============== No author display editors first == --> | ||
| Line 187: | Line 192: | ||
}} | }} | ||
}} | }} | ||
}}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{ | |||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
| ({{{Date}}}) | | ({{{Date}}}) | ||
| Line 217: | Line 222: | ||
|"{{{IncludedWorkTitle}}}" | |"{{{IncludedWorkTitle}}}" | ||
}} | }} | ||
}} | |||
}} | |||
}}{{ | }}{{ | ||
<!--============ Place (if different than PublicationPlace) ============--> | <!--============ Place (if different than PublicationPlace) ============--> | ||
| Line 283: | Line 283: | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
| | | | ||
|{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}. | |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}} | ||
}} | }} | ||
}} | }} | ||
| Line 291: | Line 291: | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}}{{{EditorSurname1|}}} | #if: {{{Surname1|}}}{{{EditorSurname1|}}} | ||
|{{{Sep|,}}}  | |{{{Sep|,}}} }}{{ | ||
#if: {{{Title|}}} | #if: {{{Title|}}} | ||
|"{{Link | |"{{Link | ||
| Line 319: | Line 318: | ||
}} | }} | ||
| 2={{{Title}}} | | 2={{{Title}}} | ||
}}"{{ | }}"}} | ||
}}{{ | |||
#if:{{{language|}}} | |||
|  (in {{{language}}}) | |||
}}{{#if:{{{format|}}} | |||
}}{{{Sep|,}}}  | | ({{{format}}}) | ||
}}{{ | |||
#if: {{{Periodical|}}}|{{ | |||
#if:{{{IncludedWorkTitle|}}}{{{Title|}}}|{{{Sep|,}}} }}''{{{Periodical}}}''{{ | |||
#if: {{{Series|}}} | #if: {{{Series|}}} | ||
|{{{Sep|,}}} {{{Series}}} | |{{{Sep|,}}} {{{Series}}} | ||
| Line 358: | Line 359: | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}} | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}} | ||
|{{{Sep|,}}}  | |{{{Sep|,}}} |  | ||
}}''{{Link | }}''{{Link | ||
| 1={{ | | 1={{ | ||
| Line 383: | Line 384: | ||
}} | }} | ||
| 2={{{Title}}} | | 2={{{Title}}} | ||
}}''{{ | }}''}}{{ | ||
#if: {{{Series|}}} | #if: {{{Series|}}} | ||
|{{{Sep|,}}} {{{Series}}} | |{{{Sep|,}}} {{{Series}}} | ||
| Line 389: | Line 390: | ||
#if: {{{Volume|}}} | #if: {{{Volume|}}} | ||
|{{{Sep|,}}} '''{{{Volume}}}''' | |{{{Sep|,}}} '''{{{Volume}}}''' | ||
}}{{ | |||
#if: {{{Other|}}} | |||
|{{{Sep|,}}} {{{Other|}}} | |||
}}{{ | }}{{ | ||
#if: {{{Edition|}}} | #if: {{{Edition|}}} | ||
| Line 400: | Line 404: | ||
#if: {{{PublicationPlace|}}} | #if: {{{PublicationPlace|}}} | ||
|<nowiki>:</nowiki> | |<nowiki>:</nowiki> | ||
|, | |{{{Sep|,}}} | ||
}} {{{Publisher}}} | }} {{{Publisher}}} | ||
}} | }} | ||
}}{{ | |||
}}{{ | |||
<!--============ Date (if no author/editor) ============--> | <!--============ Date (if no author/editor) ============--> | ||
#if: {{{Surname1|}}}{{{EditorSurname1|}}} | #if: {{{Surname1|}}}{{{EditorSurname1|}}} | ||
| 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 | | {{#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 477: | Line 480: | ||
#if: {{{Bibcode|}}} | #if: {{{Bibcode|}}} | ||
|{{{Sep|,}}} [[Bibcode]]: [http://adsabs.harvard.edu/abs/{{{Bibcode}}} {{{Bibcode}}}] | |{{{Sep|,}}} [[Bibcode]]: [http://adsabs.harvard.edu/abs/{{{Bibcode}}} {{{Bibcode}}}] | ||
}}{{ | |||
<!--============ Archive data, etc ===========--> | |||
#if: {{{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|}}} | |||
| 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 ============--> | ||
#if: {{{URL|}}} | #if: {{{URL|{{{IncludedWorkURL|}}}}}} | ||
|{{ | |{{ | ||
#if: {{{Title|}}}{{{IncludedWorkTitle|}}} | #if: {{{Title|}}}{{{IncludedWorkTitle|}}} | ||
|<span class="printonly">, {{ | |<span class="printonly">{{{Sep|,}}} {{ | ||
#if: {{{IncludedWorkURL|}}} | #if: {{{IncludedWorkURL|}}} | ||
|{{{IncludedWorkURL}}} | |{{{IncludedWorkURL}}} | ||
| Line 494: | 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 {{{AccessDate}}}</span> | ||
}} | }} | ||
}}{{#if:{{{laysummary|}}} | }}{{#if:{{{laysummary|}}} | ||
|{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}| – ''{{{laysource}}}''}} | |{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}| – ''{{{laysource}}}''}} | ||
}}{{#if:{{{laydate|}}} | }}{{#if:{{{laydate|}}} | ||
|  ( | |  ({{{laydate}}}) | ||
}}{{#if:{{{quote|}}} | }}{{#if:{{{quote|}}} | ||
|{{{Sep|,}}}  "{{{quote}}}" | |{{{Sep|,}}}  "{{{quote}}}" | ||
| Line 586: | 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;"> </span></span> | }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;"> </span></span><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 19:37, 26 April 2009
[create]
Template documentation