Difference between revisions of "Template:IM-Lookup"

From WikiCorporates
Jump to navigation Jump to search
m
m
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
{{#switch:{{{page}}}
+
{{#switch:{{{1}}}
−
|IM=<tr><td>[[{{{title}}}]]</td><td style="text-align:center;">{{img|{{{png}}}|{{{pw}}}|{{{ph}}}|float=none}}</td><td>{{ColorBox|{{{perf-col}}}|Performance: {{{perf}}}}}</td><td>{{ColorBox|{{{org-col}}}|Organisation: {{{org}}}}}</td><td>{{ColorBox|{{{rel-col}}}|Relationship: {{{rel}}}}}</td><td>{{ColorBox|{{{eng-col}}}|Engagement: {{{eng}}}}}</td><td>[{{{link}}} IM page]</td></tr>
+
|A+=#68b53f
−
|Org=[[{{{title}}}]] {{img|Influence-Map-IM.svg|30|30|float=none}}&nbsp;({{{rep-date}}})<ref name="{{{ref}}}"/> {{ColorBox|{{{perf-col}}}|Performance: {{{perf}}}}} {{ColorBox|{{{org-col}}}|Organisation: {{{org}}}}} {{ColorBox|{{{rel-col}}}|Relationship: {{{rel}}}}} {{ColorBox|{{{eng-col}}}|Engagement: {{{eng}}}}} [{{{link}}} IM page]
+
|A=#6bb64f
−
|#default=<b>Error in Template:IMap</b>
+
|A-=#6fb965
−
}}
+
|B+=#72bc7d
 +
|B=#76c199
 +
|B-=#79c4b1
 +
|C+=#7ec9ca
 +
|C=#81ccdd
 +
|C-=#82ceed
 +
|D+=#85cff2
 +
|D=#92cae3
 +
|D-=#a2c0cd
 +
|E+=#b0b3b5
 +
|E=#bea399
 +
|F=#e41b18
 +
|#default={{tc|No such band in [[Template:IM-Lookup]]}}
 +
}}<noinclude>{{doc2}}</noinclude>

Latest revision as of 14:18, 14 October 2018

No such band in Template:IM-Lookup

[edit] Documentation


A simple Lookup Table to return an InfluenceMap colour. Called from Template:ratings; only used there.

LookUp Colours

Corporate Performance colours:
 A+ - #68b53f      A  - #6bb64f      A- - #6fb965
 B+ - #72bc7d      B  - #76c199      B- - #79c4b1
 C+ - #7ec9ca      C  - #81ccdd      C- - #82ceed
 D+ - #85cff2      D  - #92cae3      D- - #a2c0cd
 E+ - #b0b3b5      E  - #bea399      E- - 
 F+ -              F  - #e41b18      F- - 
 

These colours are not in use, but holding onto them "just in case".

Organisation
 96% - #68b53f
 91 - 95%: #6bb64f
 87 - 90%: #6fb965
 81 - 85%: #72bc7d
 76 - 79%: #76c199
 71 - 73%: #79c4b1
 66 - 69%: #7ec9ca
 59 - 63%: #81ccdd
 52% - #85cff2
Relationship
 94% - #6bb64f
 71% - #79c4b1
 66% - #7ec9ca
 60 - 62%: #81ccdd
 57% - #82ceed
 52 - 55%: #85cff2
 46 - 48%: #92cae3
 41 - 45%: #a2c0cd
 38 - 40%: #b0b3b5
 35 - 36%: #b0b3b5
 34% - #bea399
 30% - #c8907e 
 28% - #41525c
Engagement
always #efefef