Template:Population pyramid

{{infobox {{aligned table|cols=5
 * abovestyle = text-align:left; font-weight:normal; font-size:100%; border-bottom:solid 1px silver;
 * above = Population pyramid {{#if:{{{year|}}| {{{year}}} }}
 * datastyle = padding:0;
 * data1 =
 * style=width:100%;margin:0;
 * col1style = font-size:x-small
 * col2style = text-align:right;border-left:solid 1px silver;border-right:solid 1px silver; width:{{#expr:{{{mmax|9}}}*10}}px
 * col3style = font-size:x-small
 * col4style = text-align:left;border-left:solid 1px silver;border-right:solid 1px silver; width:{{#expr:{{{mmax|9}}}*10}}px
 * col5style = font-size:x-small


 * style1.1=font-size:100%;|%
 * style1.2=text-align:left;|Males
 * style1.3=font-size:100%;|Age
 * style1.4=text-align:left;|Females
 * style1.5=font-size:100%;|%


 * {{formatnum:{{{m85|n/d}}} }}
 * 
 * 85+
 * 
 * {{formatnum:{{{f85|n/d}}}}}


 * {{formatnum:{{{m80|n/d}}}}}
 * 
 * 80–84
 * 
 * {{formatnum:{{{f80|n/d}}}}}


 * {{formatnum:{{{m75|n/d}}}}}
 * 
 * 75–79
 * 
 * {{formatnum:{{{f75|n/d}}}}}


 * {{formatnum:{{{m70|n/d}}}}}
 * 
 * 70–74
 * 
 * {{formatnum:{{{f70|n/d}}}}}


 * {{formatnum:{{{m65|n/d}}}}}
 * 
 * 65–69
 * 
 * {{formatnum:{{{f65|n/d}}}}}


 * {{formatnum:{{{m60|n/d}}}}}
 * 
 * 60–64
 * 
 * {{formatnum:{{{f60|n/d}}}}}


 * {{formatnum:{{{m55|n/d}}}}}
 * 
 * 55–59
 * 
 * {{formatnum:{{{f55|n/d}}}}}


 * {{formatnum:{{{m50|n/d}}}}}
 * 
 * 50–54
 * 
 * {{formatnum:{{{f50|n/d}}}}}


 * {{formatnum:{{{m45|n/d}}}}}
 * <div style{{=}}"background:lightblue; width:{{#expr:{{{m45|0}}}*10}}px; overflow:hidden">
 * 45–49
 * <div style{{=}}"background:pink; width:{{#expr:{{{f45|0}}}*10}}px; overflow:hidden">
 * {{formatnum:{{{f45|n/d}}}}}


 * {{formatnum:{{{m40|n/d}}}}}
 * <div style{{=}}"background:lightblue; width:{{#expr:{{{m40|0}}}*10}}px; overflow:hidden">
 * 40–44
 * <div style{{=}}"background:pink; width:{{#expr:{{{f40|0}}}*10}}px; overflow:hidden">
 * {{formatnum:{{{f40|n/d}}}}}


 * {{formatnum:{{{m35|n/d}}}}}
 * <div style{{=}}"background:lightblue; width:{{#expr:{{{m35|0}}}*10}}px; overflow:hidden">
 * 35–39
 * <div style{{=}}"background:pink; width:{{#expr:{{{f35|0}}}*10}}px; overflow:hidden">
 * {{formatnum:{{{f35|n/d}}}}}


 * {{formatnum:{{{m30|n/d}}}}}
 * <div style{{=}}"background:lightblue; width:{{#expr:{{{m30|0}}}*10}}px; overflow:hidden">
 * 30–34
 * <div style{{=}}"background:pink; width:{{#expr:{{{f30|0}}}*10}}px; overflow:hidden">
 * {{formatnum:{{{f30|n/d}}}}}


 * {{formatnum:{{{m25|n/d}}}}}
 * <div style{{=}}"background:lightblue; width:{{#expr:{{{m25|0}}}*10}}px; overflow:hidden">
 * 25–29
 * <div style{{=}}"background:pink; width:{{#expr:{{{f25|0}}}*10}}px; overflow:hidden">
 * {{formatnum:{{{f25|n/d}}}}}


 * {{formatnum:{{{m20|n/d}}}}}
 * <div style{{=}}"background:lightblue; width:{{#expr:{{{m20|0}}}*10}}px; overflow:hidden">
 * 20–24
 * <div style{{=}}"background:pink; width:{{#expr:{{{f20|0}}}*10}}px; overflow:hidden">
 * {{formatnum:{{{f20|n/d}}}}}


 * {{formatnum:{{{m15|n/d}}}}}
 * <div style{{=}}"background:lightblue; width:{{#expr:{{{m15|0}}}*10}}px; overflow:hidden">
 * 15–19
 * <div style{{=}}"background:pink; width:{{#expr:{{{f15|0}}}*10}}px; overflow:hidden">
 * {{formatnum:{{{f15|n/d}}}}}


 * {{formatnum:{{{m10|n/d}}}}}
 * <div style{{=}}"background:lightblue; width:{{#expr:{{{m10|0}}}*10}}px; overflow:hidden">
 * 10–14
 * <div style{{=}}"background:pink; width:{{#expr:{{{f10|0}}}*10}}px; overflow:hidden">
 * {{formatnum:{{{f10|n/d}}}}}


 * {{formatnum:{{{m5|n/d}}}}}
 * <div style{{=}}"background:lightblue; width:{{#expr:{{{m5|0}}}*10}}px; overflow:hidden">
 * 5–9
 * <div style{{=}}"background:pink; width:{{#expr:{{{f5|0}}}*10}}px; overflow:hidden">
 * {{formatnum:{{{f5|n/d}}}}}

}} }}
 * {{formatnum:{{{m0|n/d}}}}}
 * <div style{{=}}"background:lightblue; width:{{#expr:{{{m0|0}}}*10}}px; overflow:hidden">
 * 0–4
 * <div style{{=}}"background:pink; width:{{#expr:{{{f0|0}}}*10}}px; overflow:hidden">
 * {{formatnum:{{{f0|n/d}}}}}