More languages
More actions
m (Improved doi formatting) |
m (Attempt to improve formatting) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{author|}}}|{{{author}}}}}{{#if:{{{year|}}}| ({{{year|}}})}}.{{#if:{{{title|}}}| {{#if:{{{chapter|}}}|'{{{chapter}}}' in }}{{#if:{{{trans|}}}{{{translang|}}}|''{{{trans}}}'' [{{{translang}}}<nowiki>:</nowiki> ''{{{title}}}'']|''{{{title}}}''}}}}.{{#if:{{{pdf|}}}| <span class="plainlinks">[{{{pdf}}} <span title="PDF download"><small>[PDF<nowiki>]</nowiki></span></small>]</span>}}{{#if:{{{epub|}}}| <span class="plainlinks">[{{{epub}}} <span title="EPUB download"><small>[EPUB<nowiki>]</nowiki></span></small>]</span>}}{{#if:{{{city|}}} | <includeonly>{{#if:{{{author|}}}|{{{author}}}}}{{#if:{{{year|}}}| ({{{year|}}})}}.{{#if:{{{title|}}}| {{#if:{{{chapter|}}}|'{{{chapter}}}' in }}{{#if:{{{trans|}}}{{{translang|}}}|''{{{trans}}}'' [{{{translang}}}<nowiki>:</nowiki> ''{{{title}}}'']|''{{{title}}}''}}}}.{{#if:{{{pdf|}}}| <span class="plainlinks">[{{{pdf}}} <span title="PDF download"><small>[PDF<nowiki>]</nowiki></span></small>]</span>}}{{#if:{{{epub|}}}| <span class="plainlinks">[{{{epub}}} <span title="EPUB download"><small>[EPUB<nowiki>]</nowiki></span></small>]</span>}}{{#if:{{{city|}}} | ||
| {{{city}}}{{#if:{{{publisher|}}} | | {{{city}}}{{#if:{{{publisher|}}} | ||
|<nowiki>:</nowiki> {{{publisher}} | |<nowiki>:</nowiki> {{{publisher}}}}}| {{{publisher}}}}}.{{#if:{{{isbn|}}}| <span class="plainlinks">[https://www.worldcat.org/search?qt=worldcat_org_all&q={{{isbn}}} <span title="WorldCat">ISBN {{{isbn}}}</span>]</span>}}{{#if:{{{doi|}}}| doi:{{{doi}}} <span class="plainlinks">[https://sci-hub.do/{{{doi}}} <span title="Sci-Hub link"><small>[HUB<nowiki>]</nowiki></span></small>]</span>}}{{#if:{{{lg|}}}| <span class="plainlinks">[{{{lg}}} <span title="Library Genesis link"><small>[LG<nowiki>]</nowiki></span></small>]</span>}}</includeonly><noinclude> | ||
Usage: | Usage: | ||
<nowiki> | <nowiki> |
Revision as of 23:50, 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). '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). '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 |