Template:MIA citation/special: Difference between revisions

From Leftypedia
Jump to navigation Jump to search
mNo edit summary
(+witbd)
Line 33: Line 33:
<!--
<!--
Other works:
Other works:
-->
-->| witbd = [[Vladimir Lenin|Lenin, V. I.]] (1901). ''[[What Is to be Done?]]''? <!--
  | shoehorn = Shoehorn!<!--other works than capital would go here-->
    {{switch by pattern
|
    | _input = {{{chapter|{{{3|}}}}}}
    | preface = Preface
    | i        = Chapter I: "Dogmatism And "'Freedom of Criticism'"
    | ii      = Chapter II: "The Spontaneity of the Masses and the Consciousness of the Social-Democrats"
    | iii      = Chapter III: "Trade-Unionist Politics And Social-Democratic Politics"
    | iv      = Chapter IV: "The Primitiveness of the Economists and the Organization of the Revolutionaries"
    | v        = Chapter V: "The 'Plan' For an All-Russia Political Newspaper"
    | concl    = Conclusion
    | appendix = Appendix: The Attempt to Unite ''Iskra'' With ''Rabocheye Dyelo''
    | correctn = Correction
    }}.<!--
 
-->|
  }}
  }}

Revision as of 00:03, 9 June 2024

In this templatespace:

Template talk:

Special case citer. Primarily intended for sub-template use by forthcoming MIA cite template, but will definitely come in handy for being called directly, e.g.:

{{MIA citation/special|capital|3|13}}

Producing:

In this way, one can cite a given MIA text without having to grab the link, providing an option that some may find to be a time-saver. However, i have no idea whether creating several sub-templates is a resource issue versus putting them under the regular MIA citation template as "special cases"; as such, i will leave SUS and Manifesto there for now even though they would be immensely handy, and editing them like this - without having to deal with endless sub-curly-brackets and functions and whatnot - would be probably easier. -Harry 6/6/24

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.: |"."]] Expression error: Unexpected > operator..htm Available online