Difference between revisions of "Template:Info Govt/doc"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "This is a template for the Politicians table. There are many fields; just leave them empty if you don't know the value something should be, eg. "Facebook = " in the example be...")
 
 
(59 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
This is a template for the Politicians table. There are many fields; just leave them empty if you don't know the value something should be, eg. "Facebook = " in the example below.
+
{{Breadcrumbs|[[Template:Info Govt]]|Docs}}
 +
{{TOC right|limit=3}}
 +
Template for Govt Ministries and Departments.
  
−
Here is the entirety of the table, as you would enter it into an article:
+
==== Working Examples ====
 +
* Ministerial Dept: [[DHSC]]
 +
* Non-Ministerial Dept: [[Food Standards Agency]]
 +
* Agencies and Public Bodies: –
 +
* Other Bodies: –
 +
 
 +
== Images, Colours and Sizes ==
 +
Guidelines on using Govt logos:
 +
* [https://communication.cabinetoffice.gov.uk/hmg/guidance-and-artwork/ link] > [https://communication.cabinetoffice.gov.uk/hmg/guidance-and-artwork/hm-government/the-identity-and-usage-principles/ basic principles], [https://communication.cabinetoffice.gov.uk/hmg/guidance-and-artwork/government-identity-system/identity-lock-up-and-principles/ in detail]
 +
* Govt Identity System, [https://communication.cabinetoffice.gov.uk/hmg/guidance-and-artwork/ link]
 +
 
 +
Sizes:
 +
* 3-liner: if last line has no descenders, then '''h = 100''' else '''h = 104'''
 +
* 2-liner: if last line has no descenders, then '''h = 77''' else '''h = 82'''
 +
* 1-liner: if last line has no descenders, then '''h = ?''' else '''h = 60''' (''all 1st lines have descenders'')
 +
The Coat of Arms is taken from <code>HM-Government.svg</code> (''WP's all-singing, all-dancing Coat of Arms is here: [https://commons.wikimedia.org/wiki/File:Royal_Coat_of_Arms_of_the_United_Kingdom_(HM_Government).svg WP]'')<br/>
 +
The top two bars get HM Government's colour: {{tc|#0061b0|#0061b0}}. I think I'm going to have to make the Coat of Arms + "Government" into one image, because the Arms won't position correctly in Chrome.<br/>
 +
Departments/Agencies/etc/: some have their own colours, others don't. A Department's Agencies etc. inherit their parent's colours. Add new colour entries to the list as they are created. A complete list of Depts and Agencies is here: https://www.gov.uk/government/organisations; get the colour from each dept's page via ''inspect element''.
 +
{{TblOneCell|title=Ministerial Departments|content=
 +
{{Columns|width=20em|lst=square|content=
 +
<li>Default colour: {{tc|#808080;|#808080;}}</li>
 +
<li>[[Cabinet Office]]: {{tc|#005abb|#005abb}} + {{ColorBox|#eff4fa|#eff4fa|#000000}}</li>
 +
<li>[[BEIS|Dept for Business, Energy and Industrial Strategy]]: {{tc|#003479|#003479}}</li>
 +
<li>[[DCMS|Dept for Digital, Culture, Media & Sport]]: {{tc|#d40072|#d40072}}</li>
 +
<li>[[DfE|Dept for Education]]: {{tc|#003a69|#003a69}}</li>
 +
<li>[[DEFRA|Dept for Environment, Food & Rural Affairs]]: {{tc|#00a33b|#00a33b}}</li>
 +
<li>[[DExEU|Dept for Exiting the European Union]]: {{tc|#009ddb|#009ddb}}</li>
 +
<li>[[DHSC|Dept of Health & Social Care]]: {{ColorBox|#00ad93|#00ad93|#ffffff|border=#00ad93}} + {{ColorBox|#eff9f8|#eff9f8|#000000}}</li>
 +
<li>[[DfID|Dept for International Development]]: {{tc|#002878|#002878}}</li>
 +
<li>[[DfIT|Dept for International Trade]]: {{tc|#cf102d|#cf102d}}</li>
 +
<li>[[DWP|Dept for Work & Pensions]]: {{tc|#00beb7|#00beb7}}</li>
 +
<li>[[DfT|Dept for Transport]]: {{tc|#006c56|#006c56}}</li>
 +
<li>[[FCO|Foreign & Commonwealth Office]]: {{tc|#003e74|#003e74}}</li>
 +
<li>[[HM Treasury]]: {{tc|#af292e|#af292e}}</li>
 +
<li>[[Home Office]]: {{tc|#9325b2|#9325b2}}</li>
 +
<li>[[Ministry of Defence]]: {{tc|#4d2942|#4d2942}}</li>
 +
<li>[[Ministry of Justice]]: {{tc|#231f20|#231f20}}</li>
 +
<li>[[MHCLG|Ministry of Housing, Communities & Local Govt]]: {{tc|#00857e|#00857e}}</li>
 +
<li>[[Office of the Advocate General for Scotland]]: {{tc|#002663|#002663}}</li>
 +
<li>[[Attorney General's Office]]: {{tc|#9f1888|#9f1888}}</li>
 +
<li>[[Northern Ireland Office]]: {{tc|#002663|#002663}}</li>
 +
<li>[[Office of the Secretary of State for Scotland]]: {{tc|#002663|#002663}}</li>
 +
<li>[[Office of the Secretary of State for Wales]]: {{tc|#a33038|#a33038}}</li>
 +
<li>[[Office of the Leader of the House of Lords]]: {{tc|#9c132e|#9c132e}}</li>
 +
<li>[[Office of the Leader of the House of Commons]]: {{tc|#317023|#317023}}</li>
 +
<li>[[UK Export Finance]]: {{tc|#005747|#005747}}</li>
 +
}}
 +
}}
 +
 
 +
{{TblOneCell|title=Non-Ministerial Departments|content=
 +
{{Columns|width=20em|lst=square|content=
 +
<li>Food Standards Agency: {{ColorBox|#007749|#007749|#ffffff|border=#007749}} + {{ColorBox|#eff6f3|#eff6f3|#000000}}</li>
 +
}}
 +
}}
 +
 
 +
{{TblOneCell|title=Agencies and Public Bodies|content=
 +
{{Columns|width=20em|lst=square|content=
 +
<li>Default colour: {{tc|#000000|#000000}}</li>
 +
}}
 +
}}
 +
 
 +
{{TblOneCell|title=High Profile Groups|content=
 +
{{Columns|width=20em|lst=square|content=
 +
<li>Default colour: {{tc|#000000|#000000}}</li>
 +
}}
 +
}}
 +
 
 +
==== Band Colours ====
 +
We have a 1px line across the top and bottom of the band of the main colour, plus a background colour.  Choosing the bg colour isn't trivial. Here are the steps to follow:
 +
# Goto http://www.color-hex.com/color/e5f6f4
 +
# Say the main colour is #00ad93; input this at the top of the page and click "Get Info"
 +
# In the "Tints" section, click on the last colour at the far right, ie. #e5f6f4
 +
# On the next page, again in the "Tints" section, choose the 5th tint, eg. #eff9f8
 +
Add them to the table(s) above as we figure them out. Main colour first; background colour second.
 +
 
 +
==== Modifications ToDo ====
 +
# How to show a sub-department's parent, and that it belongs to the parent dept...
 +
# Add "Acronym" to the list of fields??
 +
 
 +
Here is the entirety of the table, as it is used in an article:
 
<pre>
 
<pre>
−
{{Politicians
+
{{Info Govt
−
|name      = Louise Ellman
+
|colour = #00ad93
−
|constit    = [[Liverpool Riverside]]
+
|bgcolour = #eff9f8
−
|portrait  = [[File:Official portrait of Mrs Louise Ellman crop 2.jpg|230px]]
+
|image  = [[img|Govt-Department-of-Health-and-Social-Care.png|160|123}}
−
|party-logo = [[File:Logo-Labour-200x50.png|center|230px]]
+
|dept-type = Ministerial Department
−
|in-office  = May.1997 &mdash; present;
+
|website  = [https://www.gov.uk/government/organisations/department-of-health Gov.uk Website]
−
|blurb      = Louise Ellman has been MP for Liverpool Riverside since 1997. In the GE-2017, she once again retained her seat, with 84.5% of the vote.
+
|blurb     = The Department of Health and Social Care (DHSC) is responsible for govt policy on health and social care in England. It is supported by 28 agencies and public bodies.
−
<!-- Committees + APPGs -->
+
|people-type = Ministers & Civil Servants
−
|cttees     = National Policy Statements Sub-Committee
+
|people-list =
−
|appgs      = Israel APPG, Chair
+
==== Ministers: ====
−
<!-- Parliamentary Record -->
+
* [[Jeremy Hunt]], Secretary of State for Health and Social Care (''Health Secretary'')
−
|actvty-twfy = https://www.theyworkforyou.com/mp/10186/louise_ellman/liverpool%2C_riverside#numerology
+
* [[Stephen Barclay]], Minister of State for Health (''Health Minister'')
−
|actvty-tpw  = http://www.publicwhip.org.uk/mp.php?mpn=Louise_Ellman&mpc=Liverpool%2C_Riverside&house=commons&display=allvotes#divisions
+
* [[Steve Brine]], Parliamentary Under Secretary of State for Public Health and Primary Care
−
|voting-tpw  = http://www.publicwhip.org.uk/mp.php?mpn=Louise_Ellman&mpc=Liverpool%2C_Riverside&house=commons
+
* ... ...
−
|voting-twfy = https://www.theyworkforyou.com/mp/10186/louise_ellman/liverpool%2C_riverside/votes
+
==== Civil Servants: ====
−
|voting-hans = https://hansard.parliament.uk/search/MemberContributions?memberId=484&type=Divisions
+
* [[Chris Wormald|Sir Chris Wormald]] KCB, Permanent Secretary
−
<!-- Contact -->
+
|agency-type-1 = [[#High Profile Groups|High Profile Groups]]
−
|party-wsite = [https://vote.labour.org.uk/louise-ellman Labour.org.uk]
+
|agency-type-0 =
−
|const-addr  = Room 212 The Cotton Exchange Building, Old Hall Street, Liverpool, L3 9LQ
+
* [[#Healthcare UK|Healthcare UK]]
−
|const-tel  = 0151-236-2969
+
* ... ...
−
|const-email = [mailto:lloydju@parliament.uk lloydju@parliament.uk]; [mailto:rob.carney@parliament.uk rob.carney@parliament.uk]
+
|agency-type-1 = [[#Executive Agencies|Executive Agencies]]
−
|parl-add    = House of Commons, London SW1A 0AA
+
|agency-list-1 =
−
|parl-tel    = 020-7219-5210
+
* [[#Medicines and Healthcare Products Regulatory Agency|Medicines and Healthcare Products Regulatory Agency]]
−
|parl-page  = [https://www.parliament.uk/biographies/commons/mrs-louise-ellman/484 Parliament.uk page]
+
* [[#Public Health England|Public Health England]]
−
|parl-email  = [mailto:louise.ellman.mp@parliament.uk louise.ellman.mp@parliament.uk]; [mailto:james.floyd@parliament.uk james.floyd@parliament.uk]
+
|agency-type-2 = [[#Executive N/D Public Bodies|Executive N/D Public Bodies]]
−
|website    = [http://www.louiseellman.co.uk/ www.louiseellman.co.uk/]
+
|agency-list-2 =
−
|write2them  = [https://www.writetothem.com/write?who=47002&pc=L3+9LQ WriteToThem.com]
+
* [[#Care Quality Commission (CQC)|Care Quality Commission (CQC)]]
−
|twitter    = [https://twitter.com/LouiseEllman @LouiseEllman]
+
* [[#Health Education England|Health Education England]]
−
|facebook    =
+
* [[#Health Research Authority|Health Research Authority]]
−
<!-- Dosh -->
+
* [[#Human Fertilisation and Embryology Authority (HFEA)|Human Fertilisation and Embryology Authority (HFEA)]]
−
|exp-date  = Feb.2018
+
* ... ...
−
|mp-salary  = 76,011
+
|agency-type-3 = [[#Advisory N/D Public Bodies|Advisory N/D Public Bodies]]
−
|other-dosh = [https://www.theyworkforyou.com/regmem/?p=10186 TheyWorkForYou]
+
|agency-list-3 =
−
|exp-office = 14,351.63
+
* [[#Administration of Radioactive Substances Advisory Committee|Administration of Radioactive Substances Advisory Committee]]
−
|exp-staff  = 121.84
+
* [[#Commission on Human Medicines|Commission on Human Medicines]]
−
|exp-accomm = 6,298.32
+
* [[#NHS Pay Review Body|NHS Pay Review Body]]
−
|exp-travel = 2,730.78
+
* [[#Advisory Committee on Clinical Excellence Awards|Advisory Committee on Clinical Excellence Awards]]
−
<!-- Footer -->
+
* ... ...
−
|wp-page = {{wpl|Louise Ellman}}
+
|agency-type-4 = [[#Other Bodies|Other Bodies]]
 +
|agency-list-4 =
 +
* [[#Accelerated Access Review|Accelerated Access Review]]
 +
* [[#Morecambe Bay Investigation|Morecambe Bay Investigation]]
 +
* ... ...
 +
|wp-page = {{wpl|Department of Health and Social Care}}
 
}}
 
}}
 
</pre>
 
</pre>
  
−
==== See also ====
+
==== Timeline ====
−
* [[Template:Wpa]], for a handy way of including links to Wikipedia in footnotes.
+
Use the same format as in [[Department_for_Business,_Energy_and_Industrial_Strategy#Timeline]].
−
* [[Template:Wp]]/[[Template:Wikipedia article]], for a box announcing that Wikipedia also has an article on X
+
 
−
<includeonly>
+
<includeonly>[[Category:WikiCorporates templates]]</includeonly>
−
[[Category:WikiPolitiks templates]]
 
−
</includeonly>
 

Latest revision as of 21:59, 9 December 2020

Template for Govt Ministries and Departments.

Working Examples

Images, Colours and Sizes

Guidelines on using Govt logos:

Sizes:

  • 3-liner: if last line has no descenders, then h = 100 else h = 104
  • 2-liner: if last line has no descenders, then h = 77 else h = 82
  • 1-liner: if last line has no descenders, then h = ? else h = 60 (all 1st lines have descenders)

The Coat of Arms is taken from HM-Government.svg (WP's all-singing, all-dancing Coat of Arms is here: WP)
The top two bars get HM Government's colour: #0061b0. I think I'm going to have to make the Coat of Arms + "Government" into one image, because the Arms won't position correctly in Chrome.
Departments/Agencies/etc/: some have their own colours, others don't. A Department's Agencies etc. inherit their parent's colours. Add new colour entries to the list as they are created. A complete list of Depts and Agencies is here: https://www.gov.uk/government/organisations; get the colour from each dept's page via inspect element.

Ministerial Departments

Non-Ministerial Departments

  • Food Standards Agency:  #007749  +  #eff6f3 

Agencies and Public Bodies

  • Default colour: #000000

High Profile Groups

  • Default colour: #000000

Band Colours

We have a 1px line across the top and bottom of the band of the main colour, plus a background colour. Choosing the bg colour isn't trivial. Here are the steps to follow:

  1. Goto http://www.color-hex.com/color/e5f6f4
  2. Say the main colour is #00ad93; input this at the top of the page and click "Get Info"
  3. In the "Tints" section, click on the last colour at the far right, ie. #e5f6f4
  4. On the next page, again in the "Tints" section, choose the 5th tint, eg. #eff9f8

Add them to the table(s) above as we figure them out. Main colour first; background colour second.

Modifications ToDo

  1. How to show a sub-department's parent, and that it belongs to the parent dept...
  2. Add "Acronym" to the list of fields??

Here is the entirety of the table, as it is used in an article:

{{Info Govt
|colour = #00ad93
|bgcolour = #eff9f8
|image  = [[img|Govt-Department-of-Health-and-Social-Care.png|160|123}}
|dept-type = Ministerial Department
|website   = [https://www.gov.uk/government/organisations/department-of-health Gov.uk Website]
|blurb     = The Department of Health and Social Care (DHSC) is responsible for govt policy on health and social care in England. It is supported by 28 agencies and public bodies.
|people-type = Ministers & Civil Servants
|people-list =
==== Ministers: ====
* [[Jeremy Hunt]], Secretary of State for Health and Social Care (''Health Secretary'')
* [[Stephen Barclay]], Minister of State for Health (''Health Minister'')
* [[Steve Brine]], Parliamentary Under Secretary of State for Public Health and Primary Care
* ... ...
==== Civil Servants: ====
* [[Chris Wormald|Sir Chris Wormald]] KCB, Permanent Secretary
|agency-type-1 = [[#High Profile Groups|High Profile Groups]]
|agency-type-0 =
* [[#Healthcare UK|Healthcare UK]]
* ... ...
|agency-type-1 = [[#Executive Agencies|Executive Agencies]]
|agency-list-1 =
* [[#Medicines and Healthcare Products Regulatory Agency|Medicines and Healthcare Products Regulatory Agency]]
* [[#Public Health England|Public Health England]]
|agency-type-2 = [[#Executive N/D Public Bodies|Executive N/D Public Bodies]]
|agency-list-2 =
* [[#Care Quality Commission (CQC)|Care Quality Commission (CQC)]]
* [[#Health Education England|Health Education England]]
* [[#Health Research Authority|Health Research Authority]]
* [[#Human Fertilisation and Embryology Authority (HFEA)|Human Fertilisation and Embryology Authority (HFEA)]]
* ... ...
|agency-type-3 = [[#Advisory N/D Public Bodies|Advisory N/D Public Bodies]]
|agency-list-3 =
* [[#Administration of Radioactive Substances Advisory Committee|Administration of Radioactive Substances Advisory Committee]]
* [[#Commission on Human Medicines|Commission on Human Medicines]]
* [[#NHS Pay Review Body|NHS Pay Review Body]]
* [[#Advisory Committee on Clinical Excellence Awards|Advisory Committee on Clinical Excellence Awards]]
* ... ...
|agency-type-4 = [[#Other Bodies|Other Bodies]]
|agency-list-4 =
* [[#Accelerated Access Review|Accelerated Access Review]]
* [[#Morecambe Bay Investigation|Morecambe Bay Investigation]]
* ... ...
|wp-page = {{wpl|Department of Health and Social Care}}
}}

Timeline

Use the same format as in Department_for_Business,_Energy_and_Industrial_Strategy#Timeline.