Template:RachennPOIColor: Difference between revisions

From Stellar Kennings
Jump to navigation Jump to search
examples added
added inclement weather, changed color variable implement
Line 1: Line 1:
<includeonly>{{#switch:{{{STATUS|}}}|Danger=FA5F5F|Closed=545454|RoadClosed=545454|{{{BGCOLOR|}}}}}</includeonly><noinclude>Helper template. For use:
<includeonly>{{#switch:{{{STATUS|}}}|InclementWeather=4F4FFF|Danger=FA5F5F|Closed=545454|RoadClosed=545454|{{{COLOR|}}}}}</includeonly><noinclude>Helper template. For use:
See:
See:
{|
{|
|-
|-
|<nowiki>{{RachennPOIColor|BGCOLOR=green|STATUS=Closed}}</nowiki>
|<nowiki>{{RachennPOIColor|COLOR=green|STATUS=Closed}}</nowiki>
|style="background-color: #{{RachennPOIColor|BGCOLOR=green|STATUS=Closed}}; color:white;"|Test
|style="background-color: #{{RachennPOIColor|COLOR=green|STATUS=Closed}}; color:white;"|Test
|-
|-
|<nowiki>{{RachennPOIColor|BGCOLOR=green|STATUS=Info}}</nowiki>
|<nowiki>{{RachennPOIColor|COLOR=green|STATUS=Info}}</nowiki>
|style="background-color: #{{RachennPOIColor|BGCOLOR=green|STATUS=Info}};"|Test
|style="background-color: #{{RachennPOIColor|COLOR=green|STATUS=Info}};"|Test
|-
|-
|<nowiki>{{RachennPOIColor|BGCOLOR=green|STATUS=RoadClosed}}</nowiki>
|<nowiki>{{RachennPOIColor|COLOR=green|STATUS=RoadClosed}}</nowiki>
|style="background-color: #{{RachennPOIColor|BGCOLOR=green|STATUS=RoadClosed}}; color: white;"|Test
|style="background-color: #{{RachennPOIColor|COLOR=green|STATUS=RoadClosed}}; color: white;"|Test
|-
|-
|}
|}
</noinclude>
</noinclude>

Revision as of 13:27, 8 November 2025

Helper template. For use: See:

{{RachennPOIColor|COLOR=green|STATUS=Closed}} Test
{{RachennPOIColor|COLOR=green|STATUS=Info}} Test
{{RachennPOIColor|COLOR=green|STATUS=RoadClosed}} Test