More languages
More actions
mNo edit summary |
m (Added an option for translations) |
||
Line 87: | Line 87: | ||
"title": { | "title": { | ||
"label": "Title", | "label": "Title", | ||
"description": "Title of work", | "description": "Title of work in the original language", | ||
"example": "Passages from antiquity to feudalism", | "example": "Passages from antiquity to feudalism", | ||
"required": true | "required": true | ||
Line 131: | Line 131: | ||
"description": "Generates a Sci-Hub link", | "description": "Generates a Sci-Hub link", | ||
"example": "10.2307/1162754" | "example": "10.2307/1162754" | ||
}, | |||
"trans": { | |||
"label": "Translation of work title", | |||
"description": "Used when the work is in a foreign language" | |||
}, | |||
"translang": { | |||
"label": "Language of work", | |||
"description": "Language of the original work", | |||
"example": "Italian" | |||
} | } | ||
}, | }, | ||
Line 145: | Line 154: | ||
"isbn", | "isbn", | ||
"lg", | "lg", | ||
"doi" | "doi", | ||
"trans", | |||
"translang" | |||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 23:16, 16 June 2021
Usage:
{{textcite |author= |title= |translang= |trans= |chapter= |year= |city= |publisher= |isbn= |lg= |pdf= |epub= |doi= }}
Example:
{{textcite |author=Fidel Castro |title=Che: a memoir |year=2005 |city=Melbourne |publisher=Ocean Press |isbn=9781921700835 |lg=http://libgen.rs/book/index.php?md5=99FF4ED3FDF1F4BDB79D3CCFB39EAB66 |epub=https://shared.prolewiki.org/uploads/0/0b/Fidel_Castro_%E2%80%93_Che-_a_memoir._Ocean_Press_%282012%29.epub }}
Fidel Castro (2005).{{#if:Che: a memoir| 'Reflections on Che' in Che: a memoir. [EPUB] Melbourne: Ocean Press ISBN 9781921700835 [LG]
{{textcite |author=Perry Anderson |title=Passages from antiquity to feudalism |chapter=Classical antiquity |year=1978 |city=London |publisher=NLB |isbn=9780860917090 |lg=http://libgen.rs/book/index.php?md5=D506850919AFB63C856850E82780EF31 |pdf=https://shared.prolewiki.org/uploads/1/1e/Perry_Anderson_-_Passages_from_Antiquity_to_Feudalism_%281974%29.pdf |epub= }}
Perry Anderson (1978).{{#if:Passages from antiquity to feudalism| 'Classical antiquity' in Passages from antiquity to feudalism. [PDF] London: NLB ISBN 9780860917090 [LG]
Produces the formatted text for a citation
Parameter | Description | Type | Status | |
---|---|---|---|---|
Author | author | Author of work
| String | required |
Year | year | Year of first publication of work
| Unknown | required |
Title | title | Title of work in the original language
| Unknown | required |
Chapter | chapter | Chapter title of the book
| Unknown | optional |
PDF link | pdf | PDF link to work
| Unknown | suggested |
EPUB link | epub | EPUB link to work | Unknown | optional |
City | city | City of published work
| Unknown | optional |
Publisher | publisher | Publisher of work
| Unknown | optional |
ISBN | isbn | ISBN of work
| Unknown | optional |
Library Genesis link | lg | Library Genesis link of work
| Unknown | suggested |
DOI code | doi | Generates a Sci-Hub link
| Unknown | optional |
Translation of work title | trans | Used when the work is in a foreign language | Unknown | optional |
Language of work | translang | Language of the original work
| Unknown | optional |