Template:Marx and Engels navbox: Difference between revisions

From Leftypedia
Jump to navigation Jump to search
(continued test on shitty hack)
m (continuing fix.)
Line 2: Line 2:
<!--Shitty hack to fix the expanded/collapsed options for each of the three:-->
<!--Shitty hack to fix the expanded/collapsed options for each of the three:-->
<!--These test if param 1 exists; if it does, then expand. Else, check for keyword. If keyword is wrong, then collapse.-->
<!--These test if param 1 exists; if it does, then expand. Else, check for keyword. If keyword is wrong, then collapse.-->
| list1 = {{NavTMarxAlone|none|state = {{#if: {{{1|}}} | {{#ifeq: marx | {{{1}}} | expanded | collapsed}} | expanded }} }}
| list1 = {{NavTMarxAlone|none|state = {{#if: {{{1|}}} | {{#switch: {{{1}}} | all|both|marx|Marx = expanded | collapsed}} | expanded }} }}
| list2 = {{NavTMarxEngBoth|none|state = {{#if: {{{1|}}} | {{#switch: {{{1}}} | both|all|expanded = expanded | collapsed}} | expanded }} }}
| list2 = {{NavTMarxEngBoth|none|state = {{#if: {{{1|}}} | {{#switch: {{{1}}} | both|all|expanded = expanded | collapsed}} | expanded }} }}
| list3 = {{NavTEngAlone|none|state = {{#if: {{{1|}}} | {{#ifeq: engels | {{{1}}} | expanded | collapsed}} | expanded }} }}
| list3 = {{NavTEngAlone|none|state = {{#if: {{{1|}}} | {{#switch: {{{1}}} | all|both|engels|Engels = expanded | collapsed}} | expanded }} }}
}}
}}
<noinclude>
<noinclude>
[[category:Original templates]]
[[category:Original templates]]
</noinclude>
</noinclude>

Revision as of 16:43, 20 August 2023