Difference between revisions of "Template:Communism"
imported>Davemck m (rename duplicate parms) |
imported>MarioGom (avoid extra blanks) |
||
| Line 1: | Line 1: | ||
| − | <noinclude>{{pp-template|small=yes}}</noinclude> | + | <noinclude>{{pp-template|small=yes}}</noinclude>{{{{#ifeq:{{{1|}}}|sidebar|Sidebar with collapsible lists|Navbox}} |
| − | {{{{#ifeq:{{{1|}}}|sidebar|Sidebar with collapsible lists|Navbox}} | ||
| name = Communism | | name = Communism | ||
| title = {{#ifeq:{{{1|}}}|sidebar|[[Communism]]|[[Communism|{{colors|white|#DD0000|Communism}}]]}} | | title = {{#ifeq:{{{1|}}}|sidebar|[[Communism]]|[[Communism|{{colors|white|#DD0000|Communism}}]]}} | ||
| Line 177: | Line 176: | ||
* "[[The Internationale]]" | * "[[The Internationale]]" | ||
| below = {{#ifeq:{{{1|}}}|sidebar|{{portal-inline|Communism|size=tiny}}|[[Portal:Communism|{{colors|white|#DD0000|Portal}}]]}} | | below = {{#ifeq:{{{1|}}}|sidebar|{{portal-inline|Communism|size=tiny}}|[[Portal:Communism|{{colors|white|#DD0000|Portal}}]]}} | ||
| − | }} | + | }}<noinclude> |
| − | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Communism templates|Communism templates]] | [[Category:Communism templates|Communism templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 00:25, 17 August 2019
This template is used to create either a footer or sidebar navigation template for topics related to Communism.
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Communism|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Communism|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Communism|state=autocollapse}}
If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.
Sidebar usage
| Part of the Politics series on Communism |
|
Basic concepts |
|
Prominent Communists |
|
Schools of communism |
|
Communist organizations |
|
Related subjects |
| Communism Portal |
- {{Communism sidebar}}
{{Communism|sidebar}}- This template includes collapsible lists.
- To have all the lists appear uncollapsed by default, use
{{Communism|sidebar|expanded=all}} - To have a particular list appear uncollapsed, while keeping the remainder collapsed, use
{{Communism|sidebar|expanded=listname}}, wherelistnameis one of the followingConcepts,Aspects,Variants,Internationals,People,By region,Related,Anthem
| The above documentation is transcluded from Template:Communism/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |