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: | <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 | ||
| | |Lightgrey | ||
}} | }} | ||
solid 4px; border-radius: 10px; margin: | 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:# | <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;"> | ||
{{{short-descr|}}} | |||
</div> | <hr> | ||
{| cellspacing="10em" style="width: 100%;" | |||
</ | |- | ||
! style="width: 30%"| | |||
| | |||
|- | |||
<noinclude> | |||
|} | |||
</div></div> | |||
</noinclude> | |||
Latest revision as of 10:23, 4 January 2022
Infobox-MSFS-Script-Element