Vorlage:LabelCheckGreenpeaceAT: Unterschied zwischen den Versionen

Aus BrandWiki
Wechseln zu:Navigation, Suche
imported>Ahoi
imported>Ahoi
Zeile 22: Zeile 22:
 
</pre>
 
</pre>
 
{{LabelCheckGreenpeaceAT2018|Value=05}}
 
{{LabelCheckGreenpeaceAT2018|Value=05}}
Edit the page to see the template text.
+
 
</noinclude><includeonly>{{#set:LabelCheckValue={{{Value|}}}}}{{#set:LabelCheckReason={{{Reason|}}}}}<div class="labelcheck {{{Value|}}}">
+
These are the colors:
<span class="glyphicon glyphicon-leaf" style="font-size: larger; color: {{#switch:{{{Value|}}}|00=#FF6B42|01=#FBB38A|02=#E8E288|03=#ACC18A|05=#417B5A}};" aria-hidden="true"></span> {{#switch:{{{Value|}}}|00=NOT trustworthy|01=little trustworthy and sustainable|02=limited trustworthy and sustainable|03=sustainable and trustworthy|05=VERY sustainable and trustworthy}}{{#if:{{{Reason|}}}|<br />
+
 
''{{{Reason}}}''}}<br />
 
 
[[Greenpeace Austria LabelCheck|<span class="glyphicon glyphicon-leaf" style="color:#FF6B42;" aria-hidden="true"></span>
 
[[Greenpeace Austria LabelCheck|<span class="glyphicon glyphicon-leaf" style="color:#FF6B42;" aria-hidden="true"></span>
 
<span class="glyphicon glyphicon-leaf" style="color:#FBB38A;" aria-hidden="true"></span>
 
<span class="glyphicon glyphicon-leaf" style="color:#FBB38A;" aria-hidden="true"></span>
 
<span class="glyphicon glyphicon-leaf" style="color:#E8E288;" aria-hidden="true"></span>
 
<span class="glyphicon glyphicon-leaf" style="color:#E8E288;" aria-hidden="true"></span>
 
<span class="glyphicon glyphicon-leaf" style="color:#ACC18A;" aria-hidden="true"></span>
 
<span class="glyphicon glyphicon-leaf" style="color:#ACC18A;" aria-hidden="true"></span>
<span class="glyphicon glyphicon-leaf" style="color:#417B5A;" aria-hidden="true"></span>]]</div>
+
<span class="glyphicon glyphicon-leaf" style="color:#417B5A;" aria-hidden="true"></span>]]
 +
 
 +
</noinclude><includeonly>{{#set:LabelCheckValue={{{Value|}}}}}{{#set:LabelCheckReason={{{Reason|}}}}}<div class="labelcheck {{{Value|}}}">
 +
<span class="glyphicon glyphicon-leaf" style="font-size: larger; color: {{#switch:{{{Value|}}}|00=#FF6B42|01=#FBB38A|02=#E8E288|03=#ACC18A|05=#417B5A}};" aria-hidden="true"></span> {{#switch:{{{Value|}}}|00=NOT trustworthy|01=little trustworthy and sustainable|02=limited trustworthy and sustainable|03=sustainable and trustworthy|05=VERY sustainable and trustworthy}}{{#if:{{{Reason|}}}|<br />
 +
''{{{Reason}}}''}}</div>
 
</includeonly>
 
</includeonly>
 
<noinclude>[[Category:LabelCheck form]]</noinclude>
 
<noinclude>[[Category:LabelCheck form]]</noinclude>

Version vom 7. Mai 2019, 14:14 Uhr

How to use

This template defines the Greenpeace Austria LabelCheck. Do not use this template by itself, it is used in the brand form.

{{LabelCheckGreenpeaceAT2018|Value=00|Reason=This is the reason}}

Vorlage:LabelCheckGreenpeaceAT2018

{{LabelCheckGreenpeaceAT2018|Value=01|Reason=This is the reason}}

Vorlage:LabelCheckGreenpeaceAT2018

{{LabelCheckGreenpeaceAT2018|Value=02|Reason=This is the reason}}

Vorlage:LabelCheckGreenpeaceAT2018

{{LabelCheckGreenpeaceAT2018|Value=03|Reason=}}

Vorlage:LabelCheckGreenpeaceAT2018

{{LabelCheckGreenpeaceAT2018|Value=05}}

Vorlage:LabelCheckGreenpeaceAT2018

These are the colors: