User:Harrystein/sandbox/template/MIA citation: Difference between revisions

From Leftypedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Tag: Reverted
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>* [[Joseph Stalin]] (1938). [https://www.marxists.org/reference/archive/stalin/works/1938/09.htm ''Dialectical and Historical Materialism''] at the [[Marxists Internet Archive]]
* [[Joseph Stalin|Stalin, J.V.]] (1938). [https://www.marxists.org/reference/archive/stalin/works/1938/09.htm ''Dialectical and Historical Materialism''] at the [[Marxists Internet Archive]]
Param 1 = Link.
Param 2 = Author name.
Param 3 = Year.
Param 4 = Title.
<nowiki>{{miae citation|https://www.marxists.org/reference/archive/stalin/works/1938/09.htm}}
{{miae|https://www.marxists.org/archive/marx/works/1867-c1/ch03.htm#S1|marx|1867|Capital or some shit.}}
</nowiki>
==References==
{{reflist}}</noinclude><!--
-->
{{#tag:ref|<!--
{{#tag:ref|<!--
#1: Author name
-->{{string split|{{{link|{{{1|}}}}}}|/archive/|2}}<br>
-->{{#switch: {{replace|{{replace|{{lc:{{{2|{{{author|{{first word|{{string split|{{{link|{{{1|}}}}}}|/archive/|2}}|sep=/}}<!--shitty hack because i'm not a conputer geinius-->}}} }}} }}|,|}}|.|}}
Author: {{array|get|{{string split|{{{link|{{{1|}}}}}}|/archive/|2}}|/|1}}<br>
| stalin
Year: {{array|get|{{string split|{{{link|{{{1|}}}}}}|/works/|2}}|/|3}}<br>
| j v stalin
For loop: {{for loop|%
| stalin joseph
| call = array
| stalin j v
| pv = 4
| stalin josef = [[Joseph Stalin|Stalin, J.V.]]
| stop = 5
| marx
| pc1n = 1
| karl marx
| pc1v = get
| marx karl = [[Karl Marx|Marx, Karl]]
| pc2n = 2
| lenin
| pc2v = {{string split|{{{link|{{{1|}}}}}}|/archive/|2}}
| v i lenin
| pc3n = 3
| vladimir lenin
| pc3v = /
| lenin vladimir = [[Vladimir Lenin|Lenin, V. I.]]
}}
| adam smith
| smith-adam
| smith adam = [[Adam Smith|Smith, Adam]]
| trotsky
| trotsky leon
| leon trotsky
| lev trotsky
| lev bronstein
| bronstein lev = [[Leon Trotsky|Trotsky, Leon]]
| {{{author|[Author missing]}}}
}}<!--
#2: Year
--> ({{{year|{{{3|{{isnumeric|{{first word|{{string split|{{{link|{{{1|/works/YEAR/}}}}}}|/works/|2}}|sep=/}}}}}}}}}}).<!--
#3: Link & Title.
--> ''[{{{1|{{{link|}}}}}} {{ucfirst:{{{4|{{{title|<includeonly>Source[[category:Pages incorrectly using the MIAE citation template]]</includeonly>}}}}}}}}]'' at the [[Marxists Internet Archive]]
}}
}}

Revision as of 13:39, 28 May 2024

[1]


  1. Author:
    Year:
    For loop: