Difference between revisions of "Template:Green politics"
Jump to navigation
Jump to search
Template documentation
| Line 1: | Line 1: | ||
{{{{#ifeq:{{{1|}}}|sidebar|Sidebar with collapsible lists|Navbox}} | {{{{#ifeq:{{{1|}}}|sidebar|Sidebar with collapsible lists|Navbox}} | ||
|name = Green politics | |name = Green politics | ||
| − | |||
<!-- styling and classes --> | <!-- styling and classes --> | ||
| style = {{#ifeq:{{{1|}}}|sidebar|border-spacing:0.2em 0;}} | | style = {{#ifeq:{{{1|}}}|sidebar|border-spacing:0.2em 0;}} | ||
| Line 11: | Line 10: | ||
| belowstyle = {{#ifeq:{{{1|}}}|sidebar|padding-top:0.15em; border-color:#76A837|background:#b9e0a0;}} | | belowstyle = {{#ifeq:{{{1|}}}|sidebar|padding-top:0.15em; border-color:#76A837|background:#b9e0a0;}} | ||
| belowclass = {{#ifeq:{{{1|}}}|sidebar|plainlist|hlist}} | | belowclass = {{#ifeq:{{{1|}}}|sidebar|plainlist|hlist}} | ||
| − | |||
<!-- navbox specific --> | <!-- navbox specific --> | ||
| state = {{{state|autocollapse}}} | | state = {{{state|autocollapse}}} | ||
| − | |||
<!-- sidebar specific --> | <!-- sidebar specific --> | ||
| pretitle = Part of [[:Category:Green politics|a series]] on | | pretitle = Part of [[:Category:Green politics|a series]] on | ||
| Line 20: | Line 17: | ||
| image = {{#ifeq:{{{1|}}}|sidebar|[[File:Sunflower (Green symbol).svg|90px|Sunflower symbol]]}} | | image = {{#ifeq:{{{1|}}}|sidebar|[[File:Sunflower (Green symbol).svg|90px|Sunflower symbol]]}} | ||
| expanded = {{{expanded|{{{1|}}}}}} | | expanded = {{{expanded|{{{1|}}}}}} | ||
| − | |||
| title = [[Green politics]] | | title = [[Green politics]] | ||
| − | |||
|{{#ifeq:{{{1|}}}|sidebar|list1title|group1}} = Core topics | |{{#ifeq:{{{1|}}}|sidebar|list1title|group1}} = Core topics | ||
|list1name = Core | |list1name = Core | ||
| Line 29: | Line 24: | ||
* [[Green party]] | * [[Green party]] | ||
* [[Outline of green politics|List of topics]] | * [[Outline of green politics|List of topics]] | ||
| − | |||
|{{#ifeq:{{{1|}}}|sidebar|list2title|group2}} = Four pillars | |{{#ifeq:{{{1|}}}|sidebar|list2title|group2}} = Four pillars | ||
|list2name = Pillars | |list2name = Pillars | ||
| Line 37: | Line 31: | ||
* [[Grassroots democracy]] | * [[Grassroots democracy]] | ||
* [[Nonviolence]] | * [[Nonviolence]] | ||
| − | |||
|{{#ifeq:{{{1|}}}|sidebar|list3title|group3}} = Perspectives | |{{#ifeq:{{{1|}}}|sidebar|list3title|group3}} = Perspectives | ||
|list3name = Schools | |list3name = Schools | ||
| Line 55: | Line 48: | ||
* [[Social ecology (theory)|Social ecology]] | * [[Social ecology (theory)|Social ecology]] | ||
* [[Green Zionism]] | * [[Green Zionism]] | ||
| − | |||
|{{#ifeq:{{{1|}}}|sidebar|list4title|group4}} = Organizations | |{{#ifeq:{{{1|}}}|sidebar|list4title|group4}} = Organizations | ||
|list4name = Organizations | |list4name = Organizations | ||
| Line 66: | Line 58: | ||
* [[Global Greens]] | * [[Global Greens]] | ||
* [[Global Young Greens]] | * [[Global Young Greens]] | ||
| − | |||
|{{#ifeq:{{{1|}}}|sidebar|list5title|group5}} = Related topics | |{{#ifeq:{{{1|}}}|sidebar|list5title|group5}} = Related topics | ||
|list5name = Related | |list5name = Related | ||
| Line 82: | Line 73: | ||
* [[Environmentalism]] | * [[Environmentalism]] | ||
* [[Localism (politics)|Localism]] | * [[Localism (politics)|Localism]] | ||
| − | + | }} | |
| − | }}<noinclude> | + | <noinclude> |
{{documentation|content= | {{documentation|content= | ||
This template is used to create either a footer or sidebar navigation template for topics related to [[Green politics]]. | This template is used to create either a footer or sidebar navigation template for topics related to [[Green politics]]. | ||
| Line 94: | Line 85: | ||
{{Green politics sidebar}} | {{Green politics sidebar}} | ||
{{tld|Green politics|sidebar}} | {{tld|Green politics|sidebar}} | ||
| − | |||
This template includes collapsible lists. | This template includes collapsible lists. | ||
* To have all the lists appear uncollapsed by default, use {{tld|Green politics|sidebar|expanded{{=}}all}} | * To have all the lists appear uncollapsed by default, use {{tld|Green politics|sidebar|expanded{{=}}all}} | ||
* To have a particular list appear uncollapsed, while keeping the remainder collapsed, use {{tld|Green politics|sidebar|expanded{{=}}listname}}, where <code>listname</code> is one of the following | * To have a particular list appear uncollapsed, while keeping the remainder collapsed, use {{tld|Green politics|sidebar|expanded{{=}}listname}}, where <code>listname</code> is one of the following | ||
** <code>Core</code>, <code>Pillars</code>, <code>Schools</code>, <code>Organizations</code>, <code>Related</code> | ** <code>Core</code>, <code>Pillars</code>, <code>Schools</code>, <code>Organizations</code>, <code>Related</code> | ||
| − | |||
[[Category:Green politics templates| ]] | [[Category:Green politics templates| ]] | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
Revision as of 19:06, 15 March 2019
This template is used to create either a footer or sidebar navigation template for topics related to Green politics.
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{Green politics|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{Green politics|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{Green politics|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 a series on |
| Green politics |
|---|
|
Core topics |
|
Four pillars |
{{Green politics|sidebar}}
This template includes collapsible lists.
- To have all the lists appear uncollapsed by default, use
{{Green politics|sidebar|expanded=all}} - To have a particular list appear uncollapsed, while keeping the remainder collapsed, use
{{Green politics|sidebar|expanded=listname}}, wherelistnameis one of the followingCore,Pillars,Schools,Organizations,Related
| The above documentation is transcluded from Template:Green politics/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |