Difference between revisions of "Template:Education stages"

From blackwiki
Jump to navigation Jump to search
imported>ONEder Boy
m
(made the arrows (more) visible)
Line 1: Line 1:
 
{{Navbox with columns
 
{{Navbox with columns
|name = Education stages
+
| name = Education stages
|title = [[Educational stage|Stages]] of formal [[education]]
+
| state = {{{state|autocollapse}}}
|border = {{{border|}}}
+
| border = {{{border|}}}
|state = {{{state|autocollapse}}}
+
| style = <!--text-align:center-->
|colwidth = 20%
+
| title = [[Educational stage|Stage]]s of formal [[education]]
|col4width = 40%
+
| colwidth = 20%
|col1header = [[Early childhood education]]
 
|col2header = [[Primary education]]
 
|col3header = [[Secondary education]]
 
|col4header = [[Tertiary education]]
 
  
|col1 = {{Navbox with columns|child
+
| col1header = [[Early childhood education]]
   |colwidth = 50%
+
| col1 = {{Navbox with columns |child |colwidth=50%
  |colstyle = text-align:center;
+
          | colheaderstyle = width:50%;font-weight:normal;padding-right:0.5em
 +
          | col1header = '''[[Preschool]]'''    {{align|right|{{arrow/core|size=22}}}}
 +
          | col2header = '''[[Kindergarten]]''' {{align|right|{{arrow/core|size=22}}}}
 +
        }}
 +
| col2header = [[Primary education]]
 +
| col2 = {{Navbox with columns |child |colwidth=50%
 +
          | colheaderstyle = width:50%;font-weight:normal;padding-right:0.5em
 +
          | col1header = '''[[Primary school|Primary]]''' {{align|right|{{arrow/core|size=22}}}}
 +
          | col2header = '''[[Middle school|Middle]]'''   {{align|right|{{arrow/core|size=22}}}}
 +
        }}
 +
| col3header = [[Secondary education]]
 +
| col3 = {{Navbox with columns |child |colwidth=50%
 +
          | colheaderstyle = width:50%;font-weight:normal;padding-right:0.5em
 +
          | col1header = '''[[High school]]''' {{align|right|{{arrow/core|size=22}}}}
 +
          | col1 = {{Navbox with columns |child |colwidth=50%
 +
                    | colheaderstyle = width:50%;font-weight:normal;padding-right:0.5em
 +
                    | col1header = [[Middle school|Junior&nbsp;/ Middle]] {{align|right|{{arrow/core|size=22}}}}
 +
                    | col2header = [[High school|Senior]] {{align|right|{{arrow/core|size=22}}}}
 +
        }}        }}
 +
| col4width = 33%
 +
| col4header = [[Tertiary education]]
 +
| col4 = {{Navbox with columns |child |colwidth=50%
 +
          | col1header = [[Higher education]]
 +
          | col1 = {{Navbox with columns |child |colwidth=50%
 +
                    | colheaderstyle = width:50%;font-weight:normal;padding-right:0.5em
 +
                    | col1header = [[Undergraduate education|Undergraduate]] {{align|right|{{arrow/core|size=22}}}}
 +
                    | col2header = [[Postgraduate education|Postgraduate]]
 +
                  }}
 +
          | col2header = {{hlist|[[Vocational education|Vocational]]|[[Further education|Further]]}}
 +
        }}
  
  |col1header = [[Preschool]]<br>&rarr;
+
| belowclass = hlist
  |col2header = [[Kindergarten]]<br>&rarr;
+
| below =
}}
 
 
 
|col2 = {{Navbox with columns|child
 
  |colwidth = 50%
 
  |colstyle = text-align:center;
 
 
 
  |col1header = [[Primary school|Primary]]<br>&rarr;
 
  |col2header = [[Middle school|Middle]]<br>&rarr;
 
}}
 
 
 
|col3 = {{Navbox with columns|child
 
  |colwidth = 50%
 
  |colstyle = text-align:center;
 
 
 
  |col1header = [[High school]]<br>&rarr;
 
 
 
  |col1 = {{Navbox with columns|child
 
    |colwidth = 50%
 
    |colstyle = text-align:center;
 
 
 
    |col1header = [[Middle school|Junior High School]]<br>&rarr;
 
    |col2header = [[High school|Senior High School]]<br>&rarr;
 
  }}
 
}}
 
|col4 = {{Navbox with columns|child
 
  |colwidth = 50%
 
  |colstyle = text-align:center;
 
  |col1header = [[Higher education]]<br>&nbsp;
 
  |col2header = [[Vocational education|Vocational]]
 
  |col3header = [[Further education|Further]]
 
 
 
  |col1 = {{Navbox with columns|child
 
    |colwidth = 50%
 
    |colstyle = text-align:center;
 
 
 
    |col1header = [[Undergraduate education|Undergraduate]]<br>&rarr;
 
    |col2header = [[Postgraduate education|Postgraduate]]<br>&nbsp;
 
  }}
 
}}
 
|below= {{flatlist|
 
 
* [[Alternative education]]
 
* [[Alternative education]]
** [[Homeschooling]]
+
** [[homeschooling]]
 
* [[Adult education]]
 
* [[Adult education]]
* {{icon|Portal}} [[Portal:Education|Portal]]
+
* {{icon|Portal}}&nbsp;[[Portal:Education|Education portal]]
}}
+
 
 
}}<noinclude>
 
}}<noinclude>
{{collapsible option}}
+
{{Documentation |content={{Collapsible option}}
 +
 
 
[[Category:Education navigational boxes]]
 
[[Category:Education navigational boxes]]
</noinclude>
+
}}</noinclude>

Revision as of 17:23, 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.