Difference between revisions of "Template:Figurate numbers"

From blackwiki
Jump to navigation Jump to search
imported>PrimeHunter
(add border = {{{border|}}})
imported>Frietjes
(navbox subgroup syntax update)
Line 3: Line 3:
 
| title  = [[Figurate number]]s
 
| title  = [[Figurate number]]s
 
| listclass = hlist
 
| listclass = hlist
| state  = {{{state|collapsed}}}
+
| state  = {{{state|<includeonly>collapsed</includeonly>}}}
 
| border = {{{border|}}}
 
| border = {{{border|}}}
  
 
| group1 = [[Two-dimensional space|2-dimensional]]
 
| group1 = [[Two-dimensional space|2-dimensional]]
| list1 = {{Navbox subgroup
+
| list1 = {{Navbox|subgroup
 
  | group1 = [[Centered polygonal number|centered]]
 
  | group1 = [[Centered polygonal number|centered]]
 
  | list1 =  
 
  | list1 =  
Line 33: Line 33:
  
 
| group2 = [[Three-dimensional space|3-dimensional]]
 
| group2 = [[Three-dimensional space|3-dimensional]]
| list2 = {{Navbox subgroup
+
| list2 = {{Navbox|subgroup
 
  | group1 = [[centered polyhedral number|centered]]
 
  | group1 = [[centered polyhedral number|centered]]
 
  | list1 =  
 
  | list1 =  
Line 59: Line 59:
  
 
| group3 = [[Four-dimensional space|4-dimensional]]
 
| group3 = [[Four-dimensional space|4-dimensional]]
| list3 = {{Navbox subgroup
+
| list3 = {{Navbox|subgroup
 
  |group1 = centered
 
  |group1 = centered
 
  |list1 =  
 
  |list1 =  

Revision as of 17:46, 31 August 2017

Initial visibility: currently defaults to autocollapse

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

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