Template:Infobox-MSFS-Script-Element: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
m (capitalization)
m (Added category color data)
Line 1: Line 1:
<div align="left" style="float:right; border:  
<div align="left" style="float:right; border:  
<!-- Border color depends on category (from msfs script editor). See: https://en.wikipedia.org/wiki/Help:Conditional_expressions#Using_#switch -->
{{#switch: {{lc:{{{category|}}} }}
{{#switch: {{lc:{{{category|}}} }}
|triggers = #1e49bf
|edition        = #efe9b7
|actions        = #973919
|areas          = #12693f
|missions      = #e8c00d
|simobjects    = #e8c00d
|triggers       = #1e49bf
|rtc            = #808080
|flightplan    = #808080
|libraryobjects = #7d0bde
|others        = #db0b79
|WhiteSmoke
|WhiteSmoke
}}
}}

Revision as of 10:49, 2 October 2021

Infobox-MSFS-Script-Element