Template:Marx and Engels navbox: Difference between revisions

From Leftypedia
Jump to navigation Jump to search
m (Noinclude)
(Testing a shitty hack to make collapse/expand options work right.)
Line 1: Line 1:
{{navbox| title=Texts by Marx and Engels|name=NavTMarxEng|state={{{state|expanded}}}|border={{{border|}}}
{{navbox | title=Texts by Marx and Engels|name=NavTMarxEng|state={{{state|expanded}}}|border={{{border|}}}
| list1 = {{NavTMarxAlone|none|state={{{Marx-state|}}}}}
<!--Shitty hack to fix the expanded/collapsed options for Marx-state, Engels-state, and Both-state.-->
| list2 = {{NavTMarxEngBoth|none|state={{{Both-state|}}}}}
| list1 = {{NavTMarxAlone|none|state = {{#ifeq: marx | {{{1}}} | expanded | collapsed}} }}
| list3 = {{NavTEngAlone|none|state={{{Engels-state|}}}}}
| list2 = {{NavTMarxEngBoth|none|state = {{#switch: {{{1}}} | both || all=expanded | collapsed}} }}
| list3 = {{NavTEngAlone|none|state = {{#ifeq: engels | {{{1}}} | expanded | collapsed}} }}
}}
}}
<noinclude>
<noinclude>
[[category:Original templates]]
[[category:Original templates]]
</noinclude>
</noinclude>

Revision as of 16:30, 20 August 2023