More languages
More actions
m (Attempting to implement website links) |
m (very experimental work in progress) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{author|}}}|{{{author}}}}}{{#if:{{{year|}}}| ({{{year|}}})}} | <includeonly><!-- | ||
-->{{#if:{{{author|}}}|{{{author}}}}}<!-- | |||
-->{{#if:{{{year|}}}| ({{{year|}}}).|.}}<!-- | |||
-->{{#if:{{{title|}}}| <!-- | |||
-->{{#if:{{{chapter|}}}|<!-- | |||
-->{{#if:{{{transchap|}}}|'{{{transchap}}}' in |<!-- | |||
-->{{#if:{{{webchap|}}}|'[{{{webchap}}} {{{chapter}}}]' in |'{{{chapter}}}' in }}}}}}<!-- | |||
-->{{#if:{{{trans|}}}|''{{{trans}}}'' [{{#if:{{{translang|}}}|{{{translang}}}<nowiki>:</nowiki> }}<!-- | |||
-->{{#if:{{{web|}}}|<!-- | |||
-->{{#if:{{{transchap|}}}|'{{{chapter}}}' in }}[{{{web}}} ''{{{title}}}'']|<!-- | |||
-->''{{{title}}}''}}]|<!-- | |||
-->{{#if:{{{web|}}}|[{{{web}}} ''{{{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|}}}|<nowiki>:</nowiki> {{{publisher}}}}}.|<!-- | |||
-->{{#if:{{{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> | ||
Line 7: | Line 25: | ||
|author= | |author= | ||
|title= | |title= | ||
|chapter= | |||
|year= | |||
|translang= | |translang= | ||
|trans= | |trans= | ||
|city= | |city= | ||
|publisher= | |publisher= | ||
Line 18: | Line 36: | ||
|epub= | |epub= | ||
|doi= | |doi= | ||
| | |web= | ||
}}</nowiki> | }}</nowiki> | ||
Example: | Example: | ||
Line 68: | Line 86: | ||
|epub= | |epub= | ||
}} | }} | ||
{{textcite | |||
|author=author | |||
|title=title | |||
|chapter=chapter | |||
|year= | |||
|translang=translang | |||
|trans=trans | |||
|transchap=transchap | |||
|city= | |||
|publisher=publisher | |||
|isbn= | |||
|lg= | |||
|pdf= | |||
|epub= | |||
|doi= | |||
|web=https://web.com | |||
|webchap=https://webchap.com | |||
}} | |||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 12:52, 17 June 2021
Usage:
{{textcite |author= |title= |chapter= |year= |translang= |trans= |city= |publisher= |isbn= |lg= |pdf= |epub= |doi= |web= }}
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]
author. 'transchap' in trans [translang: 'chapter' in title]. publisher.
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 |