Template:Infobox government agency: Difference between revisions

Jump to navigation Jump to search
old>Didgeridoo Kangaroo
mNo edit summary
 
(parent_agency_type)
Line 55: Line 55:
| data8        = {{{jurisdiction|}}}
| data8        = {{{jurisdiction|}}}


| label9      = Headquarters
| label9      = Status
| data9        = {{{headquarters|}}}{{#if: {{{coordinates|}}}|<br/>{{{coordinates|}}} }}
| data9        = {{{status|}}}


| label10      = Motto
| label10      = Headquarters
| data10      = {{{motto|}}}
| data10      = {{{headquarters|}}}{{#if: {{{coordinates|}}}|<br/>{{{coordinates|}}} }}


| label11      = Employees
| label11      = Motto
| data11      = {{{employees|}}}
| data11      = {{{motto|}}}


| label12      = Annual budget
| label12      = Employees
| data12      = {{{budget|}}}
| data12      = {{{employees|}}}


| label13      = {{#if:{{{minister2_name|}}}|Ministers responsible|Minister responsible}}
| label13     = Annual budget
| data13       = {{Unbulleted list|item_style=text-indent: -1em; padding-left: 1em;
| data13      = {{{budget|}}}
 
| label14     = {{#if:{{{minister2_name|}}}|{{#if:{{{minister_type|}}}|{{{minister_type}}}|Ministers}} responsible|{{#if:{{{minister_type|}}}|{{{minister_type}}}|Minister}} responsible}}
| data14       = {{Unbulleted list|item_style=text-indent: -1em; padding-left: 1em;
  | 1 = {{#if:{{{minister1_name|}}}|{{{minister1_name|}}}{{#if:{{{minister1_pfo|}}}|, {{{minister1_pfo}}}}}|{{#if:{{{minister1_pfo|}}}|{{{minister1_pfo}}}}}}}
  | 1 = {{#if:{{{minister1_name|}}}|{{{minister1_name|}}}{{#if:{{{minister1_pfo|}}}|, {{{minister1_pfo}}}}}|{{#if:{{{minister1_pfo|}}}|{{{minister1_pfo}}}}}}}
  | 2 = {{#if:{{{minister2_name|}}}|{{{minister2_name|}}}{{#if:{{{minister2_pfo|}}}|, {{{minister2_pfo}}}}}|{{#if:{{{minister2_pfo|}}}|{{{minister2_pfo}}}}}}}
  | 2 = {{#if:{{{minister2_name|}}}|{{{minister2_name|}}}{{#if:{{{minister2_pfo|}}}|, {{{minister2_pfo}}}}}|{{#if:{{{minister2_pfo|}}}|{{{minister2_pfo}}}}}}}
Line 79: Line 82:
  }}
  }}


| label14     = {{#if:{{{deputyminister2_name|}}}|Deputy Ministers responsible|Deputy Minister responsible}}
| label15     = {{#if:{{{deputyminister2_name|}}}|{{#if:{{{deputyminister_type|}}}|{{{deputyminister_type}}}|Deputy Ministers}} responsible|{{#if:{{{deputyminister_type|}}}|{{{deputyminister_type}}}|Deputy Minister}} responsible}}
| data14       = {{Unbulleted list|item_style=text-indent: -1em; padding-left: 1em;
| data15       = {{Unbulleted list|item_style=text-indent: -1em; padding-left: 1em;
  | 1 = {{#if:{{{deputyminister1_name|}}}|{{{deputyminister1_name|}}}{{#if:{{{deputyminister1_pfo|}}}|, {{{deputyminister1_pfo}}}}}|{{#if:{{{deputyminister1_pfo|}}}|{{{deputyminister1_pfo}}}}}}}
  | 1 = {{#if:{{{deputyminister1_name|}}}|{{{deputyminister1_name|}}}{{#if:{{{deputyminister1_pfo|}}}|, {{{deputyminister1_pfo}}}}}|{{#if:{{{deputyminister1_pfo|}}}|{{{deputyminister1_pfo}}}}}}}
  | 2 = {{#if:{{{deputyminister2_name|}}}|{{{deputyminister2_name|}}}{{#if:{{{deputyminister2_pfo|}}}|, {{{deputyminister2_pfo}}}}}|{{#if:{{{deputyminister2_pfo|}}}|{{{deputyminister2_pfo}}}}}}}
  | 2 = {{#if:{{{deputyminister2_name|}}}|{{{deputyminister2_name|}}}{{#if:{{{deputyminister2_pfo|}}}|, {{{deputyminister2_pfo}}}}}|{{#if:{{{deputyminister2_pfo|}}}|{{{deputyminister2_pfo}}}}}}}
Line 91: Line 94:
  }}
  }}


| label15     = {{ucfirst: {{#if:{{{type|}}}|{{{type}}}|Agency}}}} executive{{#if:{{{chief2_name|}}}|s}}
| label16     = {{ucfirst: {{#if:{{{type|}}}|{{{type}}}|Agency}}}} executive{{#if:{{{chief2_name|}}}|s}}
| data15       = {{Unbulleted list
| data16       = {{Unbulleted list
  | 1 = {{#if:{{{chief1_name|}}}|{{{chief1_name|}}}{{#if:{{{chief1_position|}}}|, {{{chief1_position}}}}}|{{#if:{{{chief1_position|}}}|{{{chief1_position}}}}}}}
  | 1 = {{#if:{{{chief1_name|}}}|{{{chief1_name|}}}{{#if:{{{chief1_position|}}}|, {{{chief1_position}}}}}|{{#if:{{{chief1_position|}}}|{{{chief1_position}}}}}}}
  | 2 = {{#if:{{{chief2_name|}}}|{{{chief2_name|}}}{{#if:{{{chief2_position|}}}|, {{{chief2_position}}}}}|{{#if:{{{chief2_position|}}}|{{{chief2_position}}}}}}}
  | 2 = {{#if:{{{chief2_name|}}}|{{{chief2_name|}}}{{#if:{{{chief2_position|}}}|, {{{chief2_position}}}}}|{{#if:{{{chief2_position|}}}|{{{chief2_position}}}}}}}
Line 104: Line 107:
  }}
  }}


| label16     = Parent department
| label17     = Parent department
| data16       = {{{parent_department|}}}
| data17       = {{{parent_department|}}}


| label17     = Parent {{#if:{{{type|}}}|{{{type}}}|agency}}
| label18     = Parent {{#if:{{{parent_agency_type|}}}|{{{parent_agency_type}}}|{{#if:{{{type|}}}|{{{type}}}|agency}}}}
| data17       = {{{parent_agency|}}}
| data18       = {{{parent_agency|}}}


| label18     = {{#if:{{{child2_agency|}}}|Child agencies|Child {{#if:{{{type|}}}|{{{type}}}|agency}}}}
| label19     = {{#if:{{{child2_agency|}}}|Child agencies|Child {{#if:{{{type|}}}|{{{type}}}|agency}}}}
| data18       = {{Unbulleted list|item_style=text-indent: -1em; padding-left: 1em;
| data19       = {{Unbulleted list|item_style=text-indent: -1em; padding-left: 1em;
  | 1  = {{{child1_agency|}}}
  | 1  = {{{child1_agency|}}}
  | 2  = {{{child2_agency|}}}
  | 2  = {{{child2_agency|}}}
Line 139: Line 142:
  }}
  }}


| label19     = {{#if:{{{keydocument2|}}}|Key documents|Key document}}
| label20     = {{#if:{{{keydocument2|}}}|Key documents|Key document}}
| data19       = {{Unbulleted list|item_style=text-indent: -1em; padding-left: 1em;
| data20       = {{Unbulleted list|item_style=text-indent: -1em; padding-left: 1em;
  | 1 = {{{keydocument1|}}}
  | 1 = {{{keydocument1|}}}
  | 2 = {{{keydocument2|}}}
  | 2 = {{{keydocument2|}}}
Line 149: Line 152:
  }}
  }}


| label20     = Website
| label21     = Website
| data20       = {{{website|}}}
| data21       = {{{website|}}}


| label21     = Agency ID
| label22     = Agency ID
| data21       = {{{agency_id|}}}
| data22       = {{{agency_id|}}}


| header22     = {{#if:{{{map|}}}|{{Infobox|child=yes|decat=yes
| header23     = {{#if:{{{map|}}}|{{Infobox|child=yes|decat=yes
  | title  = Map
  | title  = Map
  | image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|{{{map_width|}}}}}}|sizedefault=frameless}}
  | image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|{{{map_width|}}}}}}|sizedefault=frameless}}
Line 176: Line 179:
-->}}
-->}}
| caption3  = {{#if:{{{pushpin_map|{{{map_type|}}}}}} |{{{pushpin_map_caption|{{{map_caption|Location within {{#invoke:Location map|data|{{{pushpin_map|{{{map_type}}}}}}|name}}}}}}}} |{{#if:{{{image_map|}}} |{{{map_caption|}}} }}}}
| caption3  = {{#if:{{{pushpin_map|{{{map_type|}}}}}} |{{{pushpin_map_caption|{{{map_caption|Location within {{#invoke:Location map|data|{{{pushpin_map|{{{map_type}}}}}}|name}}}}}}}} |{{#if:{{{image_map|}}} |{{{map_caption|}}} }}}}
| header23     = {{#if:{{{footnotes|}}}|Footnotes}}
| header24     = {{#if:{{{footnotes|}}}|Footnotes}}
| data24       = {{{footnotes|}}}
| data25       = {{{footnotes|}}}


| header25     = {{{embed|}}}
| header26     = {{{embed|}}}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox government agency with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox government agency]] with unknown parameter "_VALUE_"|ignoreblank=y| agency_id | agency_name | agency_type | budget | chief1_name | chief1_position | chief2_name | chief2_position | chief3_name | chief3_position | chief4_name | chief4_position | chief5_name | chief5_position | chief6_name | chief6_position | chief7_name | chief7_position | chief8_name | chief8_position | chief9_name | chief9_position | child | child1_agency | child10_agency | child11_agency | child12_agency | child13_agency | child14_agency | child15_agency | child16_agency | child17_agency | child18_agency | child19_agency | child2_agency | child20_agency | child21_agency | child22_agency | child23_agency | child24_agency | child25_agency | child3_agency | child4_agency | child5_agency | child6_agency | child7_agency | child8_agency | child9_agency | coordinates | deputyminister1_name | deputyminister1_pfo | deputyminister2_name | deputyminister2_pfo | deputyminister3_name | deputyminister3_pfo | deputyminister4_name | deputyminister4_pfo | deputyminister5_name | deputyminister5_pfo | deputyminister6_name | deputyminister6_pfo | deputyminister7_name | deputyminister7_pfo | deputyminister8_name | deputyminister8_pfo | dissolved | embed | employees | footnotes | formed | headquarters | image | image_caption | image_size | italic title | jurisdiction | keydocument1 | keydocument2 | keydocument3 | keydocument4 | keydocument5 | keydocument6 | logo | logo_caption | logo_size | logo_width | map | map_caption | map_size | map_width | minister1_name | minister1_pfo | minister2_name | minister2_pfo | minister3_name | minister3_pfo | minister4_name | minister4_pfo | minister5_name | minister5_pfo | minister6_name | minister6_pfo | minister7_name | minister7_pfo | minister8_name | minister8_pfo | motto | name | native_name | native_name_a | native_name_r | nativename | nativename_a | nativename_r | parent_agency | parent_department | picture | picture_caption | picture_width | preceding1 | preceding2 | preceding3 | preceding4 | preceding5 | preceding6 | region_code | seal | seal_caption | seal_size | seal_width | service | subbox | superseding | superseding1 | superseding2 | superseding3 | superseding4 | superseding5 | superseding6 | type | website }}<noinclude>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox government agency with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox government agency]] with unknown parameter "_VALUE_"|ignoreblank=y| agency_id | agency_name | agency_type | budget | chief1_name | chief1_position | chief2_name | chief2_position | chief3_name | chief3_position | chief4_name | chief4_position | chief5_name | chief5_position | chief6_name | chief6_position | chief7_name | chief7_position | chief8_name | chief8_position | chief9_name | chief9_position | child | child1_agency | child10_agency | child11_agency | child12_agency | child13_agency | child14_agency | child15_agency | child16_agency | child17_agency | child18_agency | child19_agency | child2_agency | child20_agency | child21_agency | child22_agency | child23_agency | child24_agency | child25_agency | child3_agency | child4_agency | child5_agency | child6_agency | child7_agency | child8_agency | child9_agency | coordinates | deputyminister_type | deputyminister1_name | deputyminister1_pfo | deputyminister2_name | deputyminister2_pfo | deputyminister3_name | deputyminister3_pfo | deputyminister4_name | deputyminister4_pfo | deputyminister5_name | deputyminister5_pfo | deputyminister6_name | deputyminister6_pfo | deputyminister7_name | deputyminister7_pfo | deputyminister8_name | deputyminister8_pfo | dissolved | embed | employees | footnotes | formed | headquarters | image | image_caption | image_size | italic title | jurisdiction | keydocument1 | keydocument2 | keydocument3 | keydocument4 | keydocument5 | keydocument6 | logo | logo_caption | logo_size | logo_width | map | map_caption | map_size | map_width | minister_type | minister1_name | minister1_pfo | minister2_name | minister2_pfo | minister3_name | minister3_pfo | minister4_name | minister4_pfo | minister5_name | minister5_pfo | minister6_name | minister6_pfo | minister7_name | minister7_pfo | minister8_name | minister8_pfo | motto | name | native_name | native_name_a | native_name_r | nativename | nativename_a | nativename_r | parent_agency | parent_agency_type | parent_department | picture | picture_caption | picture_width | preceding1 | preceding2 | preceding3 | preceding4 | preceding5 | preceding6 | region_code | seal | seal_caption | seal_size | seal_width | service | status | subbox | superseding | superseding1 | superseding2 | superseding3 | superseding4 | superseding5 | superseding6 | type | website }}<noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 14:40, 10 August 2018

Infobox government agency