User:Layer-09/Sandbox/Infobox Emacs: Difference between revisions

Layer-09 (talk | contribs)
No edit summary
Layer-09 (talk | contribs)
No edit summary
Line 27: Line 27:
   border-radius: var(--infobox-border-radius);
   border-radius: var(--infobox-border-radius);
   overflow-y: hidden;
   overflow-y: hidden;
   width: 50em; /* Increased width */
   width: 32em; /* Increased width */
   float: right;
   float: right;
   clear: right;
   clear: right;
Line 68: Line 68:
       {{#if: {{{os|}}} | <tr><th style="text-align: left; vertical-align: top; padding: 0.1em 0; color: var(--infobox-title-color); white-space: nowrap; width: 1px;">OS</th><td style="padding: 0.1em 0;">{{{os}}}</td></tr> }}
       {{#if: {{{os|}}} | <tr><th style="text-align: left; vertical-align: top; padding: 0.1em 0; color: var(--infobox-title-color); white-space: nowrap; width: 1px;">OS</th><td style="padding: 0.1em 0;">{{{os}}}</td></tr> }}
       {{#if: {{{license|}}} | <tr><th style="text-align: left; vertical-align: top; padding: 0.1em 0; color: var(--infobox-title-color); white-space: nowrap; width: 1px;">License</th><td style="padding: 0.1em 0;">{{{license}}}</td></tr> }}
       {{#if: {{{license|}}} | <tr><th style="text-align: left; vertical-align: top; padding: 0.1em 0; color: var(--infobox-title-color); white-space: nowrap; width: 1px;">License</th><td style="padding: 0.1em 0;">{{{license}}}</td></tr> }}
      {{#if: {{{filename_extensions|}}} | <tr><th style="text-align: left; vertical-align: top; padding: 0.1em 0; color: var(--infobox-title-color); white-space: nowrap; width: 1px;">Filename extensions</th><td style="padding: 0.1em 0;">{{{filename_extensions}}}</td></tr> }}
{{#if: {{{filename|}}} |  
<tr>
  <th style="text-align: left; vertical-align: top; padding: 0.1em 0; color: var(--infobox-title-color); white-space: nowrap; width: 1px;">
    Filename
  </th>
  <td style="padding: 0.1em 0;">{{{filename}}}</td>
</tr>  
}}
       {{#if: {{{website|}}} | <tr><th style="text-align: left; vertical-align: top; padding: 0.1em 0; color: var(--infobox-title-color);">Website</th><td style="padding: 0.1em 0;">{{{website}}}</td></tr> }}
       {{#if: {{{website|}}} | <tr><th style="text-align: left; vertical-align: top; padding: 0.1em 0; color: var(--infobox-title-color);">Website</th><td style="padding: 0.1em 0;">{{{website}}}</td></tr> }}
     </table>
     </table>
Line 91: Line 98:
  | os                      = Cross-platform
  | os                      = Cross-platform
  | license                = [[GNU General Public License]]
  | license                = [[GNU General Public License]]
  | filename_extensions    = .el, .elc, .eln
  | filename                = .el, .elc, .eln
  | website                = [https://www.gnu.org/software/emacs gnu.org/emacs]
  | website                = [https://www.gnu.org/software/emacs gnu.org/emacs]
}}
}}
</pre>
</pre>
</noinclude>
</noinclude>