Difference between revisions of "Template:Education stages"

From blackwiki
Jump to navigation Jump to search
Line 15: Line 15:
 
   |colstyle = text-align:center;
 
   |colstyle = text-align:center;
  
   |col1header =  [[Preschool education|Preschool]] →
+
   |col1header =  [[Preschool education|Preschool]]<br/>&rarr;
   |col2header = [[Kindergarten]] &rarr;
+
   |col2header = [[Kindergarten]]<br/>&rarr;
  
 
  }}
 
  }}
Line 24: Line 24:
 
   |colstyle = text-align:center;
 
   |colstyle = text-align:center;
  
   |col1header =  [[Primary school|Primary]] &rarr;
+
   |col1header =  [[Primary school|Primary]]<br/>&rarr;
   |col2header = [[Middle school|Middle]] &rarr;
+
   |col2header = [[Middle school|Middle]]<br/>&rarr;
  
 
  }}
 
  }}
Line 33: Line 33:
 
   |colstyle = text-align:center;
 
   |colstyle = text-align:center;
  
   |col1header =  [[High school]] &rarr;
+
   |col1header =  [[High school]]<br/>&rarr;
  
 
   |col1 =  {{Navbox with columns|child
 
   |col1 =  {{Navbox with columns|child
Line 39: Line 39:
 
     |colstyle = text-align:center;
 
     |colstyle = text-align:center;
  
     |col1header = [[Junior High School]] &rarr;
+
     |col1header = [[Junior High School]]<br/>&rarr;
     |col2header = [[Senior High School]] &rarr;
+
     |col2header = [[Senior High School]]<br/>&rarr;
 
   }}
 
   }}
 
  }}
 
  }}
Line 46: Line 46:
 
   |colwidth = 50%
 
   |colwidth = 50%
 
   |colstyle = text-align:center;
 
   |colstyle = text-align:center;
   |col1header = [[Higher education]]
+
   |col1header = [[Higher education]]<br/>&nbsp;
 
   |col2header =[[Vocational education|Vocational]]
 
   |col2header =[[Vocational education|Vocational]]
 
   |col3header =[[Further education|Further]]
 
   |col3header =[[Further education|Further]]
Line 54: Line 54:
 
     |colstyle = text-align:center;
 
     |colstyle = text-align:center;
  
     |col1header = [[Undergraduate education|Undergraduate]] &rarr;
+
     |col1header = [[Undergraduate education|Undergraduate]]<br/>&rarr;
     |col2header = [[Postgraduate education|Postgraduate]]
+
     |col2header = [[Postgraduate education|Postgraduate]]<br/>&nbsp;
 
   }}
 
   }}
 
  }}
 
  }}

Revision as of 06:47, 5 September 2013

Initial visibility: currently defaults to autocollapse

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

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