Vorlage:LabelCheckGreenpeaceAT: Unterschied zwischen den Versionen

Aus BrandWiki
Wechseln zu:Navigation, Suche
imported>Ahoi
imported>Ahoi
Zeile 24: Zeile 24:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>{{#set:LabelCheckValue={{{Value|}}}}}{{#set:LabelCheckReason={{{Reason|}}}}}<div class="labelcheck {{{Value|}}}">
 
</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}}<br />
+
<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 />
+
''{{{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>

Version vom 7. Mai 2019, 14:12 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 Edit the page to see the template text.