Difference between revisions of "Template:Fairies"

From blackwiki
Jump to navigation Jump to search
imported>Andros 1337
(oops)
imported>Neutral0814
m (tw base/group bg colors)
Line 5: Line 5:
 
| bodyclass  = hlist
 
| bodyclass  = hlist
 
| titlestyle = background: #F2C1D1;
 
| titlestyle = background: #F2C1D1;
| basestyle  = background: #F8D2E3;
+
| basestyle  = background: #F8D2E2;
| groupstyle = background: #FADBEC;
+
| groupstyle = background: #FADBEB;
  
 
| above = [[Classifications of fairies]]
 
| above = [[Classifications of fairies]]
Line 45: Line 45:
 
  | title = Attested fairies
 
  | title = Attested fairies
 
  | state = {{{state<includeonly>|collapsed</includeonly>}}}
 
  | state = {{{state<includeonly>|collapsed</includeonly>}}}
  | titlestyle = background: #F8D2E3;
+
  | titlestyle = background: #F8D2E2;
  | basestyle  = background: #FADBEC;
+
  | basestyle  = background: #FADBEB;
  
 
  | group1 = A-E
 
  | group1 = A-E
Line 176: Line 176:
 
  | title = Fairy-like beings worldwide
 
  | title = Fairy-like beings worldwide
 
  | state = {{{state<includeonly>|collapsed</includeonly>}}}
 
  | state = {{{state<includeonly>|collapsed</includeonly>}}}
  | titlestyle = background: #F8D2E3;
+
  | titlestyle = background: #F8D2E2;
  | basestyle  = background: #FADBEC;
+
  | basestyle  = background: #FADBEB;
  
 
  | group1 = Worldwide
 
  | group1 = Worldwide
Line 244: Line 244:
 
  | group6 = Europe
 
  | group6 = Europe
 
  | list6  = {{Navbox|subgroup
 
  | list6  = {{Navbox|subgroup
   | basestyle = background: #FADBEC;
+
   | basestyle = background: #FADBEB;
  
 
   | group1 = Celtic
 
   | group1 = Celtic

Revision as of 22:08, 31 December 2020

Template documentation

Initial visibility: currently defaults to autocollapse

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

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