قالب:Departments of the United Kingdom Government
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
<div class="navbox-styles">'"`UNIQ--templatestyles-00000009-QINU`"''"`UNIQ--templatestyles-00000000-QINU`"'</div><div role="navigation" class="navbox" aria-labelledby="Departments_of_the_Government_of_the_United_Kingdom" style="padding:3px"><table class="nowraplinks mw-collapsible mw-collapsed navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tr><th scope="col" class="navbox-title" colspan="2">'"`UNIQ--templatestyles-00000007-QINU`"''"`UNIQ--templatestyles-00000008-QINU`"'<div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view">[[قالب:Departments of the United Kingdom Government|<abbr title="View this template">v</abbr>]]</li><li class="nv-talk">[[نقاش القالب:Departments of the United Kingdom Government|<abbr title="Discuss this template">t</abbr>]]</li><li class="nv-edit">[[Special:EditPage/قالب:Departments of the United Kingdom Government|<abbr title="Edit this template">e</abbr>]]</li></ul></div><div id="Departments_of_the_Government_of_the_United_Kingdom" style="font-size:114%;margin:0 4em">[[Departments of the Government of the United Kingdom]]</div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">Ministerial</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[Advocate General for Scotland|Advocate General for Scotland]] * [[Attorney General's Office (United Kingdom)|Attorney General's Office]] * [[Department for Business and Trade|Business and Trade]] * [[Cabinet Office]] * [[Ministry of Defence (United Kingdom)|Defence]] * [[Department for Culture, Media and Sport|Culture, Media and Sport]] * [[Department for Education|Education]] * [[Department for Energy Security and Net Zero|Energy Security and Net Zero]] * [[Department for Environment, Food and Rural Affairs|Environment, Food and Rural Affairs]] * [[Foreign, Commonwealth and Development Office|Foreign, Commonwealth and Development]] * [[Department of Health and Social Care|Health and Social Care]] * [[Home Office|Home]] * [[Ministry of Justice (United Kingdom)|Justice]] * [[Leader of the House of Commons|Leader of the House of Commons]] * [[Office of the Leader of the House of Lords|Leader of the House of Lords]] * [[Department for Levelling Up, Housing and Communities|Levelling Up, Housing and Communities]] * [[Northern Ireland Office|Northern Ireland]] * [[Office of the Secretary of State for Scotland|Scotland Office]] * [[Department for Science, Innovation and Technology|Science, Innovation and Technology]] * [[Department for Transport|Transport]] * [[HM Treasury|Treasury]] * [[UK Export Finance]] * [[Office of the Secretary of State for Wales|Wales Office]] * [[Department for Work and Pensions|Work and Pensions]] </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Non-ministerial</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[Charity Commission for England and Wales]] * [[Competition and Markets Authority]] * [[Crown Prosecution Service]] * [[Food Standards Agency]] * [[Forestry Commission]] * [[Government Actuary's Department]] * [[Government Legal Department]] * [[HM Land Registry|Land Registry]] * [[HM Revenue and Customs|Revenue and Customs]] * [[National Crime Agency]] * [[National Savings and Investments]] * [[Ofsted]] * [[Office of Gas and Electricity Markets]] * [[Ofqual]] * [[Office of Rail and Road]] * [[Serious Fraud Office (United Kingdom)|Serious Fraud Office]] * [[Supreme Court of the United Kingdom|Supreme Court]] * [[The National Archives (United Kingdom)|National Archives]] * [[UK Statistics Authority]] * [[Ofwat]] </div></td></tr><tr><td class="navbox-abovebelow hlist" colspan="2"><div> * [[File:Symbol category class.svg|Category|link=|16x16px|class=noviewer|alt=]] '''[[:Category:Departments of the Government of the United Kingdom|Category]]''' * [[File:Commons-logo.svg|Commons page|link=|16x16px|class=noviewer|alt=]] [[commons:Category:Departments of the United Kingdom Government|'''Commons''']] </div></td></tr></table></div>
will show the template collapsed, i.e. hidden apart from its title bar.<div class="navbox-styles">'"`UNIQ--templatestyles-0000000D-QINU`"''"`UNIQ--templatestyles-00000000-QINU`"'</div><div role="navigation" class="navbox" aria-labelledby="Departments_of_the_Government_of_the_United_Kingdom" style="padding:3px"><table class="nowraplinks mw-collapsible expanded navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tr><th scope="col" class="navbox-title" colspan="2">'"`UNIQ--templatestyles-0000000B-QINU`"''"`UNIQ--templatestyles-0000000C-QINU`"'<div class="navbar plainlinks hlist navbar-mini"><ul><li class="nv-view">[[قالب:Departments of the United Kingdom Government|<abbr title="View this template">v</abbr>]]</li><li class="nv-talk">[[نقاش القالب:Departments of the United Kingdom Government|<abbr title="Discuss this template">t</abbr>]]</li><li class="nv-edit">[[Special:EditPage/قالب:Departments of the United Kingdom Government|<abbr title="Edit this template">e</abbr>]]</li></ul></div><div id="Departments_of_the_Government_of_the_United_Kingdom" style="font-size:114%;margin:0 4em">[[Departments of the Government of the United Kingdom]]</div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">Ministerial</th><td class="navbox-list-with-group navbox-list navbox-odd hlist" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[Advocate General for Scotland|Advocate General for Scotland]] * [[Attorney General's Office (United Kingdom)|Attorney General's Office]] * [[Department for Business and Trade|Business and Trade]] * [[Cabinet Office]] * [[Ministry of Defence (United Kingdom)|Defence]] * [[Department for Culture, Media and Sport|Culture, Media and Sport]] * [[Department for Education|Education]] * [[Department for Energy Security and Net Zero|Energy Security and Net Zero]] * [[Department for Environment, Food and Rural Affairs|Environment, Food and Rural Affairs]] * [[Foreign, Commonwealth and Development Office|Foreign, Commonwealth and Development]] * [[Department of Health and Social Care|Health and Social Care]] * [[Home Office|Home]] * [[Ministry of Justice (United Kingdom)|Justice]] * [[Leader of the House of Commons|Leader of the House of Commons]] * [[Office of the Leader of the House of Lords|Leader of the House of Lords]] * [[Department for Levelling Up, Housing and Communities|Levelling Up, Housing and Communities]] * [[Northern Ireland Office|Northern Ireland]] * [[Office of the Secretary of State for Scotland|Scotland Office]] * [[Department for Science, Innovation and Technology|Science, Innovation and Technology]] * [[Department for Transport|Transport]] * [[HM Treasury|Treasury]] * [[UK Export Finance]] * [[Office of the Secretary of State for Wales|Wales Office]] * [[Department for Work and Pensions|Work and Pensions]] </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">Non-ministerial</th><td class="navbox-list-with-group navbox-list navbox-even hlist" style="text-align:right;width:100%;padding:0"><div style="padding:0 0.25em"> * [[Charity Commission for England and Wales]] * [[Competition and Markets Authority]] * [[Crown Prosecution Service]] * [[Food Standards Agency]] * [[Forestry Commission]] * [[Government Actuary's Department]] * [[Government Legal Department]] * [[HM Land Registry|Land Registry]] * [[HM Revenue and Customs|Revenue and Customs]] * [[National Crime Agency]] * [[National Savings and Investments]] * [[Ofsted]] * [[Office of Gas and Electricity Markets]] * [[Ofqual]] * [[Office of Rail and Road]] * [[Serious Fraud Office (United Kingdom)|Serious Fraud Office]] * [[Supreme Court of the United Kingdom|Supreme Court]] * [[The National Archives (United Kingdom)|National Archives]] * [[UK Statistics Authority]] * [[Ofwat]] </div></td></tr><tr><td class="navbox-abovebelow hlist" colspan="2"><div> * [[File:Symbol category class.svg|Category|link=|16x16px|class=noviewer|alt=]] '''[[:Category:Departments of the Government of the United Kingdom|Category]]''' * [[File:Commons-logo.svg|Commons page|link=|16x16px|class=noviewer|alt=]] [[commons:Category:Departments of the United Kingdom Government|'''Commons''']] </div></td></tr></table></div>
will show the template expanded, i.e. fully visible.
Usage[تعديل]
There are two parameters:
- type
- title
Type is either Ministerial or Non-ministerial and categorises the article automatically. Title is used to sort the article if necessary, as with those articles that begin with "Department of" or "Ministry of".