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

From ArchWiki
Jump to: navigation, search
(fixed manpage example code in documentation)
(added a second manpage in example so people can see how to add more than one)
 
Line 36: Line 36:
 
| configexamples=/usr/share/mysql/
 
| configexamples=/usr/share/mysql/
 
| usergroup=mysql:mysql
 
| usergroup=mysql:mysql
| manpage={{man|1|mysql}}
+
| manpage={{man|1|mysql}} {{man|1|mysql|server}}
 
| updocurl=https://mariadb.com/kb/en/mariadb/documentation/
 
| updocurl=https://mariadb.com/kb/en/mariadb/documentation/
 
| updocname=mariadb.com
 
| updocname=mariadb.com
Line 54: Line 54:
 
| configexamples=/usr/share/mysql/
 
| configexamples=/usr/share/mysql/
 
| usergroup=mysql:mysql|manpage=mysql
 
| usergroup=mysql:mysql|manpage=mysql
| manpage={{man|1|mysql}}
+
| manpage={{man|1|mysql}} {{man|1|mysql|server}}
 
| updocurl=https://mariadb.com/kb/en/mariadb/documentation/
 
| updocurl=https://mariadb.com/kb/en/mariadb/documentation/
 
| updocname=mariadb.com
 
| updocname=mariadb.com

Latest revision as of 16:02, 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}} {{man|1|mysql|server}}
| 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) mysql(1)
Upstream Documentation mariadb.com