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

出自合眾百科 Unitedbook
無編輯摘要
DC對話 | 貢獻
無編輯摘要
 
(未顯示同一使用者於中間所作的 5 次修訂)
第1行: 第1行:
{{Infobox
| bodyclass = vcard
| bodystyle = font-size: 88%;
| above = {{{name|}}}{{#if:{{{other_name1|}}}|<br>{{{other_name1|}}}}}{{#if:{{{other_name2|}}}|<br>{{{other_name2|}}}}}
| abovestyle =background:#E3E3E3; font-weight:bold; color:black;
| subheaderstyle = background-color: #E3E3E3; font-weight: bold;
| subheader = {{{country|}}}[[{{{country_2|}}}政府機構]]
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_size|}}}|sizedefault=frameless|upright=0.91|alt={{{logo_2|}}}|suppressplaceholder={{main other|yes|no}}}}
| caption = {{{logo_caption|}}}
| headerstyle = | headerstyle = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}}
| labelstyle = white-space: nowrap;
| header1 = {{#if:{{{type|}}}{{{parent_agency|}}}{{{employees|}}}{{{budget|}}}{{{keydocument|}}}|機構資訊}}
| label2 = 機關類型
| data2 = {{{type|}}}
| class2 = category
| label3 = 所屬部門
| data3 = {{{parent_agency|}}}
| label4 = 員額
| data4 = {{{employees|}}}
| label5 = 年度預算額
| data5 = {{{budget|}}}
| label6 = 授權法源
| data6 = {{{keydocument|}}}
| header7 = {{#if:{{{leader_title1|}}}{{{co_leader_title1|}}}{{{co_leader_title2|}}}{{{co_leader_title3|}}}{{{appointer|}}}{{{term|}}}|主要官員}}
| label8 = {{{leader_title1|}}}
| data8 = {{#if:{{{leader_title1|}}}|{{{leader_1|}}}}}
| label9 = {{{co_leader_title1|}}}
| data9 = {{#if:{{{co_leader_title1|}}}|{{Slight-pause mark list|{{{co_leader1|}}}|{{{co_leader1_2|}}}|{{{co_leader1_3|}}}}}}}
| label10 = {{{co_leader_title2|}}}
| data10 = {{#if:{{{co_leader_title2|}}}|{{Slight-pause mark list|{{{co_leader2|}}}|{{{co_leader2_2|}}}|{{{co_leader2_3|}}}}}}}
| label11 = {{{co_leader_title3|}}}
| data11 = {{#if:{{{co_leader_title3|}}}|{{Slight-pause mark list|{{{co_leader3|}}}|{{{co_leader3_2|}}}|{{{co_leader3_3|}}}}}}}
| label15 = 任命者
| data15 = {{{appointer|}}}
| label16 = 任期
| data16 = {{{term|}}}
| header17 = {{#if:{{{unit|}}}{{{child_agency|}}}|組織編制}}
| label18 = 內部單位
| data18 = {{{unit|}}}
| label19 = 附屬機關
| data19 = {{{child_agency|}}}
| header21 = {{#if:{{{formed_date|}}}{{{preceding|}}}{{{dissolved_date|}}}{{{superseding|}}}|沿革}}
| label22 = 成立日期
| data22 = {{{formed_date|}}}
| label23 = 前身機關
| data23 = {{{preceding|}}}
| label24 = 解散日期
| data24 = {{{dissolved_date|}}}
| label25 = 後繼機關
| data25 = {{{superseding|}}}
| header26 = {{#if:{{{address|}}}{{{telephone|}}}{{{website|}}}|聯絡資訊}}
| label28 = 地址
| data28 = {{{address|}}}
| class28 = adr
| label29 = 電話
| data29 = {{{telephone|}}}
| label30 = 網站
| data30 = {{{website|}}}
| header31 = {{#if:{{{備註|}}}|<nowiki />}}
| header31style = background-color: transparent; border-top: 1px solid #aaa; padding-top: 0.2em;
| label32 = 備註
| data32 = {{{note|}}}
| class32 = note
| header33 = {{#if:{{{議席分佈|}}}|<nowiki />}}
| header33style = background-color: transparent; border-top: 1px solid #aaa; padding-top: 0.2em;
| label34 = 議席分佈
| data34 = {{{distribution|}}}
| header35 = {{#if:{{{政治團體|}}}|<nowiki />}}
| header35style = background-color: transparent; border-top: 1px solid #aaa; padding-top: 0.2em;
| label36 = 政治團體
| data36 = {{{political_group|}}}
| header37 = {{#if:{{{picture|}}}|圖像}}
| data38 = {{#if:{{{picture|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{picture|}}}|size={{{picture_size|}}}|sizedefault=frameless|upright=1.15|alt={{{picture_2|}}}|suppressplaceholder={{main other|yes|no}}}}{{#if:{{{picture_caption|}}}|<br />{{{picture_caption}}}}}}}
}}<noinclude>
{{Documentation}}
</noinclude>
<noinclude>{{pp-template|small=yes}}
<noinclude>{{pp-template|small=yes}}
{{pp-move|small=yes}}</noinclude>{{infobox
{{pp-move|small=yes}}</noinclude>{{infobox
第117行: 第4行:
| subbox      = {{{subbox|}}}
| subbox      = {{{subbox|}}}
| italic title = {{{italic title|no}}}
| italic title = {{{italic title|no}}}
| above      = {{#if:{{{jurisdiction|}}} |'''{{#invoke:Wikidata|getValue|P17|{{{jurisdiction|FETCH_WIKIDATA}}}}}{{{jurisdiction_type|政府}}}機構'''<hr>}}
| above      = {{#if:{{{jurisdiction|}}} |'''{{{jurisdiction_type|政府}}}機構'''<hr>}}
| abovestyle  = font-size:small; font-weight:normal;
| abovestyle  = font-size:small; font-weight:normal;
| subheader    = <span style="font-size:large;">'''{{{name|{{{agency_name|{{PAGENAMEBASE}}}}}}}}'''</span>
| subheader    = <span style="font-size:large;">'''{{{name|{{{agency_name|{{PAGENAMEBASE}}}}}}}}'''</span>
| subheader2    = {{#if:{{{nativename|}}}{{#property:P1448}} |{{#invoke:Wikidata|getValue|P1448|{{{nativename|FETCH_WIKIDATA}}}}} }}{{#if:{{{nativename_a|}}} | {{#if:{{{nativename|}}} |<br/>}}{{{nativename_a}}} }}{{#if:{{{nativename_r|}}} | <br/>{{{nativename_r}}} }}
| subheader2    = {{#if:{{{nativename|}}}{{#property:P1448}} |{{#invoke:Wikidata|getValue|P1448|{{{nativename|FETCH_WIKIDATA}}}}} }}{{#if:{{{nativename_a|}}} | {{#if:{{{nativename|}}} |<br/>}}{{{nativename_a}}} }}{{#if:{{{nativename_r|}}} | <br/>{{{nativename_r}}} }}
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{seal|{{#if:{{wikidata|property|raw|{{{qid|}}}|P158}}|{{wikidata|property|raw|{{{qid|}}}|P158}}}}}}}|size={{{seal_width|}}}|sizedefault=frameless}}
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{seal|}}}|size={{{seal_width|}}}|sizedefault=frameless}}
| caption      = {{{seal_caption|}}}
| caption      = {{{seal_caption|}}}
| image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{#if:{{wikidata|property|raw|{{{qid|}}}|P154}}|{{wikidata|property|raw|{{{qid|}}}|P154}}}}}}}|size={{{logo_width|}}}|sizedefault=frameless}}
| image2      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{logo_width|}}}|sizedefault=frameless}}
| caption2    = {{{logo_caption|}}}
| caption2    = {{{logo_caption|}}}
| image3      = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|{{#if:{{wikidata|property|raw|{{{qid|}}}|P41}}|{{wikidata|property|raw|{{{qid|}}}|P41}}}}}}}|size={{{flag_width|}}}|sizedefault=frameless}}
| image3      = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|size={{{flag_width|}}}|sizedefault=frameless}}
| caption3    = {{{flag_caption|}}}
| caption3    = {{{flag_caption|}}}
| headerstyle  = background-color: #efefef
| headerstyle  = background-color: #efefef
第158行: 第45行:
| 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|}}} |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:{{{chief1|}}}|{{#if:{{{chief1_title|}}}|{{{chief1_title}}}:}}{{{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|}}}||}}
| label18      = 上級{{#if:{{{type|}}}|{{{type}}}|機構}}
| label18      = 上級{{#if:{{{type|}}}|{{{type}}}|機構}}
| data18      = {{{parent_agency|}}}
| data18      = {{{parent_agency|}}}

於 2025年3月16日 (日) 20:48 的最新修訂

Page used internally...

模板:Pp-move

Infobox government agency
資訊圖示 模板資訊[創建]