Difference between revisions of "Template:Green politics"

From blackwiki
Jump to navigation Jump to search
imported>Toussaint
imported>WOSlinker
(change font tags to span tags)
 
(78 intermediate revisions by 36 users not shown)
Line 1: Line 1:
{{Navbox
+
{{{{#ifeq:{{{1|}}}|sidebar|Sidebar with collapsible lists|Navbox}}
 
|name  = Green politics
 
|name  = Green politics
|state = expanded
+
<!-- styling and classes -->
|title = [[Green politics]]
+
| style = {{#ifeq:{{{1|}}}|sidebar|border-spacing:0.2em 0;}}
|titlestyle = background:#b9e0a0;<!--per Template:Green politics sidebar-->
+
| titlestyle = {{#ifeq:{{{1|}}}|sidebar|font-size:200%;font-weight:normal;|background:#76a737;color:#f9e301;}}
|groupstyle = background:#b9e0a0;<!--as above-->
+
| imagestyle = padding:0.4em 0 0.4em;background:transparent;<!-- only used by sidebar -->
|liststyle  = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole-->
+
| groupstyle = background:#76a737;color:#f9e301;<!-- only used by navbox -->
 
+
| listtitlestyle = background:transparent;border-top:1px solid #aaa;text-align:center;<!-- only used by sidebar -->
|group1 = Core topics
+
| listclass = {{#ifeq:{{{1|}}}|sidebar|hlist|hlist}}
|list1  = [[Green politics]]{{·}} [[Green party]]{{·}} [[List of Green topics|List of topics]]
+
| belowstyle = {{#ifeq:{{{1|}}}|sidebar|padding-top:0.15em; |}}
 
+
| belowclass = {{#ifeq:{{{1|}}}|sidebar|hlist|hlist}}
|group2 = [[Four Pillars of the Green Party|Four Pillars]]
+
<!-- navbox specific -->
|list2  = [[Ecological wisdom]]{{·}} [[Social justice]]{{·}} [[Grassroots democracy]]{{·}} [[Nonviolence]]
+
| state = {{{state|autocollapse}}}
 
+
<!-- sidebar specific -->
|group3 = Schools
+
| pretitle = Part of [[:Category:Green politics|a series]] on
|list3  = [[Bright green environmentalism]]{{·}} [[Deep ecology]]{{·}} [[Eco-feminism]]{{·}} [[Eco-socialism]]{{·}} [[Green anarchism]]{{·}} [[Green conservatism]]{{·}} [[Green left]]{{·}} [[Green liberalism]]{{·}} [[Green libertarianism]]{{·}} [[Green syndicalism]]{{·}} [[Social ecology]]
+
| wraplinks = false
 
+
| image = {{#ifeq:{{{1|}}}|sidebar|[[File:Sunflower (Green symbol).svg|90px|Sunflower symbol]]}}
|group4 = Organizations
+
| expanded = {{{expanded|{{{1|}}}}}}
|list4  = [[Federation of Green Parties of Africa|in Africa]]{{·}} [[Federation of the Green Parties of the Americas|in the Americas]]{{·}} [[Asia-Pacific Green Network|Asia-Pacific]]{{·}} [[European Green Party|Europe]]{{·}} [[Federation of Young European Greens|Federation of Young European Greens (FYEG)]]{{·}} [[Global Greens]]{{·}} [[Global Young Greens|Global Young Greens (GYG)]]
+
| title = [[Green politics{{#ifeq:{{{1|}}}|sidebar||{{!}}<span style="color:#f9e301;">Green politics</span>}}]]
 
+
|{{#ifeq:{{{1|}}}|sidebar|list1title|group1}} = Core topics
|group5 = Related topics
+
|list1name = Core
|list5  = [[Conservation movement]]{{·}} [[Ecology movement]]{{·}} [[Ecocentrism]]{{·}} [[Environmentalism]]{{·}} [[List of environmental issues|Environmental issues]]
+
|list1  =
 
+
* [[Green politics]]
|belowstyle = background:#b9e0a0;<!--as above-->
+
* [[Green party]]
|below = [[Portal:Politics|Politics portal]]
+
* [[Outline of green politics|List of topics]]
}}<noinclude>
+
|{{#ifeq:{{{1|}}}|sidebar|list2title|group2}} = Four pillars
{{caution|{{tl|Green politics sidebar}} exists as an alternate version of this template.  Any content changes made here should be updated there as well.}}
+
|list2name = Pillars
 
+
|list2  =
[[Category:Green politics templates| ]]
+
* [[Ecosophy|Ecological wisdom]]
 +
* [[Social justice]]
 +
* [[Grassroots democracy]]
 +
* [[Nonviolence]]
 +
|{{#ifeq:{{{1|}}}|sidebar|list3title|group3}} = Perspectives
 +
|list3name = Perspectives
 +
|list3  = <!--Alphabetical:-->
 +
* [[Bright green environmentalism]]
 +
* [[Deep ecology]]
 +
* [[Ecoauthoritarianism]]
 +
* [[Eco-capitalism]]
 +
* [[Ecofascism]]
 +
* [[Ecofeminism]]
 +
* [[Eco-nationalism]]
 +
* [[Eco-socialism]]
 +
* [[Green anarchism]]
 +
* [[Green conservatism]]
 +
* [[Green left]]
 +
* [[Green liberalism]]
 +
* [[Green libertarianism]]
 +
* [[Green Zionism]]
 +
* [[Social ecology (Bookchin)|Social ecology]]
 +
* [[Queer ecology]]
 +
|{{#ifeq:{{{1|}}}|sidebar|list4title|group4}} = Organizations
 +
|list4name = Organizations
 +
|list4  =
 +
* [[Asia Pacific Greens Federation]]
 +
* [[European Green Party]]
 +
* [[Federation of Green Parties of Africa]]
 +
* [[Federation of the Green Parties of the Americas]]
 +
* [[Federation of Young European Greens]]
 +
* [[Global Greens]]
 +
* [[Global Young Greens]]
 +
|{{#ifeq:{{{1|}}}|sidebar|list5title|group5}} = Related{{#ifeq:{{{1|}}}|sidebar|&#32;| <br /> }}topics
 +
|list5name = Related
 +
|list5  = <!--Alphabetical:-->
 +
* [[Anti-environmentalism]]
 +
* [[Climate change mitigation]]
 +
* [[Conservation movement]]
 +
* [[Eco-terrorism]]
 +
* [[Ecocentrism]]
 +
* [[Ecological economics]]
 +
* [[Environmentalism]]
 +
* [[List of environmental issues|Environmental issues]]
 +
* [[Environmental justice]]
 +
* [[Ecological modernization]]
 +
* [[Environmental movement]]
 +
* [[Green state]]
 +
* [[Green theory]]
 +
* [[Localism (politics)|Localism]]
 +
}}
 +
<noinclude>
 +
{{Documentation}}
 +
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
 
</noinclude>
 
</noinclude>

Latest revision as of 20:42, 6 October 2020

Template documentation[view] [edit] [history] [purge]

This template is used to create either a footer or sidebar navigation template for topics related to Green politics.

Footer usage

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}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

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

  • {{Green politics sidebar}}
  • {{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}}, where listname is one of the following
    • Core, Pillars, Perspectives, Organizations, Related