User:Layer-09/Sandbox/Infobox Emacs: Difference between revisions
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: 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|}}} | | |||
<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 = .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> |