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

From ArchWiki
Jump to: navigation, search
(added number to manpage subtemplate)
(testing new lines in the template example)
Line 33: Line 33:
 
The info box to the right is the above example code live.
 
The info box to the right is the above example code live.
  
{{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|updocurl=https://mariadb.com/kb/en/mariadb/documentation/|updocname=mariadb.com}}
+
{{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
 +
}}
  
 
</noinclude>
 
</noinclude>

Revision as of 23:30, 9 August 2018

This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

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|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
Upstream Documentation mariadb.com