Jump to content

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

From NixOS Wiki
Layer-09 (talk | contribs)
No edit summary
Layer-09 (talk | contribs)
Undo revision 22037 by Layer-09 (talk)
Tag: Undo
Line 1: Line 1:
<includeonly>
<includeonly>
{{User:Layer-09/Sandbox/Infobox Emacs/Content
{{User:Layer-09/Sandbox/Infobox Emacs/Content
   | clip   = {{{clip|}}}
   |clip                   = {{{clip|}}}
   | title   = {{{title|}}}
   |title                 = {{{title|}}}
   | image  = {{{image|}}}
   |image                 = {{{image|}}}
   | content = {{{content|}}}
  |developer              = {{{developer|}}}
   | footer = {{{footer|}}}
  |initial_release        = {{{initial_release|}}}
   |latest_release_version = {{{latest_release_version|}}}
  |latest_release_date    = {{{latest_release_date|}}}
  |programming_language  = {{{programming_language|}}}
  |operating_system      = {{{operating_system|}}}
   |license                = {{{license|}}}
   |footer                 = {{{footer|}}}
}}
}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<!--
== Example Usage ==
  This is the demo/documentation block.  It does NOT appear when another
Paste this into a page to see the infobox:
  page calls {{User:Layer-09/Sandbox/Infobox Emacs|…}}.
-->
 
== Usage Example ==
Paste this on any article (e.g. “Emacs”):


<pre>
<pre>
{{User:Layer-09/Sandbox/Infobox Emacs
{{User:Layer-09/Sandbox/Infobox Emacs
| clip    = 1
  | title                   = Emacs
  | title   = Emacs
  | image                   = EmacsIcon.svg
  | image   = EmacsIcon.svg
  | developer              = [[Free Software Foundation]]
  | content =  
| initial_release        = 1976
  <!-- replace this <ul>…</ul> with whatever HTML/wikitext content you need -->
| latest_release_version  = 29.2
  <ul>
| latest_release_date    = {{Start date and age|2024|04|12}}
    <li>Developer: [[Free Software Foundation]]</li>
| programming_language    = [[C (programming language)|C]], [[Emacs Lisp]]
    <li>Initial release: 1976</li>
| operating_system        = Cross-platform
    <li>Latest release: 29.2 (April 12 2024)</li>
| license                = [[GNU General Public License]]
    <li>Written in: C, Emacs Lisp</li>
  | footer                 = [https://www.gnu.org/software/emacs gnu.org/emacs]
    <li>OS: Cross‑platform</li>
    <li>License: [[GNU General Public License]]</li>
  </ul>
  | footer = [https://www.gnu.org/software/emacs gnu.org/emacs]
}}
}}
</pre>
</pre>
*Notes:* 
1. The `clip` parameter controls whether the “slanted” separator appears (`clip` nonempty → clipped; blank/omitted → straight). 
2. Everything inside `<includeonly>…</includeonly>` is what actually gets transcluded; the `<noinclude>` block here is only visible if you open this page directly.
</noinclude>
</noinclude>

Revision as of 13:10, 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
 | developer               = [[Free Software Foundation]]
 | initial_release         = 1976
 | latest_release_version  = 29.2
 | latest_release_date     = {{Start date and age|2024|04|12}}
 | programming_language    = [[C (programming language)|C]], [[Emacs Lisp]]
 | operating_system        = Cross-platform
 | license                 = [[GNU General Public License]]
 | footer                  = [https://www.gnu.org/software/emacs gnu.org/emacs]
}}