Difference between revisions of "Template:IM-Lookup/doc"

From WikiCorporates
Jump to navigation Jump to search
m
m
Line 57: Line 57:
 
always #efefef
 
always #efefef
 
</pre>
 
</pre>
−
 
−
 
−
=== Usage ===
 
−
<pre>
 
−
{{img
 
−
|image-name.png  - the filename of the image
 
−
|300            - width
 
−
|200            - height
 
−
|float          - optional. [left | right | none]. If left empty, the image will float right, with no margins unless specified.
 
−
|ml              - optional margin-left. If left empty, the default is 10px.
 
−
|mr              - optional margin-right. If left empty, the default is 10px.
 
−
|border          - optional border colour
 
−
|caption        - optional image caption
 
−
|round          - optionally round. Must use square images for this to work nicely.
 
−
}}
 
−
</pre>
 
−
 
−
=== Examples ===
 
−
Testing float=none, margin-left=8px, margin-right=20px:  XXXXX{{img|Compass-opt.svg|60|20|float=none|ml=8px|mr=20px}}XXXXX
 
−
 
−
<pre>{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080}}</pre>
 
−
Gives:
 
−
{{img|Financial-Weapons-of-Mass-Destruction.png|100|100|border=#808080}}
 
−
{{Clear}}
 
−
 
−
<pre>
 
−
{{img
 
−
|Toy-Factory-Wages.png
 
−
|200
 
−
|217
 
−
|border=red
 
−
|caption=[http://www.chrismadden.co.uk/cartoon-gallery/exploitation-of-factory-workers-in-the-developing-world/ Need to pay £4 for this]}}
 
−
</pre>
 
−
Gives:
 
−
{{img|Toy-Factory-Wages.png
 
−
|200|217
 
−
|border=red
 
−
|caption=[http://www.chrismadden.co.uk/cartoon-gallery/exploitation-of-factory-workers-in-the-developing-world/ Need to pay £4 for this]}}
 
  
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 08:49, 12 October 2018

<< Template:IMap

Template to create a list of InfluenceMap ratings.

For InfluenceMap page output

{{IMap|page=IM|title=|png=|pw=|ph=20|perf=|perf-col=|org=|org-col=|rel=|rel-col=|eng=|eng-col=#efefef|link=}}
Template:IMap


For the organisation's page output

{{IMap|page=Org|title=InfluenceMap|png=Influence-Map-IM.svg|pw=30|ph=30|rep-date=|ref=|perf=|perf-col=|org=|org-col=|rel=|rel-col=|eng=|eng-col=#efefef|link=}}

Corporate Support of Climate Policy

Template:IMap


LookUp Tables - Support for Climate Policy

Performance
 A  - #6bb64f
 A- - #6fb965
 B+ - #72bc7d
 B  - #76c199
 B- - #79c4b1
 C+ - #7ec9ca
 C  - #81ccdd
 C- - #82ceed
 D+ - #85cff2
 D  - #92cae3
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