Template:RachennPOIColor: Difference between revisions
Jump to navigation
Jump to search
TShinjitsu (talk | contribs) examples added |
TShinjitsu (talk | contribs) added inclement weather, changed color variable implement |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{STATUS|}}}|Danger=FA5F5F|Closed=545454|RoadClosed=545454|{{{ | <includeonly>{{#switch:{{{STATUS|}}}|InclementWeather=4F4FFF|Danger=FA5F5F|Closed=545454|RoadClosed=545454|{{{COLOR|}}}}}</includeonly><noinclude>Helper template. For use: | ||
See: | See: | ||
{| | {| | ||
|- | |- | ||
|<nowiki>{{RachennPOIColor| | |<nowiki>{{RachennPOIColor|COLOR=green|STATUS=Closed}}</nowiki> | ||
|style="background-color: #{{RachennPOIColor| | |style="background-color: #{{RachennPOIColor|COLOR=green|STATUS=Closed}}; color:white;"|Test | ||
|- | |- | ||
|<nowiki>{{RachennPOIColor| | |<nowiki>{{RachennPOIColor|COLOR=green|STATUS=Info}}</nowiki> | ||
|style="background-color: #{{RachennPOIColor| | |style="background-color: #{{RachennPOIColor|COLOR=green|STATUS=Info}};"|Test | ||
|- | |- | ||
|<nowiki>{{RachennPOIColor| | |<nowiki>{{RachennPOIColor|COLOR=green|STATUS=RoadClosed}}</nowiki> | ||
|style="background-color: #{{RachennPOIColor| | |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 |