Difference between revisions of "User:Meskarune/Template:application"

From ArchWiki
Jump to: navigation, search
(updated example text)
(fixed manpage example code in documentation)
Line 35: Line 35:
 
| configfile=/etc/mysql/my.cnf
 
| configfile=/etc/mysql/my.cnf
 
| configexamples=/usr/share/mysql/
 
| configexamples=/usr/share/mysql/
| usergroup=mysql:mysql|manpage=mysql
+
| usergroup=mysql:mysql
 
| manpage={{man|1|mysql}}
 
| manpage={{man|1|mysql}}
 
| updocurl=https://mariadb.com/kb/en/mariadb/documentation/
 
| updocurl=https://mariadb.com/kb/en/mariadb/documentation/

Revision as of 16:00, 10 August 2018

Comment: See Help talk:Template#New Template Application.

An 'application' info box used to display important package information succinctly.

Usage

{{User:meskarune/Template:application
| packagename=mariadb
| upstreamurl=https://downloads.mariadb.org/
| upstreamname=MariaDB Downloads
| description=database server
| servicefile=mariadb.service
| configfile=/etc/mysql/my.cnf
| configexamples=/usr/share/mysql/
| usergroup=mysql:mysql
| manpage={{man|1|mysql}}
| updocurl=https://mariadb.com/kb/en/mariadb/documentation/
| updocname=mariadb.com
}}

Example

The info box to the right is the above example code live.

Application

Item Description
Arch Package mariadb
Upstream Package MariaDB Downloads
Description database server
Systemd Service mariadb.service
Config Path /etc/mysql/my.cnf
Config Examples /usr/share/mysql/
User and Group mysql:mysql
Man Page(s) mysql(1)
Upstream Documentation mariadb.com