Difference between revisions of "Template:Green politics"

From blackwiki
Jump to navigation Jump to search
imported>MTAnarchist
m
imported>WOSlinker
(change font tags to span tags)
 
(17 intermediate revisions by 9 users not shown)
Line 3: Line 3:
 
<!-- styling and classes -->
 
<!-- styling and classes -->
 
| style = {{#ifeq:{{{1|}}}|sidebar|border-spacing:0.2em 0;}}
 
| style = {{#ifeq:{{{1|}}}|sidebar|border-spacing:0.2em 0;}}
| titlestyle = {{#ifeq:{{{1|}}}|sidebar|font-size:200%;font-weight:normal;|background:#b9e0a0;}}
+
| titlestyle = {{#ifeq:{{{1|}}}|sidebar|font-size:200%;font-weight:normal;|background:#76a737;color:#f9e301;}}
 
| imagestyle = padding:0.4em 0 0.4em;background:transparent;<!-- only used by sidebar -->
 
| imagestyle = padding:0.4em 0 0.4em;background:transparent;<!-- only used by sidebar -->
| groupstyle = background:#b9e0a0;<!-- only used by navbox -->
+
| groupstyle = background:#76a737;color:#f9e301;<!-- only used by navbox -->
| listtitlestyle = border-top:1px solid #76A837;background:transparent;text-align:center;<!-- only used by sidebar -->
+
| listtitlestyle = background:transparent;border-top:1px solid #aaa;text-align:center;<!-- only used by sidebar -->
| listclass = {{#ifeq:{{{1|}}}|sidebar|plainlist|hlist}}
+
| listclass = {{#ifeq:{{{1|}}}|sidebar|hlist|hlist}}
| belowstyle = {{#ifeq:{{{1|}}}|sidebar|padding-top:0.15em; border-color:#76A837|background:#b9e0a0;}}
+
| belowstyle = {{#ifeq:{{{1|}}}|sidebar|padding-top:0.15em; |}}
| belowclass = {{#ifeq:{{{1|}}}|sidebar|plainlist|hlist}}
+
| belowclass = {{#ifeq:{{{1|}}}|sidebar|hlist|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
| wraplinks = true
+
| wraplinks = false
 
| 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||{{!}}<span style="color:#f9e301;">Green politics</span>}}]]
 
|{{#ifeq:{{{1|}}}|sidebar|list1title|group1}} = Core topics
 
|{{#ifeq:{{{1|}}}|sidebar|list1title|group1}} = Core topics
 
|list1name = Core
 
|list1name = Core
Line 32: Line 32:
 
* [[Nonviolence]]
 
* [[Nonviolence]]
 
|{{#ifeq:{{{1|}}}|sidebar|list3title|group3}} = Perspectives
 
|{{#ifeq:{{{1|}}}|sidebar|list3title|group3}} = Perspectives
|list3name = Schools
+
|list3name = Perspectives
|list3  =
+
|list3  = <!--Alphabetical:-->
 
* [[Bright green environmentalism]]
 
* [[Bright green environmentalism]]
 
* [[Deep ecology]]
 
* [[Deep ecology]]
 +
* [[Ecoauthoritarianism]]
 +
* [[Eco-capitalism]]
 
* [[Ecofascism]]
 
* [[Ecofascism]]
* [[Eco-capitalism]]
+
* [[Ecofeminism]]
* [[Ecofeminism|Eco-feminism]]
 
* [[Queer ecology]]
 
 
* [[Eco-nationalism]]
 
* [[Eco-nationalism]]
 
* [[Eco-socialism]]
 
* [[Eco-socialism]]
Line 47: Line 47:
 
* [[Green liberalism]]
 
* [[Green liberalism]]
 
* [[Green libertarianism]]
 
* [[Green libertarianism]]
* [[Social ecology (theory)|Social ecology]]
 
 
* [[Green Zionism]]
 
* [[Green Zionism]]
 +
* [[Social ecology (Bookchin)|Social ecology]]
 +
* [[Queer ecology]]
 
|{{#ifeq:{{{1|}}}|sidebar|list4title|group4}} = Organizations
 
|{{#ifeq:{{{1|}}}|sidebar|list4title|group4}} = Organizations
 
|list4name = Organizations
 
|list4name = Organizations
Line 59: Line 60:
 
* [[Global Greens]]
 
* [[Global Greens]]
 
* [[Global Young Greens]]
 
* [[Global Young Greens]]
|{{#ifeq:{{{1|}}}|sidebar|list5title|group5}} = Related topics
+
|{{#ifeq:{{{1|}}}|sidebar|list5title|group5}} = Related{{#ifeq:{{{1|}}}|sidebar|&#32;| <br /> }}topics
 
|list5name = Related
 
|list5name = Related
|list5  =
+
|list5  = <!--Alphabetical:-->
 
* [[Anti-environmentalism]]
 
* [[Anti-environmentalism]]
* [[Individual and political action on climate change|Climate change politics]]
+
* [[Climate change mitigation]]
 
* [[Conservation movement]]
 
* [[Conservation movement]]
 
* [[Eco-terrorism]]
 
* [[Eco-terrorism]]
 
* [[Ecocentrism]]
 
* [[Ecocentrism]]
* [[Ecofascism]]
 
 
* [[Ecological economics]]
 
* [[Ecological economics]]
* [[Ecological modernization]]
+
* [[Environmentalism]]
 
* [[List of environmental issues|Environmental issues]]
 
* [[List of environmental issues|Environmental issues]]
 
* [[Environmental justice]]
 
* [[Environmental justice]]
 +
* [[Ecological modernization]]
 
* [[Environmental movement]]
 
* [[Environmental movement]]
* [[Environmentalism]]
+
* [[Green state]]
 +
* [[Green theory]]
 
* [[Localism (politics)|Localism]]
 
* [[Localism (politics)|Localism]]
 
}}
 
}}
 
<noinclude>
 
<noinclude>
{{documentation|content=
+
{{Documentation}}
This template is used to create either a footer or sidebar navigation template for topics related to [[Green politics]].
+
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
 
 
== Footer usage ==
 
{{collapsible option}}
 
{{clear}}
 
 
 
== Sidebar usage ==
 
{{Green politics sidebar}}
 
{{tld|Green politics|sidebar}}
 
This template includes collapsible lists.
 
* 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
 
** <code>Core</code>, <code>Pillars</code>, <code>Schools</code>, <code>Organizations</code>, <code>Related</code>
 
[[Category:Green politics templates| ]]
 
}}
 
 
</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