Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Citation: Difference between revisions

Template page
mNo edit summary
m (Fixed)
Tag: Manual revert
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:book citation|cite}}</includeonly>
<onlyinclude>{{#invoke:citation|cite}}</onlyinclude>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 29: Line 29:
"label": "Page(s)",
"label": "Page(s)",
"description": "Pages where the information can be found",
"description": "Pages where the information can be found",
"type": "wiki-page-name",
"type": "number",
"suggested": true
"suggested": true
},
},
Line 40: Line 40:
},
},
"title-url": {
"title-url": {
"label": "URL of work",
"label": "URL",
"description": "URL of where the work can be accessed online",
"description": "URL where the work can be accessed online",
"example": "https://www.marxists.org/archive/lenin/works/1916/imp-hsc/index.htm",
"example": "https://www.marxists.org/archive/lenin/works/1916/imp-hsc/index.htm",
"type": "url",
"type": "url",
Line 101: Line 101:
"suggested": true
"suggested": true
},
},
"boolean": {
"trans-title": {
"type": "boolean"
"label": "Title in foreign language",
"description": "Original title, in case it's a foreign language work",
"type": "string",
"suggested": true
},
"trans-lang": {
"label": "Original language",
"description": "Language of the work cited, in case it's a foreign language work",
"type": "string",
"suggested": true,
"example": "Spanish, Russian, Chinese, etc."
},
"quote": {
"label": "Quote",
"description": "Quote of work",
"type": "string",
"suggested": true
},
"section": {
"label": "Section",
"description": "Section inside chapter",
"type": "string",
"suggested": true
},
"image": {
"label": "Image",
"description": "Adds images to the citation (useful for tables, graphs, etc.)",
"type": "wiki-file-name"
},
"series": {
"label": "Series",
"description": "The title of the series, if the work is part of one",
"type": "string",
"suggested": true
},
"volume": {
"label": "Volume",
"description": "Volume number, if the work is part of a larger collection of books",
"example": "\"1\", \"2\", or \"I\", \"II\"",
"type": "string",
"suggested": true
}
}
},
},
"description": "Creates a citation for general use in articles",
"description": "Creates a citation for books and scientific articles",
"paramOrder": [
"paramOrder": [
"author",
"author",
"year",
"year",
"title",
"title",
"title-url",
"chapter",
"chapter",
"chapter-url",
"section",
"page",
"page",
"quote",
"pdf",
"pdf",
"city",
"city",
Line 119: Line 163:
"lg",
"lg",
"mia",
"mia",
"title-url",
"series",
"chapter-url",
"volume",
"boolean"
"trans-title",
"trans-lang",
"image"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 04:02, 19 June 2023


Creates a citation for books and scientific articles

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Author(s)author

Author of the work

Example
Vladimir Lenin
Stringsuggested
Yearyear

Year of publication

Example
1916
Datesuggested
Titletitle

Title of work

Example
Imperialism: the highest stage of capitalism
Stringrequired
URLtitle-url

URL where the work can be accessed online

Example
https://www.marxists.org/archive/lenin/works/1916/imp-hsc/index.htm
URLsuggested
Chapterchapter

Chapter of work

Example
Finance capital and financial oligarchy
Stringsuggested
URL of chapterchapter-url

URL of where the chapter can be accessed online

Example
https://www.marxists.org/archive/lenin/works/1916/imp-hsc/ch03.htm
URLsuggested
Sectionsection

Section inside chapter

Stringsuggested
Page(s)page

Pages where the information can be found

Numbersuggested
Quotequote

Quote of work

Stringsuggested
PDF linkpdf

PDF link where the work can be downloaded

Example
https://www.marxists.org/archive/lenin/works/1916/imp-hsc/imperialism.pdf
URLsuggested
Location of publicationcity

City where the work was published

Example
Moscow
Stringsuggested
Publisherpublisher

Publisher of the work

Example
Progress Publishers
Stringsuggested
ISBN numberisbn

ISBN number of the work

Example
9785010004392
Numbersuggested
DOI codedoi

DOI code of the work

Example
10.1093/ajae/aaq063
Unknownsuggested
Library Genesis linklg

Library Genesis link where the work can be downloaded

Example
http://libgen.rs/book/index.php?md5=30D7EA31BF390AA78A5BCBF2C6DD4E6C
URLsuggested
Marxists Internet Archive linkmia

MIA link where the work can be accessed

Example
https://www.marxists.org/archive/lenin/works/1916/imp-hsc/index.htm
URLsuggested
Seriesseries

The title of the series, if the work is part of one

Stringsuggested
Volumevolume

Volume number, if the work is part of a larger collection of books

Example
"1", "2", or "I", "II"
Stringsuggested
Title in foreign languagetrans-title

Original title, in case it's a foreign language work

Stringsuggested
Original languagetrans-lang

Language of the work cited, in case it's a foreign language work

Example
Spanish, Russian, Chinese, etc.
Stringsuggested
Imageimage

Adds images to the citation (useful for tables, graphs, etc.)

Fileoptional