Template:MediaColourH
From Lolitics Wiki
Jump to navigationJump to searchA parser that takes a media company name and returns the brighter company colour for use in table headers.
Template Usage[edit source]
MediaColourH takes a single parameter, a company name, and returns the html colour code for that company's colour.
For instance,
{{MediaColourH|The BBC}}
gives you
#EE4343
This is pretty useless on its own, but handy for setting backgrounds on table cells:
{| class="paddedcell bumpytable" |- style="background:{{MediaColourH|The BBC}};" ! The BBC |}
The BBC |
---|
Parameter values must be taken from this arbitrary list with absolute precision, otherwise the parser will return the colour code for grey.
- The BBC
- Sky News
- Channel 4
- The Guardian
- The Times
- The Daily Mail
- The Independent
- The Telegraph
- The Sun