Difference between revisions of "Template:Package"

From WikEmacs
Jump to navigation Jump to search
(commented out, FIXME)
Line 10: Line 10:
 
| {{#if: {{{in_emacs|}}}||NULL}}label4  = Part of Emacs since
 
| {{#if: {{{in_emacs|}}}||NULL}}label4  = Part of Emacs since
 
| {{#if: {{{in_emacs|}}}||NULL}}data4  = {{#if: {{{in_emacs|}}}|{{in_emacs}}}}
 
| {{#if: {{{in_emacs|}}}||NULL}}data4  = {{#if: {{{in_emacs|}}}|{{in_emacs}}}}
}}
+
}}</includeonly><noinclude>
</includeonly><noinclude>
 
  
<!-- Add to a category
 
[[Category:{{category|Emacs Package}}]]
 
-->
 
 
<!-- This stuff is only included when looking at the template page itself -->
 
  
 
== Usage ==
 
== Usage ==

Revision as of 20:20, 29 March 2012


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
  • (optional) in_emacs - When the package was included in emacs


edit-server.el
Description Provide an edit server for Chrom(ium) browser extensions
Maintainer Alex Bennée
Source Code https://github.com/stsquad/emacs_chrome/blob/master/servers/edit-server.el

By using this template to declare a package you automatically include the page in the Emacs Package category

The sample box shown here is defined using:

{{Package
|name=edit-server.el
|description=Provide an edit server for Chrom(ium) browser extensions
|maintainer=Alex Bennée
|source=https://github.com/stsquad/emacs_chrome/blob/master/servers/edit-server.el
}}