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

From Leftypedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 21: Line 21:


1.3: Hyperlink
1.3: Hyperlink
-->Link: [{{if then show|{{{link|}}}|https://www.marxists.org/archive/marx/works/{{array|get|1867-c1,1885-c2,1895-c4|,|{{{volume|{{{2|}}}}}}}}/ch{{#ifexpr: {{{chapter|{{{3|}}}}}} > 9 | {{{chapter|}}} | 0{{{chapter|}}}}}.htm}} Available online]
-->Link: [{{if then show|{{{link|}}}|https://www.marxists.org/archive/marx/works/{{array|get|1867-c1,1885-c2,1895-c3|,|{{trim|{{{volume|{{{2|}}}}}}}}}}/ch{{#ifexpr: {{{chapter|{{{3|}}}}}} > 9 | {{{chapter|}}} | 0{{{chapter|}}}}}.htm}} Available online]


<!--
<!--

Revision as of 19:30, 2 June 2024

Primarily intended for sub-template use by forthcoming MIA cite template, but also may come in handy when called directly.

1 = work e.g. capital
2 = volume e.g. 1
3 = chapter e.g. 3
4 = link e.g. https:// etc. etc.

Marx, Karl & Engels, Friedrich (1867). Capital, Volume I. Chapter : [[Das Kapital, Volume I, Chapter Lua error in Module:ConvertNumeric at line 576: Invalid decimal numeral.: |"."]] Link: [https://www.marxists.org/archive/marx/works/1867-c1 /chExpression error: Unexpected > operator..htm Available online]