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


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|{{{2|}}}}}}|{{{chapter|{{{3|}}}}}}}}|"{{user:Harrystein/sandbox/template/MIA citation/4|{{{volume|{{{2|}}}}}}|{{{chapter|{{{3|}}}}}}}}."]]  
-->: {{user:Harrystein/sandbox/template/MIA citation/4|{{{volume|{{{2|}}}}}}|{{{chapter|{{{3|}}}}}}}}|"{{user:Harrystein/sandbox/template/MIA citation/4|{{{volume|{{{2|}}}}}}|{{{chapter|{{{3|}}}}}}}}."]] <!--
 
1.3: Hyperlink
-->Link: [{{{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]
 
<!--
Other works:
-->
  | shoehorn = Shoehorn!<!--other works than capital would go here.-->
  | shoehorn = Shoehorn!<!--other works than capital would go here.-->
  |
  |
  }} The link is as follows: [{{{link|https://leftypol.org}}}]
  }}

Revision as of 19:20, 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]