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

From ArchWiki
Jump to: navigation, search
m (put manpage on new lien)
(improved template readabililty and look)
Line 27: Line 27:
 
====Usage====
 
====Usage====
  
<pre><nowiki>{{User:meskarune/Template:application |
+
<pre><nowiki>{{User:meskarune/Template:application
packagename=mariadb |
+
| packagename=mariadb
upstreamurl=https://downloads.mariadb.org/ |
+
| upstreamurl=https://downloads.mariadb.org/
upstreamname=MariaDB Downloads |
+
| upstreamname=MariaDB Downloads
description=database server |
+
| description=database server
servicefile=mariadb.service |
+
| servicefile=mariadb.service
configfile=/etc/mysql/my.cnf |
+
| configfile=/etc/mysql/my.cnf
configexamples=/usr/share/mysql/ |
+
| configexamples=/usr/share/mysql/
usergroup=mysql:mysql |
+
| usergroup=mysql:mysql|manpage=mysql
manpage=mysql |
+
| manpage=mysql
updocurl=https://mariadb.com/kb/en/mariadb/documentation/ |
+
| updocurl=https://mariadb.com/kb/en/mariadb/documentation/
updocname=mariadb.com
+
| updocname=mariadb.com
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
Line 45: Line 45:
 
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 |
+
{{User:meskarune/Template:application
packagename=mariadb |
+
| packagename=mariadb
upstreamurl=https://downloads.mariadb.org/ |
+
| upstreamurl=https://downloads.mariadb.org/
upstreamname=MariaDB Downloads |
+
| upstreamname=MariaDB Downloads
description=database server |
+
| description=database server
servicefile=mariadb.service |
+
| servicefile=mariadb.service
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=mysql
manpage=mysql |
+
| manpage=mysql
updocurl=https://mariadb.com/kb/en/mariadb/documentation/ |
+
| updocurl=https://mariadb.com/kb/en/mariadb/documentation/
updocname=mariadb.com
+
| updocname=mariadb.com
 
}}
 
}}
  
 
</noinclude>
 
</noinclude>

Revision as of 23:43, 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
| 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