User:Layer-09/Sandbox/Infobox Emacs: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{User:Layer-09/Sandbox/Infobox Emacs/Content | {{User:Layer-09/Sandbox/Infobox Emacs/Content | ||
|clip | | clip = {{{clip|}}} | ||
|title | | title = {{{title|}}} | ||
|image | | image = {{{image|}}} | ||
| | | content = {{{content|}}} | ||
| footer = {{{footer|}}} | |||
|footer | |||
}} | }} | ||
</includeonly> | </includeonly> | ||
<noinclude> | |||
<!-- | |||
This is the demo/documentation block. It does NOT appear when another | |||
page calls {{User:Layer-09/Sandbox/Infobox Emacs|…}}. | |||
--> | |||
== Usage Example == | |||
== Example | Paste this on any article (e.g. “Emacs”): | ||
Paste this | |||
<pre> | <pre> | ||
{{User:Layer-09/Sandbox/Infobox Emacs | {{User:Layer-09/Sandbox/Infobox Emacs | ||
| title | | clip = 1 | ||
| image | | title = Emacs | ||
| | | image = EmacsIcon.svg | ||
| content = | |||
<!-- replace this <ul>…</ul> with whatever HTML/wikitext content you need --> | |||
<ul> | |||
<li>Developer: [[Free Software Foundation]]</li> | |||
<li>Initial release: 1976</li> | |||
<li>Latest release: 29.2 (April 12 2024)</li> | |||
| footer | <li>Written in: C, Emacs Lisp</li> | ||
<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 12:32, 5 June 2025
Usage Example
Paste this on any article (e.g. “Emacs”):
{{User:Layer-09/Sandbox/Infobox Emacs | clip = 1 | title = Emacs | image = EmacsIcon.svg | content = <!-- replace this <ul>…</ul> with whatever HTML/wikitext content you need --> <ul> <li>Developer: [[Free Software Foundation]]</li> <li>Initial release: 1976</li> <li>Latest release: 29.2 (April 12 2024)</li> <li>Written in: C, Emacs Lisp</li> <li>OS: Cross‑platform</li> <li>License: [[GNU General Public License]]</li> </ul> | footer = [https://www.gnu.org/software/emacs gnu.org/emacs] }}
- Notes:*
1. The `clip` parameter controls whether the “slanted” separator appears (`clip` nonempty → clipped; blank/omitted → straight). 2. Everything inside `` is what actually gets transcluded; the `` block here is only visible if you open this page directly.