Difference between revisions of "Template:Canon"

From blackwiki
Jump to navigation Jump to search
imported>Störm
imported>Voidxor
m (Moved article to Canon RF lens mount for consistency with the others.)
Line 16: Line 16:
  
 
     | group1 = [[:Category:Canon cameras|Cameras]]
 
     | group1 = [[:Category:Canon cameras|Cameras]]
     | list1 = <!-- To avoid bloat please do not add links to each model from every camera series, there are separate templates for the main series-->
+
     | list1 = <!-- To avoid bloat, please do not add links to each model from every camera series. There are separate templates for the main series. -->
 
* [[Canon 7]]
 
* [[Canon 7]]
 
* [[Canon A35F]]
 
* [[Canon A35F]]
Line 40: Line 40:
 
* [[Canon L lens]]
 
* [[Canon L lens]]
 
* [[Canon EF-M lens mount]]
 
* [[Canon EF-M lens mount]]
* [[Canon RF mount]]
+
* [[Canon RF lens mount]]
  
 
     | group3 = Other
 
     | group3 = Other

Revision as of 05:10, 6 February 2020

Initial visibility: currently defaults to autocollapse

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

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