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

From ArchWiki
Jump to: navigation, search
(it's not a template yet, link relevant discussion)
(changed name parameter to have man template to test)
Line 17: Line 17:
 
| User and Group || {{{usergroup|{{{8|{{META Error}}}}}}}}
 
| User and Group || {{{usergroup|{{{8|{{META Error}}}}}}}}
 
|-
 
|-
| Man Page(s) || {{man|1|{{{manpage|{{{9|{{META Error}}}}}}}}}}
+
| Man Page(s) || {{{manpage|{{{9|{{META Error}}}}}}}}
 
|-
 
|-
 
| Upstream Documentation || [{{{updocurl|{{{10|{{META Error}}}}}}}} {{{updocname|{{{11|{{META Error}}}}}}}}]
 
| Upstream Documentation || [{{{updocurl|{{{10|{{META Error}}}}}}}} {{{updocname|{{{11|{{META Error}}}}}}}}]
Line 54: Line 54:
 
| configexamples=/usr/share/mysql/
 
| configexamples=/usr/share/mysql/
 
| usergroup=mysql:mysql|manpage=mysql
 
| usergroup=mysql:mysql|manpage=mysql
| manpage=mysql
+
| manpage={{man|1|mysql}}
 
| updocurl=https://mariadb.com/kb/en/mariadb/documentation/
 
| updocurl=https://mariadb.com/kb/en/mariadb/documentation/
 
| updocname=mariadb.com
 
| updocname=mariadb.com

Revision as of 15:57, 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=mysql
| manpage=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