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

From blackwiki
Jump to navigation Jump to search
(Setting up a templater for compact cameras)
imported>Redrose64
(fix v-t-e links)
 
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 compact]] [[digital camera]] timeline, <small>([[Comparison of Canon compact digital cameras|comparison]])</small>|Canon compact digital cameras}}
+
! class="navbox-title" | {{navbar-collapsible|[[Canon compact]] [[digital camera]] timeline, <small>([[Comparison of Canon compact digital cameras|comparison]])</small>|Canon EOS digital cameras, pre-2010}}
 
|-
 
|-
 
|
 
|
Line 116: Line 116:
 
<br/>
 
<br/>
 
'''See also:''' [[Template:Canon EOS film cameras|Canon EOS film cameras]], [[Template:Canon EOS digital cameras, post-2012|Canon EOS digital cameras, 2010-present]]
 
'''See also:''' [[Template:Canon EOS film cameras|Canon EOS film cameras]], [[Template:Canon EOS digital cameras, post-2012|Canon EOS digital cameras, 2010-present]]
|}
+
|}<noinclude>
<noinclude>{{Collapsible option}}
+
{{Collapsible option}}
[[Category:Canon camera templates]]</noinclude>
+
[[Category:Canon camera templates]]
 +
</noinclude>

Latest revision as of 15:55, 10 November 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.