User:Layer-09/Sandbox/Infobox Emacs: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
/* Define specific paddings for better control over spacing */ | /* Define specific paddings for better control over spacing */ | ||
--infobox-header-vertical-padding: 0.3rem; | --infobox-header-vertical-padding: 0.3rem; | ||
--infobox-content-vertical-padding: 0.3rem; | --infobox-content-vertical-padding: 0.3rem; | ||
--infobox-horizontal-padding: 1rem; | --infobox-horizontal-padding: 1rem; | ||
Line 43: | Line 43: | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
">{{{title}}}</p> | ">{{{title}}}</p> | ||
<div class="nix-wiki infobox-image" style="margin: 0 auto;">[[File:{{{image}}}|frameless|upright=0.45]]</div | <div class="nix-wiki infobox-image" style="margin: 0 auto;">[[File:{{{image}}}|frameless|upright=0.45]]</div> | ||
</div> | </div> | ||
Line 66: | Line 66: | ||
{{#if: {{{first_appeared|}}} | <tr><th style="text-align: left; vertical-align: top; padding: 0.1em 0; color: var(--infobox-title-color); white-space: nowrap; width: 1px;">First appeared</th><td style="padding: 0.1em 0;">{{{first_appeared}}}</td></tr> }} | {{#if: {{{first_appeared|}}} | <tr><th style="text-align: left; vertical-align: top; padding: 0.1em 0; color: var(--infobox-title-color); white-space: nowrap; width: 1px;">First appeared</th><td style="padding: 0.1em 0;">{{{first_appeared}}}</td></tr> }} | ||
{{#if: {{{stable_release|}}} | <tr><th style="text-align: left; vertical-align: top; padding: 0.1em 0; color: var(--infobox-title-color); white-space: nowrap; width: 1px;">Stable release</th><td style="padding: 0.1em 0;">{{{stable_release}}}</td></tr> }} | {{#if: {{{stable_release|}}} | <tr><th style="text-align: left; vertical-align: top; padding: 0.1em 0; color: var(--infobox-title-color); white-space: nowrap; width: 1px;">Stable release</th><td style="padding: 0.1em 0;">{{{stable_release}}}</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: {{{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> }} | ||
Line 84: | Line 81: | ||
<pre> | <pre> | ||
{{User:Layer-09/Sandbox/Infobox Emacs | {{User:Layer-09/Sandbox/Infobox Emacs | ||
| title = Emacs | | title = GNU Emacs | ||
| image = EmacsIcon.svg | | image = EmacsIcon.svg | ||
| paradigm = Functional, meta, reflective | | paradigm = Functional, meta, reflective | ||
Line 92: | Line 89: | ||
| first_appeared = 1985; 40 years ago | | first_appeared = 1985; 40 years ago | ||
| stable_release = 29.4 / 22 June 2024; 11 months ago | | stable_release = 29.4 / 22 June 2024; 11 months ago | ||
| os = Cross-platform | | os = Cross-platform | ||
| license = [[GNU General Public License]] | | license = [[GNU General Public License]] |
Revision as of 13:26, 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_extensions = .el, .elc, .eln | website = [https://www.gnu.org/software/emacs gnu.org/emacs] }}