Template:Citation: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{{#if:{{{author|{{{last|}}}}}}|{{{last|{{{author|}}}}}}{{#if:{{{first|}}}|, {{{first|}}}|}}. |}}{{#if:{{{date|{{{year|}}}}}}|({{{date|{{{year|}}}}}}}). |}}{{#if:{{{url|}}}|[{{{url}}} {{{title|}}}]|{{{title|}}}}}{{#if:{{{encyclopedia|{{{work|{{{journal|}}}}}}}}}|. ''{{{encyclopedia|{{{work|{{{journal|}}}}}}}}}''|}}{{#if:{{{publisher|}}}|. {{{publisher|}}}|}}{{#if:{{{pages|}}}|. p. {{{pages|}}}|}}{{#if:{{{doi|}}}|. DOI: {{{doi|}}}|}}{{#if:{{{isbn|}}}|. IS..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{author|{{{last|}}}}}}|{{{last|{{{author|}}}}}}{{#if:{{{first|}}}|, {{{first|}}} | <includeonly>{{#if:{{{author|{{{last|}}}}}}|{{{last|{{{author|}}}}}}{{#if:{{{first|}}}|, {{{first|}}}}}. |}}{{#if:{{{date|{{{year|}}}}}}|({{{date|{{{year|}}}}}}}). |}}{{#if:{{{url|}}}|[{{{url}}} {{{title|}}}]|{{{title|}}}}}{{#if:{{{encyclopedia|{{{work|{{{journal|}}}}}}}}}|. ''{{{encyclopedia|{{{work|{{{journal|}}}}}}}}}''|}}{{#if:{{{publisher|}}}|. {{{publisher|}}}|}}{{#if:{{{pages|}}}|. pp. {{{pages|}}}|}}{{#if:{{{doi|}}}|. DOI: {{{doi|}}}|}}{{#if:{{{isbn|}}}|. ISBN {{{isbn|}}}|}}{{#if:{{{access-date|{{{accessdate|}}}}}}|. Retrieved {{{access-date|{{{accessdate|}}}}}}}.|.}}</includeonly><noinclude> | ||
== Template:Citation == | == Template:Citation == | ||
A general-purpose citation template. | A general-purpose citation template. Called by {{tl|Cite web}}, {{tl|Cite journal}}, {{tl|Cite encyclopedia}}, and others. | ||
=== Parameters === | === Parameters === | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 15: | Line 14: | ||
| <code>first</code> || Author first name || <code>David P.</code> | | <code>first</code> || Author first name || <code>David P.</code> | ||
|- | |- | ||
| <code>date</code> or <code>year</code> || Publication date || <code> | | <code>date</code> or <code>year</code> || Publication date || <code>2022</code> | ||
|- | |- | ||
| <code>publisher</code> || Publisher name || <code>University of California, Berkeley</code> | | <code>publisher</code> || Publisher name || <code>University of California, Berkeley</code> | ||
| Line 27: | Line 26: | ||
| <code>isbn</code> || ISBN number || <code>978-3-16-148410-0</code> | | <code>isbn</code> || ISBN number || <code>978-3-16-148410-0</code> | ||
|- | |- | ||
| <code>access-date</code> || Date URL was accessed || <code>2026-05-18</code> | | <code>access-date</code> or <code>accessdate</code> || Date URL was accessed || <code>2026-05-18</code> | ||
|} | |} | ||
=== Example === | |||
=== Example | |||
<pre>{{Citation |last=Anderson |first=David P. |date=2022 |title=A brief history of BOINC |url=https://continuum-hypothesis.com/boinc_history.php |access-date=2026-05-18}}</pre> | <pre>{{Citation |last=Anderson |first=David P. |date=2022 |title=A brief history of BOINC |url=https://continuum-hypothesis.com/boinc_history.php |access-date=2026-05-18}}</pre> | ||
Renders as: Anderson, David P | Renders as: Anderson, David P. (2022). [https://continuum-hypothesis.com/boinc_history.php A brief history of BOINC]. Retrieved 2026-05-18. | ||
[[Category:Citation templates]] | [[Category:Citation templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 17:28, 20 May 2026
Template:Citation
A general-purpose citation template. Called by {{Cite web}}, {{Cite journal}}, {{Cite encyclopedia}}, and others.
Parameters
| Parameter | Description | Example |
|---|---|---|
title |
Title of the work (required) | About BOINC Central
|
url |
URL if online | https://boinc.berkeley.edu/central/about.php
|
author or last |
Author surname | Anderson
|
first |
Author first name | David P.
|
date or year |
Publication date | 2022
|
publisher |
Publisher name | University of California, Berkeley
|
encyclopedia / work / journal |
Name of the larger work | Wikipedia
|
pages |
Page number(s) | 12–15
|
doi |
Digital Object Identifier | 10.1000/xyz123
|
isbn |
ISBN number | 978-3-16-148410-0
|
access-date or accessdate |
Date URL was accessed | 2026-05-18
|
Example
{{Citation |last=Anderson |first=David P. |date=2022 |title=A brief history of BOINC |url=https://continuum-hypothesis.com/boinc_history.php |access-date=2026-05-18}}
Renders as: Anderson, David P. (2022). A brief history of BOINC. Retrieved 2026-05-18.