「模板:Infobox government agency」:修訂間差異

無編輯摘要
imported>CYL992
(建立內容為「<noinclude>{{pp-template|small=yes}} {{pp-move|small=yes}}</noinclude>{{infobox | child = {{{child|}}} | subbox = {{{subbox|}}} | italic title = {{{italic title|no}}} | above = {{#if:{{{jurisdiction|}}} |'''{{#invoke:Wikidata|getValue|P17|{{{jurisdiction|FETCH_WIKIDATA}}}}}{{{jurisdiction_type|政府}}}機構'''<hr>}} | abovestyle = font-size:small; font-weight:normal; | subheader = <span style="font-size:large;">'''{{{name|{{{agency_…」的新頁面)
 
imported>CYL992
無編輯摘要
第30行: 第30行:
| data7        = {{#invoke:Wikidata|getValue|P31|{{{agency_type|FETCH_WIKIDATA}}}}}
| data7        = {{#invoke:Wikidata|getValue|P31|{{{agency_type|FETCH_WIKIDATA}}}}}
| class7      = category
| class7      = category
| label9      = 机构驻
| label9      = 機構駐
| data9        = {{#invoke:Wikidata|getValue|P159|{{{headquarters|FETCH_WIKIDATA}}}}}{{#if:{{both|{{{latd|}}}|{{{longd|}}}}}|<br />{{geobox coor|{{{latd|}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longd|}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|type:landmark{{#if:{{{region_code|}}}|_region:{{{region_code}}}}}}}}}{{#if: {{{coordinates|}}}|<br/>{{{coordinates|}}} }}
| data9        = {{#invoke:Wikidata|getValue|P159|{{{headquarters|FETCH_WIKIDATA}}}}}{{#if:{{both|{{{latd|}}}|{{{longd|}}}}}|<br />{{geobox coor|{{{latd|}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longd|}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|type:landmark{{#if:{{{region_code|}}}|_region:{{{region_code}}}}}}}}}{{#if: {{{coordinates|}}}|<br/>{{{coordinates|}}} }}
| label10      = 格言
| label10      = 格言
第42行: 第42行:
| label14      = 隸屬副部長
| label14      = 隸屬副部長
| data14      = {{#if:{{{deputyminister1_pfo|}}}|{{{deputyminister1_pfo}}}:}}{{{deputyminister1_name|}}}{{#if:{{{deputyminister2_name|}}}|<br />{{#if:{{{deputyminister2_pfo|}}}|{{{deputyminister2_pfo}}}:}}{{{deputyminister2_name}}} }}{{#if:{{{deputyminister3_name|}}}|<br />{{#if:{{{deputyminister3_pfo|}}}|{{{deputyminister3_pfo}}}:}}{{{deputyminister3_name}}} }}{{#if:{{{deputyminister4_name|}}}|<br />{{#if:{{{deputyminister4_pfo|}}}|{{{deputyminister4_pfo}}}:}}{{{deputyminister4_name}}} }}{{#if:{{{deputyminister5_name|}}}|<br />{{#if:{{{deputyminister5_pfo|}}}|{{{deputyminister5_pfo}}}:}}{{{deputyminister5_name}}} }}{{#if:{{{deputyminister6_name|}}}|<br />{{#if:{{{deputyminister6_pfo|}}}|{{{deputyminister6_pfo}}}:}}{{{deputyminister6_name}}} }}{{#if:{{{deputyminister7_name|}}}|<br />{{#if:{{{deputyminister7_pfo|}}}|{{{deputyminister7_pfo}}}:}}{{{deputyminister7_name}}} }}
| data14      = {{#if:{{{deputyminister1_pfo|}}}|{{{deputyminister1_pfo}}}:}}{{{deputyminister1_name|}}}{{#if:{{{deputyminister2_name|}}}|<br />{{#if:{{{deputyminister2_pfo|}}}|{{{deputyminister2_pfo}}}:}}{{{deputyminister2_name}}} }}{{#if:{{{deputyminister3_name|}}}|<br />{{#if:{{{deputyminister3_pfo|}}}|{{{deputyminister3_pfo}}}:}}{{{deputyminister3_name}}} }}{{#if:{{{deputyminister4_name|}}}|<br />{{#if:{{{deputyminister4_pfo|}}}|{{{deputyminister4_pfo}}}:}}{{{deputyminister4_name}}} }}{{#if:{{{deputyminister5_name|}}}|<br />{{#if:{{{deputyminister5_pfo|}}}|{{{deputyminister5_pfo}}}:}}{{{deputyminister5_name}}} }}{{#if:{{{deputyminister6_name|}}}|<br />{{#if:{{{deputyminister6_pfo|}}}|{{{deputyminister6_pfo}}}:}}{{{deputyminister6_name}}} }}{{#if:{{{deputyminister7_name|}}}|<br />{{#if:{{{deputyminister7_pfo|}}}|{{{deputyminister7_pfo}}}:}}{{{deputyminister7_name}}} }}
| label15      = 机构长
| label15      = 機構長
| data15      = {{#if:{{{departmentexecutive1_pfo|}}}|{{{departmentexecutive1_pfo}}}:}}{{{departmentexecutive1_name|}}}{{#if:{{{departmentexecutive2_name|}}}|<br />{{#if:{{{departmentexecutive2_pfo|}}}|{{{departmentexecutive2_pfo}}}:}}{{{departmentexecutive2_name}}} }}{{#if:{{{departmentexecutive3_name|}}}|<br />{{#if:{{{departmentexecutive3_pfo|}}}|{{{departmentexecutive3_pfo}}}:}}{{{departmentexecutive3_name}}} }}{{#if:{{{departmentexecutive4_name|}}}|<br />{{#if:{{{departmentexecutive4_pfo|}}}|{{{departmentexecutive4_pfo}}}:}}{{{departmentexecutive4_name}}} }}{{#if:{{{departmentexecutive5_name|}}}|<br />{{#if:{{{departmentexecutive5_pfo|}}}|{{{departmentexecutive5_pfo}}}:}}{{{departmentexecutive5_name}}} }}{{#if:{{{departmentexecutive6_name|}}}|<br />{{#if:{{{departmentexecutive6_pfo|}}}|{{{departmentexecutive6_pfo}}}:}}{{{departmentexecutive6_name}}} }}{{#if:{{{departmentexecutive7_name|}}}|<br />{{#if:{{{departmentexecutive7_pfo|}}}|{{{departmentexecutive7_pfo}}}:}}{{{departmentexecutive7_name}}} }}
| data15      = {{#if:{{{departmentexecutive1_pfo|}}}|{{{departmentexecutive1_pfo}}}:}}{{{departmentexecutive1_name|}}}{{#if:{{{departmentexecutive2_name|}}}|<br />{{#if:{{{departmentexecutive2_pfo|}}}|{{{departmentexecutive2_pfo}}}:}}{{{departmentexecutive2_name}}} }}{{#if:{{{departmentexecutive3_name|}}}|<br />{{#if:{{{departmentexecutive3_pfo|}}}|{{{departmentexecutive3_pfo}}}:}}{{{departmentexecutive3_name}}} }}{{#if:{{{departmentexecutive4_name|}}}|<br />{{#if:{{{departmentexecutive4_pfo|}}}|{{{departmentexecutive4_pfo}}}:}}{{{departmentexecutive4_name}}} }}{{#if:{{{departmentexecutive5_name|}}}|<br />{{#if:{{{departmentexecutive5_pfo|}}}|{{{departmentexecutive5_pfo}}}:}}{{{departmentexecutive5_name}}} }}{{#if:{{{departmentexecutive6_name|}}}|<br />{{#if:{{{departmentexecutive6_pfo|}}}|{{{departmentexecutive6_pfo}}}:}}{{{departmentexecutive6_name}}} }}{{#if:{{{departmentexecutive7_name|}}}|<br />{{#if:{{{departmentexecutive7_pfo|}}}|{{{departmentexecutive7_pfo}}}:}}{{{departmentexecutive7_name}}} }}
| label16      = 机构
| label16      = 機構
| data16      = {{#if:{{{minister1_name|}}}|{{#if:{{{chief1_title|}}}|{{{chief1_title}}}:}}{{{chief1|}}}|{{#if:{{#invoke:Wikidata|getValue|P2388|{{{chief1_title|FETCH_WIKIDATA}}}}}|{{#invoke:Wikidata|getValue|P2388|{{{chief1_title|FETCH_WIKIDATA}}}}}:}}{{#invoke:WikidataIB |getValue |rank=best |P488 |name=assets |qual=P585 |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 |{{{chief1|}}} }}}}{{#if:{{{chief2|}}}|<br />{{#if:{{{chief2_title|}}}|{{{chief2_title}}}:}}{{{chief2}}}}}{{#if:{{{chief3|}}}|<br />{{#if:{{{chief3_title|}}}|{{{chief3_title}}}:}}{{{chief3}}}}}{{#if:{{{chief4|}}}|<br />{{#if:{{{chief4_title|}}}|{{{chief4_title}}}:}}{{{chief4}}}}}{{#if:{{{chief5|}}}|<br />{{#if:{{{chief5_title|}}}|{{{chief5_title}}}:}}{{{chief5}}}}}{{#if:{{{chief6|}}}|<br />{{#if:{{{chief6_title|}}}|{{{chief6_title}}}:}}{{{chief6}}}}}{{#if:{{{chief7|}}}|<br />{{#if:{{{chief7_title|}}}|{{{chief7_title}}}:}}{{{chief7}}}}}{{#if:{{{chief8|}}}|<br />{{#if:{{{chief8_title|}}}|{{{chief8_title}}}:}}{{{chief8}}}}}{{#if:{{{chief9|}}}|<br />{{#if:{{{chief9_title|}}}|{{{chief9_title}}}:}}{{{chief9}}}}}{{#if:{{{chief10|}}}|<br />{{#if:{{{chief10_title|}}}|{{{chief10_title}}}:}}{{{chief10}}}}}
| data16      = {{#if:{{{minister1_name|}}}|{{#if:{{{chief1_title|}}}|{{{chief1_title}}}:}}{{{chief1|}}}|{{#if:{{#invoke:Wikidata|getValue|P2388|{{{chief1_title|FETCH_WIKIDATA}}}}}|{{#invoke:Wikidata|getValue|P2388|{{{chief1_title|FETCH_WIKIDATA}}}}}:}}{{#invoke:WikidataIB |getValue |rank=best |P488 |name=assets |qual=P585 |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 |{{{chief1|}}} }}}}{{#if:{{{chief2|}}}|<br />{{#if:{{{chief2_title|}}}|{{{chief2_title}}}:}}{{{chief2}}}}}{{#if:{{{chief3|}}}|<br />{{#if:{{{chief3_title|}}}|{{{chief3_title}}}:}}{{{chief3}}}}}{{#if:{{{chief4|}}}|<br />{{#if:{{{chief4_title|}}}|{{{chief4_title}}}:}}{{{chief4}}}}}{{#if:{{{chief5|}}}|<br />{{#if:{{{chief5_title|}}}|{{{chief5_title}}}:}}{{{chief5}}}}}{{#if:{{{chief6|}}}|<br />{{#if:{{{chief6_title|}}}|{{{chief6_title}}}:}}{{{chief6}}}}}{{#if:{{{chief7|}}}|<br />{{#if:{{{chief7_title|}}}|{{{chief7_title}}}:}}{{{chief7}}}}}{{#if:{{{chief8|}}}|<br />{{#if:{{{chief8_title|}}}|{{{chief8_title}}}:}}{{{chief8}}}}}{{#if:{{{chief9|}}}|<br />{{#if:{{{chief9_title|}}}|{{{chief9_title}}}:}}{{{chief9}}}}}{{#if:{{{chief10|}}}|<br />{{#if:{{{chief10_title|}}}|{{{chief10_title}}}:}}{{{chief10}}}}}
| label17      = 上
| label17      = 上
| data17      = {{#if:{{{parent_agency|}}}||{{#if:{{#property:P749}}|{{#invoke:Wikidata|getValue|P749|{{{parent_department|FETCH_WIKIDATA}}}}}|{{#invoke:Wikidata|getValue|P361|{{{parent_department|FETCH_WIKIDATA}}}}}}}}}
| data17      = {{#if:{{{parent_agency|}}}||{{#if:{{#property:P749}}|{{#invoke:Wikidata|getValue|P749|{{{parent_department|FETCH_WIKIDATA}}}}}|{{#invoke:Wikidata|getValue|P361|{{{parent_department|FETCH_WIKIDATA}}}}}}}}}
| label18      = 上{{#if:{{{type|}}}|{{{type}}}|机构}}
| label18      = 上{{#if:{{{type|}}}|{{{type}}}|機構}}
| data18      = {{{parent_agency|}}}
| data18      = {{{parent_agency|}}}
| label19      = 下設机构
| label19      = 下設機構
| data19      = {{{child1_agency|}}}{{#if:{{{child2_agency|}}}|<br />{{{child2_agency}}} }}{{#if:{{{child3_agency|}}}|<br />{{{child3_agency}}} }}{{#if:{{{child4_agency|}}}|<br />{{{child4_agency}}} }}{{#if:{{{child5_agency|}}}|<br />{{{child5_agency}}} }}{{#if:{{{child6_agency|}}}|<br />{{{child6_agency}}} }}{{#if:{{{child7_agency|}}}|<br />{{{child7_agency}}} }}{{#if:{{{child8_agency|}}}|<br />{{{child8_agency}}} }}{{#if:{{{child9_agency|}}}|<br />{{{child9_agency}}} }}{{#if:{{{child10_agency|}}}|<br />{{{child10_agency}}} }}{{#if:{{{child11_agency|}}}|<br />{{{child11_agency}}} }}{{#if:{{{child12_agency|}}}|<br />{{{child12_agency}}} }}{{#if:{{{child13_agency|}}}|<br />{{{child13_agency}}} }}{{#if:{{{child14_agency|}}}|<br />{{{child14_agency}}} }}{{#if:{{{child15_agency|}}}|<br />{{{child15_agency}}} }}{{#if:{{{child16_agency|}}}|<br />{{{child16_agency}}} }}{{#if:{{{child17_agency|}}}|<br />{{{child17_agency}}} }}{{#if:{{{child18_agency|}}}|<br />{{{child18_agency}}} }}{{#if:{{{child19_agency|}}}|<br />{{{child19_agency}}} }}{{#if:{{{child20_agency|}}}|<br />{{{child20_agency}}} }}{{#if:{{{child21_agency|}}}|<br />{{{child21_agency}}} }}{{#if:{{{child22_agency|}}}|<br />{{{child22_agency}}} }}{{#if:{{{child23_agency|}}}|<br />{{{child23_agency}}} }}{{#if:{{{child24_agency|}}}|<br />{{{child24_agency}}} }}{{#if:{{{child25_agency|}}}|<br />{{{child25_agency}}} }}
| data19      = {{{child1_agency|}}}{{#if:{{{child2_agency|}}}|<br />{{{child2_agency}}} }}{{#if:{{{child3_agency|}}}|<br />{{{child3_agency}}} }}{{#if:{{{child4_agency|}}}|<br />{{{child4_agency}}} }}{{#if:{{{child5_agency|}}}|<br />{{{child5_agency}}} }}{{#if:{{{child6_agency|}}}|<br />{{{child6_agency}}} }}{{#if:{{{child7_agency|}}}|<br />{{{child7_agency}}} }}{{#if:{{{child8_agency|}}}|<br />{{{child8_agency}}} }}{{#if:{{{child9_agency|}}}|<br />{{{child9_agency}}} }}{{#if:{{{child10_agency|}}}|<br />{{{child10_agency}}} }}{{#if:{{{child11_agency|}}}|<br />{{{child11_agency}}} }}{{#if:{{{child12_agency|}}}|<br />{{{child12_agency}}} }}{{#if:{{{child13_agency|}}}|<br />{{{child13_agency}}} }}{{#if:{{{child14_agency|}}}|<br />{{{child14_agency}}} }}{{#if:{{{child15_agency|}}}|<br />{{{child15_agency}}} }}{{#if:{{{child16_agency|}}}|<br />{{{child16_agency}}} }}{{#if:{{{child17_agency|}}}|<br />{{{child17_agency}}} }}{{#if:{{{child18_agency|}}}|<br />{{{child18_agency}}} }}{{#if:{{{child19_agency|}}}|<br />{{{child19_agency}}} }}{{#if:{{{child20_agency|}}}|<br />{{{child20_agency}}} }}{{#if:{{{child21_agency|}}}|<br />{{{child21_agency}}} }}{{#if:{{{child22_agency|}}}|<br />{{{child22_agency}}} }}{{#if:{{{child23_agency|}}}|<br />{{{child23_agency}}} }}{{#if:{{{child24_agency|}}}|<br />{{{child24_agency}}} }}{{#if:{{{child25_agency|}}}|<br />{{{child25_agency}}} }}
| label20      = 授權法源
| label20      = 授權法源
第63行: 第63行:
| data25      = {{{footnotes|}}}
| data25      = {{{footnotes|}}}


| header26    = {{#if:{{{image|{{{picture|{{#if:{{wikidata|property|raw|{{{qid|}}}|P18}}|{{wikidata|property|raw|{{{qid|}}}|P18}}}}}}}}}}|影像料}}
| header26    = {{#if:{{{image|{{{picture|{{#if:{{wikidata|property|raw|{{{qid|}}}|P18}}|{{wikidata|property|raw|{{{qid|}}}|P18}}}}}}}}}}|影像料}}
| data27        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{picture|{{#if:{{wikidata|property|raw|{{{qid|}}}|P18}}|{{wikidata|property|raw|{{{qid|}}}|P18}}}}}}}}}}|size={{{image_size|{{{picture_width|}}}}}}|alt={{{image_alt|}}}|sizedefault=frameless}}{{#if: {{{image_caption|{{{picture_caption|}}}}}} | {{break}}{{{image_caption|{{{picture_caption}}}}}} }}
| data27        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{picture|{{#if:{{wikidata|property|raw|{{{qid|}}}|P18}}|{{wikidata|property|raw|{{{qid|}}}|P18}}}}}}}}}}|size={{{image_size|{{{picture_width|}}}}}}|alt={{{image_alt|}}}|sizedefault=frameless}}{{#if: {{{image_caption|{{{picture_caption|}}}}}} | {{break}}{{{image_caption|{{{picture_caption}}}}}} }}


匿名使用者