User:Layer-09/Sandbox/Infobox Emacs: Difference between revisions
Appearance
No edit summary |
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: | width: 50em; /* 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: {{{ | {{#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;">Extensions</th><td style="padding: 0.1em 0;">{{{filename_extensions}}}</td></tr> }} | ||
<tr> | |||
</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 98: | Line 91: | ||
| os = Cross-platform | | os = Cross-platform | ||
| license = [[GNU General Public License]] | | license = [[GNU General Public License]] | ||
| | | filename_extensions = .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:06, 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]
}}