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 1: Line 1:
<noinclude>
<noinclude>
Primarily intended for sub-template use by forthcoming MIA cite template, but also may come in handy when called directly.
'''Special case citer.''' 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
  1 = work e.g. capital
  2 = volume e.g. 1
  2 = volume e.g. 1
Line 21: Line 21:


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


<!--
<!--

Revision as of 20:26, 2 June 2024

Special case citer. 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: Expression error: Unexpected > operator..htm Available online