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

From WikiCorporates
Jump to navigation Jump to search
m (→‎Images, Colours and Sizes)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Breadcrumbs|[[Template:Info Govt]]|Docs}}
 
{{TOC right|limit=3}}
 
{{TOC right|limit=3}}
−
<small><< [[Template:Info Govt|Template]]</small> This is a template for Govt Ministries and Departments.
+
Template for Govt Ministries and Departments.
 +
 
 
==== Working Examples ====
 
==== Working Examples ====
 
* Ministerial Dept: [[DHSC]]
 
* Ministerial Dept: [[DHSC]]
Line 8: Line 10:
  
 
== Images, Colours and Sizes ==
 
== 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:
 
Sizes:
 
* 3-liner: if last line has no descenders, then '''h = 100''' else '''h = 104'''
 
* 3-liner: if last line has no descenders, then '''h = 100''' else '''h = 104'''
Line 14: Line 20:
 
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 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/>
 
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
+
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=
 
{{TblOneCell|title=Ministerial Departments|content=
 
{{Columns|width=20em|lst=square|content=
 
{{Columns|width=20em|lst=square|content=
 
<li>Default colour: {{tc|#808080;|#808080;}}</li>
 
<li>Default colour: {{tc|#808080;|#808080;}}</li>
−
<li>[[Cabinet Office]]: {{tc|#005abb|#005abb}}</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>[[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>[[DCMS|Dept for Digital, Culture, Media & Sport]]: {{tc|#d40072|#d40072}}</li>
Line 24: Line 30:
 
<li>[[DEFRA|Dept for Environment, Food & Rural Affairs]]: {{tc|#00a33b|#00a33b}}</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>[[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}}</li>
+
<li>[[DHSC|Dept of Health & Social Care]]: {{ColorBox|#00ad93|#00ad93|#ffffff|border=#00ad93}} + {{ColorBox|#eff9f8|#eff9f8|#000000}}</li>
−
<li>[[Dept for International Development]]: {{tc|#002878|#002878}}</li>
+
<li>[[DfID|Dept for International Development]]: {{tc|#002878|#002878}}</li>
 
<li>[[DfIT|Dept for International Trade]]: {{tc|#cf102d|#cf102d}}</li>
 
<li>[[DfIT|Dept for International Trade]]: {{tc|#cf102d|#cf102d}}</li>
 
<li>[[DWP|Dept for Work & Pensions]]: {{tc|#00beb7|#00beb7}}</li>
 
<li>[[DWP|Dept for Work & Pensions]]: {{tc|#00beb7|#00beb7}}</li>
Line 48: Line 54:
 
{{TblOneCell|title=Non-Ministerial Departments|content=
 
{{TblOneCell|title=Non-Ministerial Departments|content=
 
{{Columns|width=20em|lst=square|content=
 
{{Columns|width=20em|lst=square|content=
−
<li>Food Standards Agency: {{ColorBox|#007749|#007749|#ffffff|border=#007749}} + {{ColorBox|#eff6f3|#eff6f3}}</li>
+
<li>Food Standards Agency: {{ColorBox|#007749|#007749|#ffffff|border=#007749}} + {{ColorBox|#eff6f3|#eff6f3|#000000}}</li>
 
}}
 
}}
 
}}
 
}}
Line 65: Line 71:
  
 
==== Band Colours ====
 
==== Band Colours ====
−
I decided I didn't like the linear gradient, it's too flashy. Now 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 I'm currently following:
+
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
 
# 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"
 
# 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 before white at the far right, ie. #e5f6f4
+
# 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
 
# On the next page, again in the "Tints" section, choose the 5th tint, eg. #eff9f8
−
Add them to the table(s) above as I figure them out. Main colour first; background colour second.
+
Add them to the table(s) above as we figure them out. Main colour first; background colour second.
  
 
==== Modifications ToDo ====
 
==== Modifications ToDo ====
Line 81: Line 87:
 
|colour = #00ad93
 
|colour = #00ad93
 
|bgcolour = #eff9f8
 
|bgcolour = #eff9f8
−
|image  = <img src="http://wikipolitiks.local/Images/Govt-Department-of-Health-and-Social-Care.png" width="160" height="123"/>
+
|image  = [[img|Govt-Department-of-Health-and-Social-Care.png|160|123}}
 
|dept-type = Ministerial Department
 
|dept-type = Ministerial Department
 
|website  = [https://www.gov.uk/government/organisations/department-of-health Gov.uk Website]
 
|website  = [https://www.gov.uk/government/organisations/department-of-health Gov.uk Website]
Line 128: Line 134:
 
Use the same format as in [[Department_for_Business,_Energy_and_Industrial_Strategy#Timeline]].
 
Use the same format as in [[Department_for_Business,_Energy_and_Industrial_Strategy#Timeline]].
  
−
<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.