Template:MIA citation: Difference between revisions

From Leftypedia
Jump to navigation Jump to search
mNo edit summary
(Added forty authors from various times and places based mainly on highlights from [https://www.marxists.org/archive/ this list]. Next step - most likely will alphabetize.)
Line 135: Line 135:
  | connolly = [[James Connolly|Connolly, James]]
  | connolly = [[James Connolly|Connolly, James]]
  | markievicz = [[Constance Markievicz|Markievicz, Constance]]
  | markievicz = [[Constance Markievicz|Markievicz, Constance]]
}}{{#if:{{{author2|}}}|{{;}} {{{author2|}}}|}} (<!--
| foster = [[William Z. Foster|Foster, William Z.]]
| bernstein = [[Eduard Bernstein|Bernstein, Eduard]]
| jaures = [[Jean Jaurès|Jaurès, Jean]]
| zinoviev = [[Gregory Zinoviev|Zinoviev, Gregory]]
| kamenev = [[Lev Kamenev|Kamenev, Lev]]
| bukharin = [[Nikolai Bukharin|Bukharin, Nikolai]]
| dzerzhinsky = [[Felix Dzerzhinsky|Dzerzhinsky, Felix]]
| bogdanov = [[Aleksandr Bogdanov|Bogdanov, Aleksandr]]
| kollonta = [[Alexandra Kollontai|Kollontai, Alexandra]]
| riazanov = [[David Riazanov|Riazanov, David]]
| gorky-maxim = [[Maxim Gorky|Gorky, Maxim]]
| radek = [[Karl Radek|Radek, Karl]]
| reed = [[John Reed|Reed, John]]
| gramsci = [[Antonio Gramsci|Gramsci, Antonio]]
| serge = [[Victor Serge|Serge, Victor]]
| maclean = [[John MacLean|MacLean, John]]
| tito = [[Josip Broz Tito|Tito, Josip Broz]]
| mariateg = [[José Carlos Mariátegui|Mariátegui, José Carlos]]
| eastman = [[Max Eastman|Eastman, Max]]
| kun-bela = [[Bela Kun|Kun, Bela]]
| roy = [[Manabendra Nath Roy|Roy, Manabendra Nath]]
| khrushchev = [[Nikita Khrushchev|Khrushchev, Nikita]]
| brezhnev = [[Leonid Brezhnev|Brezhnev, Leonid]]
| andropov = [[Yuri Andropov|Andropov, Yuri]]
| chernenko = [[Konstantin Chernenko|Chernenko, Konstantin]]
| gorbachev = [[Mikhail Gorbachev|Gorbachev, Mikhail]]
| molotov = [[V. M. Molotov|Molotov, V. M.]]
| dimitrov = [[Georgi Dimitrov|Dimitrov, Georgi]]
| hill-christopher = [[Christopher Hill|Hill, Christopher]]
| malenkov = [[Georgy Malenkov|Malenkov, Georgy]]
| beria = [[Lavrenti Beria|Beria, Lavrenti]]
| hoxha = [[Enver Hoxha|Hoxha, Enver]]
| alia = [[Ramiz Alia|Alia, Ramiz]]
| kapo = [[Hysni Kapo|Kapo, Hysni]]
| shehu = [[Mehmet Shehu|Shehu, Mehmet]]
| bland = [[Bill Bland|Bland, Bill]]
| browder = [[Earl Browder|Browder, Earl]]
| hall = [[Gus Hall|Hall, Gus]]
| kim-jong-il = [[Kim Jong Il|Kim Jong Il]]
| kim-il-sung = [[Kim Il Sung|Kim Il Sung]]
}}<!--
 
Second author if applicable.
-->{{#if:{{{author2|}}}|{{;}} {{{author2|}}}|}} (<!--


#2: Year
#2: Year

Revision as of 22:26, 10 June 2024

In this templatespace:

Template talk:

WIP template implemented by Harrystein to make citing Marxists.org a lot easier!

Usage

This is designed to read whatever Marxists.org URL you give it and output a nicely-formatted title, author, and year, complete with links to Leftypedia articles on those topics (aka "Wikilinks"). It doesn't use any LUA or outside coding/bots, which at the moment would be harder by an order of magnitude. If such things are implemented later, they should be used in concert with this template or, if they are pretty foolproof, supersede it.

Visual editor

In visual editing, you should be able to copy-paste the code shown below (adapted or otherwise) into your page. I would have to test this to see issues with it. If not, then [explain here how to make the link the only argument, even if not named, i.e. {{{1}}} ] -6/5/24

Source editor

This template is designed to do most of the work for you. I suggest starting by putting the link in, like so:

{{MIA citation|<link>}}

Any missing or incorrect details should be corrected:

{{MIA citation|<link>|author=<author>|author2=<author2> (optional)|year=<year>|title=<title>}}

See below for some examples.

Capital works the best and hopefully should be fully implemented with no gaps:

{{MIA citation | https://www.marxists.org/archive/marx/works/1867-c1/ch03.htm#S1}}
{{MIA citation | https://www.marxists.org/archive/marx/works/1885-c2/ch20_02.htm}}
{{MIA citation | https://www.marxists.org/archive/marx/works/1894-c3/ch13.htm}}

More Marx works will be added upon request or popular usage.

The template also works reasonably well with other works:

{{MIA citation | https://www.marxists.org/archive/draper/1990/zionism/13-antisemitism.htm}}
{{MIA citation | https://www.marxists.org/reference/archive/stalin/works/1938/09.htm | title = dialectical and Historical Materialism}}
{{MIA citation | https://www.marxists.org/archive/lenin/works/1917/staterev/ch01.htm | title = state and revolution}}
{{MIA citation | https://www.marxists.org/reference/archive/smith-adam/works/wealth-of-nations/book01/ch01.htm | title = the wealth of nations | year = 1776}}

Sample[1]

  1. (). [ Available online] at the Marxists Internet Archive