Difference between revisions of "Template:Artificial light sources"

From blackwiki
Jump to navigation Jump to search
blackwiki>Sardanaphalus
(state handling, title, some formatting, Documentation)
blackwiki>Sardanaphalus
m (evenodd, group renumbering)
Line 17: Line 17:
 
| group2 = Methods of generation
 
| group2 = Methods of generation
 
| list2 =  
 
| list2 =  
  {{Navbox |child |groupstyle=font-weight:normal;
+
  {{Navbox |child |groupstyle=font-weight:normal; |evenodd=swap
 
   | group1 = [[Incandescence|Incandescent]]
 
   | group1 = [[Incandescence|Incandescent]]
 
   | list1 =
 
   | list1 =
Line 77: Line 77:
 
  }}
 
  }}
  
| group3 = [[Stage lighting|Theatrical{{dot}}Cinematic]]
+
<!---group3 omitted to maintain alternating list backgrounds--->
| list3 =
+
 
 +
| group4 = [[Stage lighting|Theatrical{{dot}}Cinematic]]
 +
| list4 =
 
* [[Stage lighting instrument#Floodlights|Floodlight]]
 
* [[Stage lighting instrument#Floodlights|Floodlight]]
 
* [[Footlight]]
 
* [[Footlight]]
Line 86: Line 88:
 
* [[Gobo (lighting)|Gobo]]
 
* [[Gobo (lighting)|Gobo]]
  
| group4 = [[Light fixture|Stationary]]
+
| group5 = [[Light fixture|Stationary]]
| list4 =
+
| list5 =
 
* [[Balanced-arm lamp]]
 
* [[Balanced-arm lamp]]
 
* [[Chandelier]]
 
* [[Chandelier]]
Line 104: Line 106:
 
* [[Troffer]]
 
* [[Troffer]]
  
| group5 = Mobile
+
| group6 = Mobile
| list5 =
+
| list6 =
 
* [[Flashlight]]
 
* [[Flashlight]]
 
* [[Glow stick]]
 
* [[Glow stick]]
Line 115: Line 117:
 
* [[Solar lamp]]
 
* [[Solar lamp]]
  
| group6 = {{hlist|Industrial|Scientific}}
+
| group7 = {{hlist|Industrial|Scientific}}
| list6 =
+
| list7 =
 
* [[Germicidal lamp|Germicidal]]
 
* [[Germicidal lamp|Germicidal]]
 
* [[Grow light]]
 
* [[Grow light]]
Line 123: Line 125:
 
* [[Stroboscope]]
 
* [[Stroboscope]]
  
| group7 = {{hlist|Display|[[Holiday lighting technology|Decorative]]}}
+
| group8 = {{hlist|Display|[[Holiday lighting technology|Decorative]]}}
| list7 =
+
| list8 =
 
* [[Aroma lamp]]
 
* [[Aroma lamp]]
 
* [[Black light]]
 
* [[Black light]]
Line 135: Line 137:
 
* [[Strobe light]]
 
* [[Strobe light]]
  
| group8 = Related topics
+
| group9 = Related topics
| list8 =
+
| list9 =
 
* [[Bioluminescence]]
 
* [[Bioluminescence]]
 
* [[Chemiluminescence]]
 
* [[Chemiluminescence]]
 +
* [[Photoluminescence]]
 +
* [[Radioluminescence]]
 
* [[Electroluminescent wire]]
 
* [[Electroluminescent wire]]
 
* [[Laser]]
 
* [[Laser]]
* [[Photoluminescence]]
 
* [[Radioluminescence]]
 
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 12:22, 4 October 2014

Template documentation

Initial visibility: currently defaults to autocollapse

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

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