Template:Infobox-MSFS-Script-Element: Difference between revisions
From FSDeveloper Wiki
Jump to navigationJump to search
m (capitalization) |
(Changed colors for readability of links) |
||
| (29 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div align="left" style=" | <div align="left" style="width: 40em; 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 | |||
|Lightgrey | |||
}} | }} | ||
solid 4px; border-radius: 10px; margin:1em; background-color:# | solid 4px; border-radius: 10px; margin:1em; background-color:#eaecf0; font-family: monospace;"> | ||
<div style="font-size: 120%; font-weight: bold; text-align: center; background-color:#d8dade; border-radius: 6px 6px 0 0; padding: 0.2em 0.5em;">{{{title|{{{name|{{PAGENAME}}}}}}}} | |||
</div> | |||
{{ | |||
} | |||
<div style="padding: 0.3em 1em;"> | |||
{{{short-descr|}}} | |||
<hr> | |||
{| cellspacing="10em" style="width: 100%;" | |||
|- | |||
! style="width: 30%"| | |||
| | |||
|- | |||
<noinclude> | |||
|} | |} | ||
</div> | </div></div> | ||
</noinclude> | |||
Latest revision as of 10:23, 4 January 2022
Infobox-MSFS-Script-Element