Jump to content

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

From Official NixOS Wiki
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>

Revision as of 14:00, 5 June 2025


Example Usage

Paste this into a page to see the infobox:

{{User:Layer-09/Sandbox/Infobox Emacs
 | title                   = GNU Emacs
 | image                   = EmacsIcon.svg
 | paradigm                = Functional, meta, reflective
 | family                  = Lisp
 | designed_by             = [[Richard Stallman]], [[Guy L. Steele, Jr.]]
 | developer               = [[GNU Project]]
 | first_appeared          = 1985; 40 years ago
 | stable_release          = 29.4 / 22 June 2024; 11 months ago
 | os                      = Cross-platform
 | license                 = [[GNU General Public License]]
 | filename                = .el, .elc, .eln
 | website                 = [https://www.gnu.org/software/emacs gnu.org/emacs]
}}