Difference between revisions of "Template:District Info"
From IFRR
Rick Block (Talk | contribs) |
Rick Block (Talk | contribs) (start page) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| class="wikitable" style="margin:left; text-align: center;" | + | <includeonly>{| class="wikitable" style="margin:left; text-align: center;" |
|- | |- | ||
! Students || County || Graduation Rate || # of Schools || Operating Budget || Source | ! Students || County || Graduation Rate || # of Schools || Operating Budget || Source | ||
Line 7: | Line 7: | ||
| {{#if: {{{graduationrate|}}} | {{{graduationrate}}}% <br/>{{numdelta|{{#expr: {{{graduationrate}}} - 78.9}}}}% to CO average}} | | {{#if: {{{graduationrate|}}} | {{{graduationrate}}}% <br/>{{numdelta|{{#expr: {{{graduationrate}}} - 78.9}}}}% to CO average}} | ||
| {{#if: {{{totalschools|}}} | {{{totalschools}}} {{#if: {{{totalasof|}}} | <br/>(in {{{totalasof}}}) }} }} | | {{#if: {{{totalschools|}}} | {{{totalschools}}} {{#if: {{{totalasof|}}} | <br/>(in {{{totalasof}}}) }} }} | ||
− | | {{#if: {{{budget|}}} | {{{budget}}} {{#if: {{{budgetasof|}}} | <br/>(in {{{budgetasof}}}) }} <br/>~ ${{formatnum:{{{perstudent}}}}}/student {{{perstudenta|}}} <br/>~ | + | | {{#if: {{{budget|}}} | {{{budget}}} {{#if: {{{budgetasof|}}} | <br/>(in {{{budgetasof}}}) }} <br/>~ ${{formatnum:{{{perstudent}}}}}/student {{{perstudenta|}}} <br/>~ {{{perschool}}}/school {{{perschoola|}}} <br/>{{dollardelta|{{#expr: {{{perstudent}}} - 5300}}}}/student to CO average}} |
| {{#if: {{{source|}}} | {{{source}}} }} | | {{#if: {{{source|}}} | {{{source}}} }} | ||
− | |} | + | |}</includeonly><noinclude> |
+ | |||
+ | This template creates a table with information about a school district. Probably the easiest way to use it is to copy an existing use, paste it, and modify as appropriate. | ||
+ | |||
+ | Here is an annotated usage (you can copy and paste this if you want). | ||
+ | |||
+ | <pre>{{District Info | ||
+ | | students = n,nnn <!-- total number of students --> | ||
+ | | charterstudents = nnn <!-- total number of students in charter schools --> | ||
+ | | studentsa = text <!-- arbitrary text, presented on a separate line below the number of students --> | ||
+ | | county = name <!-- county, if multiple separate with html break, e.g. Adams<br/>Jefferson --> | ||
+ | | graduationrate = nn <!-- percentage (no "%" sign --> | ||
+ | |||
+ | not complete yet | ||
+ | |||
+ | |||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | </noinclude> |
Latest revision as of 10:37, 15 June 2017
This template creates a table with information about a school district. Probably the easiest way to use it is to copy an existing use, paste it, and modify as appropriate.
Here is an annotated usage (you can copy and paste this if you want).
{{District Info | students = n,nnn <!-- total number of students --> | charterstudents = nnn <!-- total number of students in charter schools --> | studentsa = text <!-- arbitrary text, presented on a separate line below the number of students --> | county = name <!-- county, if multiple separate with html break, e.g. Adams<br/>Jefferson --> | graduationrate = nn <!-- percentage (no "%" sign --> not complete yet }}