Template:Infobox place: Difference between revisions

Template page
m (Fixed postcode wikilinks)
(Added LGA ward)
Line 138: Line 138:
| label25        = {{#ifeq:{{{type|}}}|cadastral|[[wikipedia:Lands administrative divisions of New South Wales|Division]]}}
| label25        = {{#ifeq:{{{type|}}}|cadastral|[[wikipedia:Lands administrative divisions of New South Wales|Division]]}}
| data25        = {{#ifeq:{{{type|}}}|cadastral|{{{division|}}} }}
| data25        = {{#ifeq:{{{type|}}}|cadastral|{{{division|}}} }}
| label26        = [[Electorates of Boroondara|{{#switch:{{lc:{{{state}}}}}|act|nt|jbt= Territory|State}} electorate(s)]]
| label26       = [[Wards of Boroondara|LGA ward]]
| data26         = {{#if:{{{stategov|}}}|{{#if: {{{stategov2|}}}|<ul style="margin-top: 0px; margin-bottom: 0px;"><li>}} {{{stategov}}}{{#if: {{{stategov2|}}}|<li> {{{stategov2}}}}}{{#if: {{{stategov3|}}}|<li> {{{stategov3}}}}}{{#if: {{{stategov4|}}}|<li> {{{stategov4}}}}}{{#if: {{{stategov5|}}}|<li> {{{stategov5}}}}}{{#if: {{{stategov2|}}}|</ul> }}}}
| data26        = {{{ward|}}}
| label27       = [[wikipedia:Divisions of the Australian House of Representatives|Federal Division(s)]]
| label27       = [[Electorates of Boroondara|{{#switch:{{lc:{{{state}}}}}|act|nt|jbt= Territory|State}} electorate(s)]]
| data27         = {{#if:{{{fedgov|}}}|{{#if: {{{fedgov2|}}}|<ul style="margin-top: 0px; margin-bottom: 0px;"><li>}} {{{fedgov}}}{{#if: {{{fedgov2|}}}|<li> {{{fedgov2}}}}}{{#if: {{{fedgov3|}}}|<li> {{{fedgov3}}}}}{{#if: {{{fedgov4|}}}|<li> {{{fedgov4}}}}}{{#if: {{{fedgov2|}}}|</ul> }}}}
| data27         = {{#if:{{{stategov|}}}|{{#if: {{{stategov2|}}}|<ul style="margin-top: 0px; margin-bottom: 0px;"><li>}} {{{stategov}}}{{#if: {{{stategov2|}}}|<li> {{{stategov2}}}}}{{#if: {{{stategov3|}}}|<li> {{{stategov3}}}}}{{#if: {{{stategov4|}}}|<li> {{{stategov4}}}}}{{#if: {{{stategov5|}}}|<li> {{{stategov5}}}}}{{#if: {{{stategov2|}}}|</ul> }}}}
| data28         = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logosize|}}}|sizedefault=frameless|upright={{{logo_upright|0.8}}}|alt={{{logo_alt|{{{alt|}}}}}}}}
| label28       = [[wikipedia:Divisions of the Australian House of Representatives|Federal Division(s)]]
| label29       = Visitation
| data28         = {{#if:{{{fedgov|}}}|{{#if: {{{fedgov2|}}}|<ul style="margin-top: 0px; margin-bottom: 0px;"><li>}} {{{fedgov}}}{{#if: {{{fedgov2|}}}|<li> {{{fedgov2}}}}}{{#if: {{{fedgov3|}}}|<li> {{{fedgov3}}}}}{{#if: {{{fedgov4|}}}|<li> {{{fedgov4}}}}}{{#if: {{{fedgov2|}}}|</ul> }}}}
| data29         = {{#ifeq:{{{type|}}}|protected|{{formatnum:{{{visitation_num|}}}}}{{#if: {{{visitation_year|}}}|&nbsp;(in {{{visitation_year|}}}){{#if: {{{visitation_footnotes|}}}|{{{visitation_footnotes|}}}}}}} }}
| data29         = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logosize|}}}|sizedefault=frameless|upright={{{logo_upright|0.8}}}|alt={{{logo_alt|{{{alt|}}}}}}}}
| label30       = <span style="white-space: nowrap">Managing authorities</span>
| label30       = Visitation
| data30         = {{#ifeq:{{{type|}}}|protected|{{auto link|{{{managing_authorities|}}}}} }}
| data30         = {{#ifeq:{{{type|}}}|protected|{{formatnum:{{{visitation_num|}}}}}{{#if: {{{visitation_year|}}}|&nbsp;(in {{{visitation_year|}}}){{#if: {{{visitation_footnotes|}}}|{{{visitation_footnotes|}}}}}}} }}
| label31       = Website
| label31       = <span style="white-space: nowrap">Managing authorities</span>
| data31         = {{#if:{{{url|}}}|{{#invoke:URL|url|1={{{url|}}}|2={{{name|}}}}} }}
| data31         = {{#ifeq:{{{type|}}}|protected|{{auto link|{{{managing_authorities|}}}}} }}
<!-- | data32         =  --->
| label32       = Website
| data33         = {{#if:{{{near|}}}{{{near-nw|}}}{{{near-n|}}}{{{near-ne|}}}{{{near-w|}}}{{{near-e|}}}{{{near-sw|}}}{{{near-se|}}}{{{near-s|}}}|<table cellpadding=4 cellspacing=3 style="width:100%; border: 1px #ddd solid;">
| data32         = {{#if:{{{url|}}}|{{#invoke:URL|url|1={{{url|}}}|2={{{name|}}}}} }}
<!-- | data33         =  --->
| data34         = {{#if:{{{near|}}}{{{near-nw|}}}{{{near-n|}}}{{{near-ne|}}}{{{near-w|}}}{{{near-e|}}}{{{near-sw|}}}{{{near-se|}}}{{{near-s|}}}|<table cellpadding=4 cellspacing=3 style="width:100%; border: 1px #ddd solid;">
<tr class=mergedrow><td colspan=3 style="background-color:#f0f0ff;padding: 2px 0px; text-align:center;">'''{{ #switch: {{lc:{{{type|}}}}}
<tr class=mergedrow><td colspan=3 style="background-color:#f0f0ff;padding: 2px 0px; text-align:center;">'''{{ #switch: {{lc:{{{type|}}}}}
| cadastral = [[wikipedia:Lands administrative divisions of Australia|Lands administrative divisions]]
| cadastral = [[wikipedia:Lands administrative divisions of Australia|Lands administrative divisions]]
Line 169: Line 171:
   <td style="text-align:center; padding: 3px 0px; width:33%;">{{{near-se|}}}</td>
   <td style="text-align:center; padding: 3px 0px; width:33%;">{{{near-se|}}}</td>
</tr></table> }}
</tr></table> }}
| label34       = Footnotes
| label35       = Footnotes
| data34         = {{{footnotes|}}}
| data35         = {{{footnotes|}}}
| label35       = See also
| label36       = See also
| data35         = {{#ifeq:{{{type|}}}|protected|{{#if:{{both|{{{iucn_category|}}}|{{{state|}}}}}|{{ #switch: {{lc:{{{state|}}} }}
| data36         = {{#ifeq:{{{type|}}}|protected|{{#if:{{both|{{{iucn_category|}}}|{{{state|}}}}}|{{ #switch: {{lc:{{{state|}}} }}
   |sa      = [[wikipedia:Protected areas of South Australia]]
   |sa      = [[wikipedia:Protected areas of South Australia]]
   |vic      = [[wikipedia:Protected areas of Victoria]]
   |vic      = [[wikipedia:Protected areas of Victoria]]
Line 182: Line 184:
   |act      = [[wikipedia:List of Australian Capital Territory protected areas|Australian Capital Territory<br />protected areas]]
   |act      = [[wikipedia:List of Australian Capital Territory protected areas|Australian Capital Territory<br />protected areas]]
   }} }} }}
   }} }} }}
| data36         = {{ #switch: {{lc:{{{type|error}}} }}
| data37         = {{ #switch: {{lc:{{{type|error}}} }}
   |city      =  
   |city      =  
   |town      =  
   |town      =  
Line 250: Line 252:
| location1          =  
| location1          =  
| lga                =  
| lga                =  
| ward                =
| stategov            =  
| stategov            =  
| fedgov              =  
| fedgov              =  
Line 646: Line 649:
| cadastral
| cadastral
| [[wikipedia:Lands administrative divisions of New South Wales]]
| [[wikipedia:Lands administrative divisions of New South Wales]]
| plain text, link
|-
| scope="row" | ward
| local government ward
| city, suburb, town
| [[Wards of Boroondara]]
| plain text, link
| plain text, link
|-
|-