Template:Infobox council: Difference between revisions

Template page
No edit summary
(Hopefully fix population data issue)
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
| headerstyle    = background-color:#ddf;
| headerstyle    = background-color:#ddf;
| labelstyle    = width:40%; background-color:#f9f6d2;
| labelstyle    = width:40%; background-color:#f9f6d2;
| label1         = Population
| label2         = Population
| data1         = {{#if:{{{pop|}}}
| data2         = {{{population|}}}
                  |{{#if: {{{pop2|}}}
                      |<ul style="margin-top: 0px; margin-bottom: 0px;"><li>
                    }} {{#iferror:{{#expr:{{{pop}}}}}
                      |{{{pop}}}
                      |{{formatnum:{{{pop}}}}}
                    }}{{#if: {{{pop_year|}}}
                      |&nbsp;({{{pop_year}}})
                    }}{{{pop_footnotes|}}}{{#if: {{{poprank|}}}
                      |&nbsp;([[List of suburbs by population|{{{poprank}}}]])
                    }}{{#if: {{{pop2|}}}
                      |<li> {{formatnum:{{{pop2}}}}}{{#if: {{{pop2_year|}}}
                        |&nbsp;({{{pop2_year}}})
                      }}{{{pop2_footnotes|}}}</ul>
                    }}
                }}
| label8        = Established
| label8        = Established
| data8          = {{{established|{{{est|}}}}}}{{#if:{{{established|{{{est|}}}}}}|{{{established_footnotes|}}}|}}
| data8          = {{{established|{{{est|}}}}}}{{#if:{{{established|{{{est|}}}}}}|{{{established_footnotes|}}}|}}
Line 40: Line 25:
| data13        = {{#if:{{{area|}}}|{{#iferror:{{#expr:{{{area}}}}}|{{{area|}}}|{{formatnum:{{{area}}}}}&nbsp;km<sup>2</sup> ({{rnd|{{{area}}}/2.589988110336|1}}&nbsp;sq&nbsp;mi)}}{{{area_footnotes|}}} }}
| data13        = {{#if:{{{area|}}}|{{#iferror:{{#expr:{{{area}}}}}|{{{area|}}}|{{formatnum:{{{area}}}}}&nbsp;km<sup>2</sup> ({{rnd|{{{area}}}/2.589988110336|1}}&nbsp;sq&nbsp;mi)}}{{{area_footnotes|}}} }}
| label16        = {{#if:{{{mayortitle|}}}|{{{mayortitle|}}}|Mayor}}
| label16        = {{#if:{{{mayortitle|}}}|{{{mayortitle|}}}|Mayor}}
| data16        = {{#ifeq:{{{type|}}}|lga|{{{mayor|}}} }}
| data16        = {{{mayor|}}}
| label19        = Council seat
| label19        = Council seat
| data19        = {{{seat|}}}
| data19        = {{{seat|}}}
Line 48: Line 33:
| data34        = {{{footnotes|}}}
| data34        = {{{footnotes|}}}
}}
}}
{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page with unknown parameter "_VALUE_"|ignoreblank=y| _noautocat | abolished | alternative_location_map | area | area_footnotes | caption | caption2 | city | coord_type | coordinates | coordinates_display | county | density | density_footnotes | dir1 | dir2 | dir3 | dir4 | dir5 | dist1 | dist2 | dist3 | dist4 | dist5 | division | elevation | elevation_footnotes | est | established | established_footnotes | fedgov | fedgov2 | fedgov3 | fedgov4 | footnotes | force_national_map | former_hundred | gazetted | hundred | image | image_alt | image_upright | image2 | image2_alt | image2_upright | iucn_category | latd | latm | lats | lga | lga2 | lga3 | lga4 | lga5 | location1 | location2 | location3 | location4 | location5 | logo | logo_upright | longd | longm | longs | managing_authorities | map_alt | map_scale | maxtemp | maxtemp_footnotes | mayor | mayortitle | mintemp | mintemp_footnotes | name | near | near-e | nearest_town_or_city | near-n | near-ne | near-nw | near-s | near-se | near-sw | near-w | parish | pop | pop_footnotes | pop_year | pop2 | pop2_footnotes | pop2_year | poprank | postcode | pushpin_label_position | pushpin_map_caption | rainfall | rainfall_footnotes | region | relief | seat | state | stategov | stategov2 | stategov3 | stategov4 | stategov5 | timezone | timezone-dst | type | url | use_lga_map | utc | utc-dst | visitation_footnotes | visitation_num | visitation_year }}<!-- End tracking
{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page with unknown parameter "_VALUE_"|ignoreblank=y| _noautocat | population | abolished | alternative_location_map | area | area_footnotes | caption | caption2 | city | coord_type | coordinates | coordinates_display | county | density | density_footnotes | dir1 | dir2 | dir3 | dir4 | dir5 | dist1 | dist2 | dist3 | dist4 | dist5 | division | elevation | elevation_footnotes | est | established | established_footnotes | fedgov | fedgov2 | fedgov3 | fedgov4 | footnotes | force_national_map | former_hundred | gazetted | hundred | image | image_alt | image_upright | image2 | image2_alt | image2_upright | iucn_category | latd | latm | lats | lga | lga2 | lga3 | lga4 | lga5 | location1 | location2 | location3 | location4 | location5 | logo | logo_upright | longd | longm | longs | managing_authorities | map_alt | map_scale | maxtemp | maxtemp_footnotes | mayor | mayortitle | mintemp | mintemp_footnotes | name | near | near-e | nearest_town_or_city | near-n | near-ne | near-nw | near-s | near-se | near-sw | near-w | parish | pop | pop_footnotes | pop_year | pop2 | pop2_footnotes | pop2_year | poprank | postcode | pushpin_label_position | pushpin_map_caption | rainfall | rainfall_footnotes | region | relief | seat | state | stategov | stategov2 | stategov3 | stategov4 | stategov5 | timezone | timezone-dst | type | url | use_lga_map | utc | utc-dst | visitation_footnotes | visitation_num | visitation_year }}<!-- End tracking
--><noinclude>
--><noinclude>
Proper documentation will come soon, in the meantime check [[wikipedia:Template:Infobox_Australian_place|Template:Infobox Australian Place]] for usage details.
Proper documentation will come soon, in the meantime check [[wikipedia:Template:Infobox_Australian_place|Template:Infobox Australian Place]] for usage details.
</noinclude>
</noinclude>

Latest revision as of 17:01, 21 June 2016


Proper documentation will come soon, in the meantime check Template:Infobox Australian Place for usage details.