Difference between revisions of "Template:Infobox education in country"

From blackwiki
Jump to navigation Jump to search
(code cleanup, add CSS classes)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|name        = Infobox educationfs
+
|bodystyle    = width:30em; font-size: 75%;
|bodystyle    = width:30em; font-size:75%
 
 
|title        = Education in {{{country name|Country}}}
 
|title        = Education in {{{country name|Country}}}
|titlestyle  =
 
|abovestyle  =
 
 
|image        = {{{agency image|}}}
 
|image        = {{{agency image|}}}
|imagestyle  =
 
 
|caption      =  
 
|caption      =  
|captionstyle =
 
|headerstyle  = background:#ccf; font-weight:bold;
 
|labelstyle  =
 
|datastyle    =
 
  
 
|header1 = {{{agency|'''Educational oversight'''}}}
 
|header1 = {{{agency|'''Educational oversight'''}}}
|header2 =  
+
|class1  = navbox-title
  
|label3   = {{#if: {{{leader titles|}}} | {{{leader titles|}}}}}
+
|label2   = {{#if: {{{leader titles|}}} | {{{leader titles|}}}}}
|data3   = {{{leader names|}}}
+
|data2   = {{{leader names|}}}
  
|header4 = {{#if: {{{budget|}}} | [[Funding|National education budget]] {{#if: {{{budget year|}}} | ({{{budget year|}}})}}}}
+
|header3 = {{#if: {{{budget|}}} | [[Funding|National education budget]] {{#if: {{{budget year|}}} | ({{{budget year|}}})}}}}
 +
|class3  = navbox-title
  
|label5   = {{#if: {{{budget|}}} | Budget:}}
+
|label4   = {{#if: {{{budget|}}} | Budget:}}
|data5   = {{{budget|}}}  
+
|data4   = {{{budget|}}}  
  
 +
|label5  = {{#if: {{{funding per student|}}} | Per Student:}}
 +
|data5    = {{{funding per student|}}}
  
 +
|header6  = General Details
 +
|class6  = navbox-title
  
|label6   = {{#if: {{{funding per student|}}} | Per Student:}}
+
|label7   = {{#if: {{{primary languages|}}} | Primary Languages:}}
|data6   = {{{funding per student|}}}  
+
|data7   = {{{primary languages|}}}
 +
|label8  = {{#if: {{{system type|}}} | System Type:}}
 +
|data8    = {{{system type|}}}
 +
|label9  = {{#if: {{{established events|}}} | {{{established events|}}}}}
 +
|data8    = {{{established dates|}}}
  
|header7 = General Details
+
|header10 = {{#if: {{{literacy men|}}} | '''[[Literacy]]''' {{#if: {{{literacy year|}}}|({{{literacy year|}}})}}}}  
|label8  = {{#if: {{{primary languages|}}} | Primary Languages:}}
+
|class10  = navbox-title
|data8    = {{{primary languages|}}}
 
|label9  = {{#if: {{{system type|}}} | System Type:}}
 
|data9    = {{{system type|}}}
 
|label10  = {{#if: {{{established events|}}} | {{{established events|}}}}}
 
|data10    = {{{established dates|}}}
 
  
|header11  = {{#if: {{{literacy men|}}} | '''[[Literacy]]''' {{#if: {{{literacy year|}}}|({{{literacy year|}}})}}}}
+
|label11   = Total:
|label12   = Total:
+
|data11   = {{{literacy total|}}}
|data12   = {{{literacy total|}}}
+
|label12   = Male:
|label13   = Male:
+
|data12   = {{{literacy men|}}}
|data13   = {{{literacy men|}}}
+
|label13  = Female:
|label14  = Female:
+
|data13   = {{{literacy women|}}}
|data14   = {{{literacy women|}}}
 
  
|header15 = {{#if: {{{enroll total|}}} | '''Enrollment''' {{#if: {{{enrollment year|}}}|({{{enrollment year|}}})}}}}
+
|header14 = {{#if: {{{enroll total|}}} | '''Enrollment''' {{#if: {{{enrollment year|}}}|({{{enrollment year|}}})}}}}
|label16   = '''Total:'''
+
|class14  = navbox-title
|data16   = {{{enroll total|}}}
+
|label15   = Total:
|label17 = Primary:
+
|data15   = {{{enroll total|}}}
|data17   = {{{enroll primary|}}}
+
|label16 = Primary:
|label18 = Secondary:
+
|data16   = {{{enroll primary|}}}
|data18   = {{{enroll secondary|}}}
+
|label17 = Secondary:
|label19 = Post Secondary:
+
|data17   = {{{enroll secondary|}}}
|data19   = {{{enroll post-secondary|}}}
+
|label18 = Post Secondary:
 +
|data18   = {{{enroll post-secondary|}}}
  
|header20 = {{#if: {{{attain secondary|}}} | '''Attainment'''{{#if: {{{attainment year|}}}|({{{attainment year|}}})}}}}
+
|header19 = {{#if: {{{attain secondary|}}} | '''Attainment'''{{#if: {{{attainment year|}}}|({{{attainment year|}}})}}}}
|label21 = [[Secondary education|Secondary diploma]]
+
|class19 = navbox-title
|data21   = {{{attain secondary|}}}
+
|label20 = [[Secondary education|Secondary diploma]]
|label22   = [[Post-secondary education|Post-secondary diploma]]
+
|data20   = {{{attain secondary|}}}
|data22 = {{{attain post-secondary|}}}
+
|label21   = [[Post-secondary education|Post-secondary diploma]]
 +
|data21 = {{{attain post-secondary|}}}
  
 
|belowstyle = background:#ddf; text-align: left;
 
|belowstyle = background:#ddf; text-align: left;
 
|below = {{{footnotes|}}}
 
|below = {{{footnotes|}}}
}}
+
 
<noinclude>{{documentation}}</noinclude>
+
}}<noinclude>
 +
{{documentation}}
 +
</noinclude>

Revision as of 03:14, 1 May 2011

Education in Country
Educational oversight
General Details

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

The purpose of this template is to provide a quick at a glance demographics table on education pages for different countries.

Usage

Education in {{{country name}}}
{{{agency image}}}
{{{agency}}}
{{{leader titles}}}{{{leader names}}}
National education budget ({{{budget year}}})
Budget:{{{budget}}}
Per Student:{{{funding per student}}}
General Details
Primary Languages:{{{primary languages}}}
System Type:{{{established dates}}}
Literacy ({{{literacy year}}})
Total:{{{literacy total}}}
Male:{{{literacy men}}}
Female:{{{literacy women}}}
Enrollment ({{{enrollment year}}})
Total:{{{enroll total}}}
Primary:{{{enroll primary}}}
Secondary:{{{enroll secondary}}}
Post Secondary:{{{enroll post-secondary}}}
Attainment({{{attainment year}}})
Secondary diploma{{{attain secondary}}}
Post-secondary diploma{{{attain post-secondary}}}
{{{footnotes}}}
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox education in country
| country name          = Pakistan
| agency image          =
| agency                = Sachet
| leader titles         =
| leader names          =
| budget                =
| budget year           =
| funding per student   =
| primary languages     =
| system type           =
| established events    =
| established dates     =
| literacy year         =
| literacy total        =
| literacy men          =
| literacy women        =
| enrollment year       =
| enroll total          =
| enroll primary        =
| enroll secondary      =
| enroll post-secondary =
| attainment year       =
| attain secondary      =
| attain post-secondary =
| footnotes             =
}}

Parameters

  • country name - the name of the country in the article title
  • agency - the name of the educational oversight agency (i.e., Ministry of Education, etc.)
  • agency image - logo, seal, etc. of the oversight agency or other appropriate image, must use image wikimarkup (i.e., [[File:agencyimagename.png|120px]]
  • leader titles - titles of education agency directors (i.e., Minister of Education or Deputy Minister of Education)
  • leader names - names of the directors of the education agency
  • budget - budget for education, or education agency
  • funding per student - education spending per student
  • budget year - year of budget quoted
  • primary languages - what language(s) is/are schools taught in
  • system type - some countries have a federal (where provinces control education) or a nationalized system (obviously variations exist)
  • established events - establishment of educational system, any event important to the educational system
  • established dates - dates of events
  • literacy year - year of literacy estimate; formerly rank of literacy, currently unavailable on Wikipedia
  • literacy total - total population literacy rate
  • literacy men - total male population literacy rate
  • literacy women - total female population literacy rate
  • enroll total - total number of students enrolled
  • enroll primary - number of primary students enrolled
  • enroll secondary - number of secondary students enrolled
  • enroll post-secondary - number of students enrolled at the college or graduate levels (sometimes known as tertiary education)
  • enrollment date - Year of enrollment data.
  • attain secondary - percent of population who have graduated from secondary school (or high school)
  • attain post-secondary - percent of population who have graduated from post-secondary school (college, university, graduate, etc.)
  • attainment year - Year of attainment data.

Example

Education in Scotland
Scottish Government
Cabinet SecretaryMike Russell MSP
National education budget (2007-08)
Budget:£2,6 bn
Per Student:£3,855 (2004-2005)
General Details
Primary Languages:English, Scots and Scottish Gaelic
System Type:1872
Literacy (2005 est)
Total:99%
Male:99%
Female:99%
Enrollment (2005)
Total:1,452,240
Primary:390,260
Secondary:322,980
Post Secondary:739,000#
‡: Expenditure on Pre-school, Primary and Secondary education only.
#: 2004, All further and higher education institutions includes overseas students.
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox education in country
| country name = Scotland
| agency image =
| agency = [[Education and Lifelong Learning Directorate|Scottish Government]]
| leader titles = [[Cabinet Secretary for Education and Lifelong Learning|Cabinet Secretary]]
| leader names = [[Michael Russell (politician)|Mike Russell]] [[Member of the Scottish Parliament|MSP]]
| budget = £2,6 bn
| funding per student= £3,855 (2004-2005)<sup>‡</sup>
| budget year = 2007-08
| primary languages = [[Scottish English|English]], [[Scots language|Scots]] and [[Scottish Gaelic language|Scottish Gaelic]]
| system type = National
| established events = Compulsory education
| established dates = 1872
| literacy year = 2005 est
| literacy total = 99%
| literacy men = 99%
| literacy women = 99%
| enroll total = 1,452,240
| enroll primary =  390,260
| enroll secondary = 322,980
| enroll post-secondary = 739,000<sup>#</sup>
| enrollment year = 2005
| attain secondary =
| attain post-secondary =
| attainment year =
| footnotes = ‡: Expenditure on Pre-school, Primary and Secondary education only.<br>#: 2004, All further and higher education institutions includes overseas students.
}}