Changes

Jump to navigation Jump to search
1,191 bytes added ,  07:25, 28 March 2012
Initial attempt at a template
<noinclude>
== What the template looks like ==
</noinclude>
<!-- Package Template -->
{| style="padding:5px; border:1px solid #ffcc00; text-align:center; background:#FFFDDF; width:100%; margin-bottom:.2em;"
| '''Package:''' This describes an Emacs Package.
|}
<!--Summary Infobox -->
{{Infobox
| title = {{#if: {{{name|}}} | {{{name}}} |'''package name''' }}
| {{#if: {{{description|}}}||NULL}}label1 = description
| {{#if: {{{description|}}}||NULL}}data1 = {{{description}}}
}}
<!-- Add to a set of categories, only if included in a page -->
<includeonly>
[[Category:Emacs Package]]
</includeonly>
<noinclude>
<!-- This stuff is only included when looking at the template page itself -->
== Usage ==

This template is used for adding a Emacs Packages to the wiki and formating a nice bit of boiler plate and auto-categorisation. Parameters include:

* name - Name of package
* description - One line description
* maintainer - The maintainer
* source - Where the source code lives

For example:

<pre>
{{Package
|name=Edit with Emacs
|description=Edit text areas via Chrom(ium) browsers
|maintainer=Alex Bennée |source=https://github.com/stsquad/emacs_chrome
}}
</pre>
35

edits

Navigation menu