Difference between revisions of "Template:Education stages"
imported>AnthonyIreland m (Updated to link correctly to the respective articles.) |
|||
| (25 intermediate revisions by 17 users not shown) | |||
| Line 1: | Line 1: | ||
{{Navbox with columns | {{Navbox with columns | ||
|name = Education stages | |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% | ||
| Line 15: | Line 17: | ||
|colstyle = text-align:center; | |colstyle = text-align:center; | ||
| − | |col1header = [[ | + | |col1header = [[Preschool]]<br>→ |
|col2header = [[Kindergarten]]<br>→ | |col2header = [[Kindergarten]]<br>→ | ||
}} | }} | ||
| Line 23: | Line 25: | ||
|colstyle = text-align:center; | |colstyle = text-align:center; | ||
| − | |col1header = [[Primary school | + | |col1header = [[Primary school]]<br>→ |
| − | |col2header = | + | |
| + | |col1 = {{Navbox with columns|child | ||
| + | |colwidth = 50% | ||
| + | |colstyle = text-align:center; | ||
| + | |||
| + | |col1header = Infant<br>→ | ||
| + | |col2header = Junior<br>→ | ||
| + | }} | ||
}} | }} | ||
| Line 31: | Line 40: | ||
|colstyle = text-align:center; | |colstyle = text-align:center; | ||
| − | |col1header = [[ | + | |col1header = [[Secondary school]]<br>→ |
|col1 = {{Navbox with columns|child | |col1 = {{Navbox with columns|child | ||
| Line 37: | Line 46: | ||
|colstyle = text-align:center; | |colstyle = text-align:center; | ||
| − | |col1header = [[Middle school| | + | |col1header = [[Middle school (North America)|Middle school]]<br>→ |
| − | |col2header = [[ | + | |col2header = [[High school (North America)|High school]]<br>→ |
}} | }} | ||
}} | }} | ||
| Line 46: | Line 55: | ||
|col1header = [[Higher education]]<br> | |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 = {{Navbox with columns|child | |col1 = {{Navbox with columns|child | ||
| Line 63: | Line 72: | ||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
| − | {{ | + | {{Documentation|link box=off|content= |
| − | [[Category:Education navigational boxes]] | + | == Blank example == |
| − | </noinclude> | + | ::<pre style="width: 25%; overflow: auto;">{{Education stages|state=}}</pre> |
| + | |||
| + | == Collapsible states == | ||
| + | {{Collapsible option|default=autocollapse}} | ||
| + | |||
| + | == TemplateData == | ||
| + | {{TemplateData header}} | ||
| + | <templatedata> | ||
| + | { | ||
| + | "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 |