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 2: Line 2:
<div class="nix-wiki infobox" style="
<div class="nix-wiki infobox" style="
   --infobox-color: rgb(82, 119, 195);
   --infobox-color: rgb(82, 119, 195);
   --infobox-background: #f9f9f9; /* Changed to light grey */
   --infobox-background: #f9f9f9;


   --infobox-border-color: var(--infobox-color);
   --infobox-border-color: var(--infobox-color);
Line 23: Line 23:
   border-radius: var(--infobox-border-radius);
   border-radius: var(--infobox-border-radius);
   overflow-y: hidden;
   overflow-y: hidden;
  width: 22em; /* Adjusted width here */
">
">
   <div class="nix-wiki infobox-header" style="
   <div class="nix-wiki infobox-header" style="
Line 36: Line 37:
     ">{{{title}}}</p>
     ">{{{title}}}</p>
     <div class="nix-wiki infobox-image">[[File:{{{image}}}|frameless|upright=0.5]]</div>
     <div class="nix-wiki infobox-image">[[File:{{{image}}}|frameless|upright=0.5]]</div>
     {{#if: {{{image_caption|}}} | <p style="font-size: 85%; margin-top: 0.5em; margin-bottom: 0;">{{{image_caption}}}</p> }}
     <!-- Image caption removed as per request -->
   </div>
   </div>


Line 48: Line 49:
   <div class="nix-wiki infobox-content" style="
   <div class="nix-wiki infobox-content" style="
     padding: var(--infobox-content-padding);
     padding: var(--infobox-content-padding);
     background-color: var(--infobox-background); /* Uses the light grey variable */
     background-color: var(--infobox-background);
     text-align: left;
     text-align: left;
     font-size: var(--infobox-content-size);
     font-size: var(--infobox-content-size);
Line 79: Line 80:
  | title                  = Emacs
  | title                  = Emacs
  | image                  = EmacsIcon.svg
  | image                  = EmacsIcon.svg
| image_caption          = Emacs logo
  | paradigm                = Functional, meta, reflective
  | paradigm                = Functional, meta, reflective
  | family                  = Lisp
  | family                  = Lisp

Revision as of 13:17, 5 June 2025


Example Usage

Paste this into a page to see the infobox:

{{User:Layer-09/Sandbox/Infobox Emacs
 | title                   = 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
 | typing_discipline       = Dynamic, strong
 | scope                   = Dynamic, optionally lexical
 | platform                = Emacs
 | os                      = Cross-platform
 | license                 = [[GNU General Public License]]
 | filename_extensions     = .el, .elc, .eln
 | website                 = [https://www.gnu.org/software/emacs gnu.org/emacs]
}}