Difference between revisions of "Template:Education stages"

From blackwiki
Jump to navigation Jump to search
(made the arrows (more) visible)
(arrows less brash • overall nowrap)
Line 3: Line 3:
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 
| border = {{{border|}}}
 
| border = {{{border|}}}
| style = <!--text-align:center-->
+
| bodyclass = nowrap
 
| title = [[Educational stage|Stage]]s of formal [[education]]
 
| title = [[Educational stage|Stage]]s of formal [[education]]
 
| colwidth = 20%
 
| colwidth = 20%
Line 9: Line 9:
 
| col1header = [[Early childhood education]]
 
| col1header = [[Early childhood education]]
 
| col1 = {{Navbox with columns |child |colwidth=50%
 
| col1 = {{Navbox with columns |child |colwidth=50%
           | colheaderstyle = width:50%;font-weight:normal;padding-right:0.5em
+
           | colheaderstyle = width:50%; font-weight:normal; padding-right:0.5em
           | col1header = '''[[Preschool]]'''   {{align|right|{{arrow/core|size=22}}}}
+
           | col1header = <div style="float:right;color:#888">{{arrow/core|size=22}}</div> '''[[Preschool]]'''
          | col2header = '''[[Kindergarten]]''' {{align|right|{{arrow/core|size=22}}}}
+
          | col2header = <div style="float:right;color:#888">{{arrow/core|size=22}}</div> '''[[Kindergarten]]'''
 
         }}
 
         }}
 
| col2header = [[Primary education]]
 
| col2header = [[Primary education]]
 
| col2 = {{Navbox with columns |child |colwidth=50%
 
| col2 = {{Navbox with columns |child |colwidth=50%
           | colheaderstyle = width:50%;font-weight:normal;padding-right:0.5em
+
           | colheaderstyle = width:50%; font-weight:normal; padding-right:0.5em
           | col1header = '''[[Primary school|Primary]]''' {{align|right|{{arrow/core|size=22}}}}
+
           | col1header = <div style="float:right;color:#888">{{arrow/core|size=22}}</div> '''[[Primary school|Primary]]'''
          | col2header = '''[[Middle school|Middle]]'''   {{align|right|{{arrow/core|size=22}}}}
+
          | col2header = <div style="float:right;color:#888">{{arrow/core|size=22}}</div> '''[[Middle school|Middle]]'''
 
         }}
 
         }}
 
| col3header = [[Secondary education]]
 
| col3header = [[Secondary education]]
 
| col3 = {{Navbox with columns |child |colwidth=50%
 
| col3 = {{Navbox with columns |child |colwidth=50%
           | colheaderstyle = width:50%;font-weight:normal;padding-right:0.5em
+
           | colheaderstyle = width:50%; font-weight:normal; padding-right:0.5em
           | col1header = '''[[High school]]''' {{align|right|{{arrow/core|size=22}}}}
+
           | col1header = <div style="float:right;color:#888">{{arrow/core|size=22}}</div> '''[[High school]]'''
 
           | col1 = {{Navbox with columns |child |colwidth=50%
 
           | col1 = {{Navbox with columns |child |colwidth=50%
                     | colheaderstyle = width:50%;font-weight:normal;padding-right:0.5em
+
                     | colheaderstyle = width:50%; font-weight:normal; padding-right:0.5em
                     | col1header = [[Middle school|Junior&nbsp;/ Middle]] {{align|right|{{arrow/core|size=22}}}}
+
                     | col1header = <div style="float:right;color:#888">{{arrow/core|size=22}}</div> [[Middle school|Junior&nbsp;/ Middle]]
                    | col2header = [[High school|Senior]] {{align|right|{{arrow/core|size=22}}}}
+
                    | col2header = <div style="float:right;color:#888">{{arrow/core|size=22}}</div> [[High school|Senior]]
 
         }}        }}
 
         }}        }}
 
| col4width = 33%
 
| col4width = 33%
Line 33: Line 33:
 
           | col1header = [[Higher education]]
 
           | col1header = [[Higher education]]
 
           | col1 = {{Navbox with columns |child |colwidth=50%
 
           | col1 = {{Navbox with columns |child |colwidth=50%
                     | colheaderstyle = width:50%;font-weight:normal;padding-right:0.5em
+
                     | colheaderstyle = width:50%; font-weight:normal; padding-right:0.5em
                     | col1header = [[Undergraduate education|Undergraduate]] {{align|right|{{arrow/core|size=22}}}}
+
                     | col1header = <div style="float:right;color:#888">{{arrow/core|size=22}}</div> [[Undergraduate education|Undergraduate]]
 
                     | col2header = [[Postgraduate education|Postgraduate]]
 
                     | col2header = [[Postgraduate education|Postgraduate]]
 
                   }}
 
                   }}

Revision as of 17:44, 18 February 2015

Template documentation

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.