Difference between revisions of "Template:Package"

From WikEmacs
Jump to navigation Jump to search
Line 17: Line 17:
 
   }}
 
   }}
 
|{{#if: {{{el_get}}}||NULL}}label6 = El-Get
 
|{{#if: {{{el_get}}}||NULL}}label6 = El-Get
|{{#if: {{{el_get}}}||NULL}}data6 = {{{el_get}}}
+
|{{#if: {{{el_get}}}||NULL}}data6 = [https://github.com/dimitri/el-get/blob/master/recipes/{{{el-get}}}.rcp {{{el_get}}}]
 
|{{#if: {{{melpa}}}||NULL}}label7 = MELPA
 
|{{#if: {{{melpa}}}||NULL}}label7 = MELPA
|{{#if: {{{melpa}}}||NULL}}data7 = {{{melpa}}}
+
|{{#if: {{{melpa}}}||NULL}}data7 = [https://github.com/melpa/melpa/blob/master/recipes/{{{melpa}}} {{{melpa}}}]
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
  

Revision as of 20:30, 24 October 2016


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
  • author - Author Name
  • maintainer - The maintainer
  • source - Where the source code lives
  • (optional) in_emacs - When the package was included in emacs
  • (optional) el_get - El-Get package name, if it differs from name
  • (optional) melpa - MELPA package name, if it differs from name


edit-server.el
Description Provide an edit server for Chrom(ium) browser extensions
Author Alex Bennée
Maintainer Alex Bennée
Source https://github.com/stsquad/emacs_chrome/blob/master/servers/edit-server.el
Part of Emacs No
El-Get {{{el_get}}}
MELPA {{{melpa}}}

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
|author=Alex Bennée
|maintainer=Alex Bennée
|in_emacs=No
|source=https://github.com/stsquad/emacs_chrome/blob/master/servers/edit-server.el
}}