Template:Test: Difference between revisions

Template page
m (Corrected test module not being called)
m (Changing test module)
Tag: Replaced
 
Line 1: Line 1:
<onlyinclude>{{#invoke:test|cite}}</onlyinclude>
{{#invoke:test3|main}}
<noinclude>
<templatedata>
{
"params": {
"author": {
"label": "Author(s)",
"description": "Author of the work",
"example": "Vladimir Lenin",
"type": "string",
"suggested": true
},
"year": {
"label": "Year",
"description": "Year of publication",
"example": "1916",
"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": "number",
"suggested": true
},
"chapter": {
"label": "Chapter",
"description": "Chapter of work",
"example": "Finance capital and financial oligarchy",
"type": "string",
"suggested": true
},
"title-url": {
"label": "URL",
"description": "URL where the work can be accessed online",
"example": "https://www.marxists.org/archive/lenin/works/1916/imp-hsc/index.htm",
"type": "url",
"suggested": true
},
"chapter-url": {
"label": "URL of chapter",
"description": "URL of where the chapter can be accessed online",
"example": "https://www.marxists.org/archive/lenin/works/1916/imp-hsc/ch03.htm",
"type": "url",
"suggested": true
},
"isbn": {
"label": "ISBN number",
"description": "ISBN number of the work",
"example": "9785010004392",
"type": "number",
"suggested": true
},
"city": {
"label": "Location of publication",
"description": "City where the work was published",
"example": "Moscow",
"type": "string",
"suggested": true
},
"publisher": {
"label": "Publisher",
"description": "Publisher of the work",
"example": "Progress Publishers",
"type": "string",
"suggested": true
},
"doi": {
"label": "DOI code",
"description": "DOI code of the work",
"example": "10.1093/ajae/aaq063",
"suggested": true
},
"lg": {
"label": "Library Genesis link",
"description": "Library Genesis link where the work can be downloaded",
"example": "http://libgen.rs/book/index.php?md5=30D7EA31BF390AA78A5BCBF2C6DD4E6C",
"type": "url",
"suggested": true
},
"mia": {
"label": "Marxists Internet Archive link",
"description": "MIA link where the work can be accessed",
"example": "https://www.marxists.org/archive/lenin/works/1916/imp-hsc/index.htm",
"type": "url",
"suggested": true
},
"pdf": {
"label": "PDF link",
"description": "PDF link where the work can be downloaded",
"example": "https://www.marxists.org/archive/lenin/works/1916/imp-hsc/imperialism.pdf",
"type": "url",
"suggested": true
},
"trans-title": {
"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 books and scientific articles",
"paramOrder": [
"author",
"year",
"title",
"title-url",
"chapter",
"chapter-url",
"section",
"page",
"quote",
"pdf",
"city",
"publisher",
"isbn",
"doi",
"lg",
"mia",
"series",
"volume",
"trans-title",
"trans-lang",
"image"
]
}
</templatedata>
</noinclude>

Latest revision as of 00:30, 27 April 2024

Lua error: callParserFunction: At least one unnamed parameter (the parameter that comes after the colon in wikitext) must be provided.