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

From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary
(Changed colors for readability of links)
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div align="left" style="width:21em; float:right; border:  
<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 -->
<!-- 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|}}} }}
Line 12: Line 12:
|libraryobjects = #7d0bde
|libraryobjects = #7d0bde
|others        = #db0b79
|others        = #db0b79
|WhiteSmoke
|Lightgrey
}}
}}
  solid 4px; border-radius: 10px; margin:1%; background-color:#242424; font-family: monospace; color: white;">
  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:#3a3a3a; border-radius: 5px 5px 0 0; padding: 0.2em 0.5em;">{{{title|{{{name|{{PAGENAME}}}}}}}}
<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>


<div style="padding: 0.3em 1em;">
<div style="padding: 0.3em 1em;">
{{#if:{{{short-descr|}}}|{{{short-descr|}}}}}
{{{short-descr|}}}
</div>
<hr>
 
{| cellspacing="10em" style="width: 100%;"
</div>
|-
! style="width: 30%"|
|
|-
<noinclude>
|}
</div></div>
</noinclude>

Latest revision as of 10:23, 4 January 2022

Infobox-MSFS-Script-Element