Difference between revisions of "Template:Canon EOS digital cameras, pre-2010"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(state)
(Setting up a templater for compact cameras)
Line 1: Line 1:
 
{|class="navbox mw-collapsible {{#ifeq:{{{state|}}}|collapsed|mw-collapsed|{{{state|autocollapse}}}}}"
 
{|class="navbox mw-collapsible {{#ifeq:{{{state|}}}|collapsed|mw-collapsed|{{{state|autocollapse}}}}}"
 
|-
 
|-
! class="navbox-title" | {{navbar-collapsible|[[Canon EOS]] [[digital camera]] timeline, pre-2010 <small>([[Comparison of Canon EOS digital cameras|comparison]])</small>|Canon EOS digital cameras, pre-2010}}
+
! class="navbox-title" | {{navbar-collapsible|[[Canon compact]] [[digital camera]] timeline, <small>([[Comparison of Canon compact digital cameras|comparison]])</small>|Canon compact digital cameras}}
 
|-
 
|-
 
|
 
|
Line 8: Line 8:
 
|rowspan=2 style=width:2.5em|Type
 
|rowspan=2 style=width:2.5em|Type
 
|rowspan=2 style=width:4.5em|Sensor
 
|rowspan=2 style=width:4.5em|Sensor
 +
 +
|colspan=4|1995
 +
|colspan=4|1996
 +
|colspan=4|1997
 +
|colspan=4|1998
 +
|colspan=4|1999
 
|colspan=4|2000
 
|colspan=4|2000
 
|colspan=4|2001
 
|colspan=4|2001
Line 14: Line 20:
 
|colspan=4|2004
 
|colspan=4|2004
 
|colspan=4|2005
 
|colspan=4|2005
|colspan=4|2006
 
|colspan=4|2007
 
|colspan=4|2008
 
|colspan=4|2009
 
 
|- style="font-weight:bold"
 
|- style="font-weight:bold"
 
| || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || ||  
 
| || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || || ||  

Revision as of 11:19, 25 October 2020

Initial visibility: currently defaults to autocollapse

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

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