Difference between revisions of "Template:Education stages"
imported>AnthonyIreland m (Updated to link correctly to the respective articles.) |
|||
| (30 intermediate revisions by 20 users not shown) | |||
| Line 1: | Line 1: | ||
{{Navbox with columns | {{Navbox with columns | ||
| − | |name | + | |name = Education stages |
| − | |title = [[Educational stage|Stages]] of formal [[education]] | + | |title = {{{title|[[Educational stage|Stages]] of formal [[education]]}}} |
| + | |titlestyle = {{{titlestyle|}}} | ||
|border = {{{border|}}} | |border = {{{border|}}} | ||
|state = {{{state|autocollapse}}} | |state = {{{state|autocollapse}}} | ||
| + | |navbar = {{{navbar|}}} | ||
|colwidth = 20% | |colwidth = 20% | ||
| − | |col4width =40% | + | |col4width = 40% |
|col1header = [[Early childhood education]] | |col1header = [[Early childhood education]] | ||
|col2header = [[Primary education]] | |col2header = [[Primary education]] | ||
|col3header = [[Secondary education]] | |col3header = [[Secondary education]] | ||
| − | |col4header | + | |col4header = [[Tertiary education]] |
| − | |col1 | + | |col1 = {{Navbox with columns|child |
|colwidth = 50% | |colwidth = 50% | ||
|colstyle = text-align:center; | |colstyle = text-align:center; | ||
| − | |col1header = | + | |col1header = [[Preschool]]<br>→ |
| − | |col2header = [[Kindergarten]] → | + | |col2header = [[Kindergarten]]<br>→ |
| − | |||
}} | }} | ||
| − | |col2 | + | |col2 = {{Navbox with columns|child |
|colwidth = 50% | |colwidth = 50% | ||
|colstyle = text-align:center; | |colstyle = text-align:center; | ||
| − | |col1header = | + | |col1header = [[Primary school]]<br>→ |
| − | | | + | |
| + | |col1 = {{Navbox with columns|child | ||
| + | |colwidth = 50% | ||
| + | |colstyle = text-align:center; | ||
| + | |col1header = Infant<br>→ | ||
| + | |col2header = Junior<br>→ | ||
| + | }} | ||
}} | }} | ||
| − | |col3 ={{Navbox with columns|child | + | |col3 = {{Navbox with columns|child |
|colwidth = 50% | |colwidth = 50% | ||
|colstyle = text-align:center; | |colstyle = text-align:center; | ||
| − | |col1header = | + | |col1header = [[Secondary school]]<br>→ |
| − | |col1 = | + | |col1 = {{Navbox with columns|child |
|colwidth = 50% | |colwidth = 50% | ||
|colstyle = text-align:center; | |colstyle = text-align:center; | ||
| − | |col1header = [[ | + | |col1header = [[Middle school (North America)|Middle school]]<br>→ |
| − | |col2header = [[ | + | |col2header = [[High school (North America)|High school]]<br>→ |
}} | }} | ||
}} | }} | ||
| − | |col4 | + | |col4 = {{Navbox with columns|child |
|colwidth = 50% | |colwidth = 50% | ||
|colstyle = text-align:center; | |colstyle = text-align:center; | ||
| − | |col1header = [[Higher education]] | + | |col1header = [[Higher education]]<br> |
| − | |col2header =[[Vocational education|Vocational]] | + | |col2header = [[Vocational education|Vocational]] |
| − | |col3header =[[Further education|Further]] | + | |col3header = [[Further education|Further]]<br>([[Continuing education|Continuing]]) |
| − | |col1 = | + | |col1 = {{Navbox with columns|child |
|colwidth = 50% | |colwidth = 50% | ||
|colstyle = text-align:center; | |colstyle = text-align:center; | ||
| − | |col1header = [[Undergraduate education|Undergraduate]] → | + | |col1header = [[Undergraduate education|Undergraduate]]<br>→ |
| − | |col2header = [[Postgraduate education|Postgraduate]] | + | |col2header = [[Postgraduate education|Postgraduate]]<br> |
}} | }} | ||
}} | }} | ||
| − | |below= [[Alternative education]] | + | |below= {{flatlist| |
| + | * [[Alternative education]] | ||
| + | ** [[Homeschooling]] | ||
| + | * [[Adult education]] | ||
| + | * {{icon|Portal}} [[Portal:Education|Portal]] | ||
| + | }} | ||
| + | }}<noinclude> | ||
| + | {{Documentation|link box=off|content= | ||
| + | == Blank example == | ||
| + | ::<pre style="width: 25%; overflow: auto;">{{Education stages|state=}}</pre> | ||
| + | |||
| + | == Collapsible states == | ||
| + | {{Collapsible option|default=autocollapse}} | ||
| − | }}< | + | == TemplateData == |
| − | {{ | + | {{TemplateData header}} |
| − | [[Category:Education navigational boxes]] | + | <templatedata> |
| − | </noinclude> | + | { |
| + | "params": { | ||
| + | "title": { | ||
| + | "label": "Title", | ||
| + | "description": "The text to display on the top bar, which is always visible and can include wikilinks", | ||
| + | "example": "[[Educational stage]]s", | ||
| + | "type": "string", | ||
| + | "default": "[[Educational stage|Stages]] of formal [[education]]" | ||
| + | }, | ||
| + | "titlestyle": { | ||
| + | "label": "Title text style", | ||
| + | "description": "Accepts standard CSS formatting options to control the appearance of the box's title", | ||
| + | "example": "font-size: 95%; color: indigo;", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "border": { | ||
| + | "label": "Border spacing", | ||
| + | "description": "Controls the appearance and spacing of the outer border, primarily for use when embedded within another navigation box. Set to one of: ['child', 'subgroup', 'none'] or no value for standard format.", | ||
| + | "example": "child", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "state": { | ||
| + | "label": "Collapsible state", | ||
| + | "description": "Defines when and how the box will appear expanded or collapsed initially, set to one of: ['collapsed', 'expanded', 'autocollapse', 'plain', 'off']", | ||
| + | "example": "expanded", | ||
| + | "type": "string", | ||
| + | "default": "autocollapse", | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "navbar": { | ||
| + | "label": "Title bar", | ||
| + | "description": "Controls the options present in the title bar, plain removes the V•T•E links on the left side. Set to one of: ['plain', 'off'] or no value for standard format.", | ||
| + | "example": "plain", | ||
| + | "type": "string" | ||
| + | } | ||
| + | }, | ||
| + | "description": "Displays a navigation box with links to articles on all the major stages of education", | ||
| + | "format": "inline", | ||
| + | "paramOrder": [ | ||
| + | "state", | ||
| + | "title", | ||
| + | "titlestyle", | ||
| + | "navbar", | ||
| + | "border" | ||
| + | ] | ||
| + | } | ||
| + | </templatedata> | ||
| + | }} | ||
| + | [[Category:Education navigational boxes]]</noinclude> | ||
Latest revision as of 12:42, 20 May 2020
Blank example
{{Education stages|state=}}
Collapsible states
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}}
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.
TemplateData
TemplateData for Education stages
Displays a navigation box with links to articles on all the major stages of education
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Collapsible state | state | Defines when and how the box will appear expanded or collapsed initially, set to one of: ['collapsed', 'expanded', 'autocollapse', 'plain', 'off']
| String | suggested |
| Title | title | The text to display on the top bar, which is always visible and can include wikilinks
| String | optional |
| Title text style | titlestyle | Accepts standard CSS formatting options to control the appearance of the box's title
| String | optional |
| Title bar | navbar | Controls the options present in the title bar, plain removes the V•T•E links on the left side. Set to one of: ['plain', 'off'] or no value for standard format.
| String | optional |
| Border spacing | border | Controls the appearance and spacing of the outer border, primarily for use when embedded within another navigation box. Set to one of: ['child', 'subgroup', 'none'] or no value for standard format.
| String | optional |