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 8: Line 8:


1. Capital
1. Capital
-->| capital = [[Karl Marx|Marx, Karl]]{{#ifeq:{{{volume|}}}|1||{{nbsp}}&{{nbsp}}[[Friedrich Engels|Engels, Friedrich]]}} ({{trim|{{array|get|1867,1885,1894|,|{{{volume|}}}}}}}). ''[[Das Kapital, Volume {{trim|{{array|get|I,II,III|,|{{{volume|}}}}}}}|Capital, Volume {{trim|{{array|get|I,II,III|,|{{{volume|}}}}}}}]]'', Chapter {{{chapter|}}}: [[Das Kapital, Volume {{trim|{{array|get|I,II,III|,|{{{volume|}}}}}}}, Chapter <!--
-->| capital = [[Karl Marx|Marx, Karl]]{{#ifeq:{{{volume|{{{2|}}}}}}|1||{{nbsp}}&{{nbsp}}[[Friedrich Engels|Engels, Friedrich]]}} ({{trim|{{array|get|1867,1885,1894|,|{{{volume|{{{2|}}}}}}}}}}). ''[[Das Kapital, Volume {{trim|{{array|get|I,II,III|,|{{{volume|{{{2|}}}}}}}}}}|Capital, Volume {{trim|{{array|get|I,II,III|,|{{{volume|{{{2|}}}}}}}}}}]]'', Chapter {{{chapter|}}}: [[Das Kapital, Volume {{trim|{{array|get|I,II,III|,|{{{volume|{{{2|}}}}}}}}}}, Chapter <!--


1.1: Next: Capitalize e.g. Twenty-eight to Twenty-Eight.
1.1: Next: Capitalize e.g. Twenty-eight to Twenty-Eight.
Line 17: Line 17:


1.2: Rest of the wikilink, i.e. the chapter title in the link target, plus the alias (chapter title).
1.2: Rest of the wikilink, i.e. the chapter title in the link target, plus the alias (chapter title).
-->: {{user:Harrystein/sandbox/template/MIA citation/4|{{{volume|}}}|{{{chapter|}}}}}|"{{user:Harrystein/sandbox/template/MIA citation/4|{{{volume|}}}|{{{chapter|}}}}}."]]  
-->: {{user:Harrystein/sandbox/template/MIA citation/4|{{{volume|{{{2|}}}}}}|{{{chapter|}}}}}|"{{user:Harrystein/sandbox/template/MIA citation/4|{{{volume|{{{2|}}}}}}|{{{chapter|}}}}}."]]  
  | shoehorn = Shoehorn!
  | shoehorn = Shoehorn!
  |
  |
  }}
  }}

Revision as of 00:51, 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

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.: |"."]]