Template:Citation: Difference between revisions

Template page
(Created page with "<includeonly> {{#invoke:citation|citation}} </includeonly>")
 
m (Template data for testing)
Line 2: Line 2:
{{#invoke:citation|citation}}
{{#invoke:citation|citation}}
</includeonly>
</includeonly>
<noinclude>
<templatedata>
{
"params": {
"author": {
"label": "Author(s)",
"description": "Author of the work",
"example": "Karl Marx",
"type": "string",
"suggested": true
},
"Publisher": {},
"ISBN": {},
"DOI code": {},
"Location of publication": {},
"year": {
"label": "Year",
"description": "Year of publication",
"example": "1917",
"type": "date",
"suggested": true
},
"title": {
"label": "Title",
"description": "Title of work",
"example": "Imperialism: the highest stage of capitalism",
"type": "string",
"required": true,
"suggested": true
},
"page": {
"label": "Page(s)",
"description": "Pages where the information can be found",
"type": "wiki-page-name"
},
"chapter": {
"label": "Chapter",
"description": "Chapter of work",
"example": "Finance capital and financial oligarchy",
"type": "string",
"suggested": true
}
},
"description": "Creates a citation for general use in articles",
"paramOrder": [
"author",
"year",
"title",
"chapter",
"Publisher",
"ISBN",
"DOI code",
"Location of publication",
"page"
]
}
</templatedata>
</noinclude>

Revision as of 22:35, 25 October 2021


Creates a citation for general use in articles

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Author(s)author

Author of the work

Example
Karl Marx
Stringsuggested
Yearyear

Year of publication

Example
1917
Datesuggested
Titletitle

Title of work

Example
Imperialism: the highest stage of capitalism
Stringrequired
Chapterchapter

Chapter of work

Example
Finance capital and financial oligarchy
Stringsuggested
PublisherPublisher

no description

Unknownoptional
ISBNISBN

no description

Unknownoptional
DOI codeDOI code

no description

Unknownoptional
Location of publicationLocation of publication

no description

Unknownoptional
Page(s)page

Pages where the information can be found

Page nameoptional