Template:Citation/core: Difference between revisions
Appearance
wikademia>Ruslik0 rm autoformating of laydate (per WP:MOSNUM and talk page request) |
wikademia>Wikademia m 1 revision |
||
| (14 intermediate revisions by 6 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 190: | Line 192: | ||
}} | }} | ||
}} | }} | ||
}}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq | }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{ | ||
#if: {{{Date|}}} | #if: {{{Date|}}} | ||
| ({{{Date}}}) | | ({{{Date}}}) | ||
| Line 281: | Line 283: | ||
#if: {{{IncludedWorkTitle|}}} | #if: {{{IncludedWorkTitle|}}} | ||
| | | | ||
|{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq | |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}} | ||
}} | }} | ||
}} | }} | ||
| Line 323: | Line 325: | ||
| ({{{format}}}) | | ({{{format}}}) | ||
}}{{ | }}{{ | ||
#if: {{{Periodical|}}}|{{{Sep|,}}} ''{{{Periodical}}}''{{ | #if: {{{Periodical|}}}|{{ | ||
#if:{{{IncludedWorkTitle|}}}{{{Title|}}}|{{{Sep|,}}} }}''{{{Periodical}}}''{{ | |||
#if: {{{Series|}}} | #if: {{{Series|}}} | ||
|{{{Sep|,}}} {{{Series}}} | |{{{Sep|,}}} {{{Series}}} | ||
| Line 356: | Line 359: | ||
|{{ | |{{ | ||
#if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}} | #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}} | ||
|{{{Sep|,}}}  | |{{{Sep|,}}} |  | ||
}}''{{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 | | {{#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|}}} | |||
| 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|,}}}|,|, r|. R}}etrieved on | | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|, r|. R}}etrieved on {{{AccessDate}}}</span> | ||
}} | }} | ||
}}{{#if:{{{laysummary|}}} | }}{{#if:{{{laysummary|}}} | ||
Latest revision as of 19:37, 26 April 2009
[create]
Template documentation