Template:Marx and Engels navbox: Difference between revisions

From Leftypedia
Jump to navigation Jump to search
m (Harrystein moved page Template:NavTMarxEng to Template:Marx and Engels navbox: clearer name. redirects will be fine.)
mNo edit summary
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|}}} | {{#switch: {{lc: {{{1}}} }} | all|both|marx = expanded | collapsed}} | expanded }} }}
| list1 = {{NavTMarxAlone|none|state = {{#if: {{{1|}}} | {{#switch: {{lc: {{{1}}} }} | all|both|expanded|marx = expanded | collapsed}} | expanded }} }}
| list2 = {{NavTMarxEngBoth|none|state = {{#if: {{{1|}}} | {{#switch: {{lc: {{{1}}} }} | all|both|expanded|both-only|only-both|bothonly = expanded | collapsed}} | expanded }} }}
| list2 = {{NavTMarxEngBoth|none|state = {{#if: {{{1|}}} | {{#switch: {{lc: {{{1}}} }} | all|both|expanded|both-only|only-both|bothonly = expanded | collapsed}} | expanded }} }}
| list3 = {{NavTEngAlone|none|state = {{#if: {{{1|}}} | {{#switch: {{lc: {{{1}}} }} | all|both|engels = expanded | collapsed}} | expanded }} }}
| list3 = {{NavTEngAlone|none|state = {{#if: {{{1|}}} | {{#switch: {{lc: {{{1}}} }} | all|both|expanded|engels = expanded | collapsed}} | expanded }} }}
}}
}}
<noinclude>
<noinclude>

Revision as of 16:57, 20 August 2023