Difference between revisions of "Template:Feminism"

From blackwiki
Jump to navigation Jump to search
imported>The Vintage Feminist
imported>Frietjes
(fix parameter collision and WP:CONTRAST)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = Feminism
 
|name = Feminism
|state = {{{state<includeonly>|{{{1|collapsed}}}</includeonly>}}}
+
|state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|bodyclass = hlist
 
|bodyclass = hlist
|titlestyle = background:#82D9AD;
 
 
|title = [[Feminism]]
 
|title = [[Feminism]]
|groupstyle = background:#82D9AD;color:black;
 
  
|abovestyle = background:#82D9AD;
 
 
|above =
 
|above =
 
  {{#if:{{{1|}}} |
 
  {{#if:{{{1|}}} |
Line 17: Line 14:
  
 
|group1 = [[History of feminism|History]]
 
|group1 = [[History of feminism|History]]
|list1style = padding:0; background:transparent; <!--subgroups in use-->
 
 
|list1  =
 
|list1  =
  {{Navbox subgroup |groupstyle=background:#82D9AD; color:black; <!--as above--> font-weight:normal; <!--|evenodd=swap-->
+
  {{Navbox|subgroup |groupstyle=font-weight:normal;
 
   |group1 = Social
 
   |group1 = Social
 
   |list1  =  
 
   |list1  =  
Line 195: Line 191:
 
* [[List of suffragists and suffragettes#Major suffrage organizations|Women's suffrage organizations]]
 
* [[List of suffragists and suffragettes#Major suffrage organizations|Women's suffrage organizations]]
  
|belowstyle = height:24px;background:#82D9AD;padding:0.1em;color:black;
+
|below = {{portal-inline|Feminism|size=tiny}}
|below = [[Image:{{{image|{{{2|Woman-power emblem.svg}}}}}}|16px|Portal:Feminism]] {{lower|1px|'''[[Portal:Feminism|Feminism portal]]'''}}
 
  
 
}}<noinclude>
 
}}<noinclude>
<br/>{{caution |{{tl|Feminism sidebar}} exists as an alternate version of this template. Any content changes made here should be made there as well.}}
+
{{documentation|content=
 
+
{{caution |{{tl|Feminism sidebar}} exists as an alternate version of this template. Any content changes made here should be made there as well.}}
{{notice |1=The default state of this template is '''collapsed''', but if you use <code style="font-size:95%;"><nowiki>{{Feminism |uncollapsed}}</nowiki></code> it will be expanded as above.}}
+
{{collapsible option}}
  
 
[[Category:Feminism templates| ]]
 
[[Category:Feminism templates| ]]
 
[[Category:Women's rights| Template]]
 
[[Category:Women's rights| Template]]
</noinclude>
+
}}</noinclude>

Revision as of 14:16, 15 September 2015

Template documentation

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Feminism|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Feminism|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Feminism|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.