Template:App

来自 Arch Linux 中文维基

An "App" element used to format application lists (e.g. List of applications and other such list).

Usage[编辑源代码]

* {{App|[[Firefox]]|The Firefox Web Browser is the faster, more secure, and fully customizable way to surf the web.|http://www.mozilla.com/firefox/|{{Pkg|firefox}}}}
  1. arg. – upstream name of the application, linking to an ArchWiki or Wikipedia article (the former is preferred).
  2. arg. – description that should not duplicate information available in List of applications classifications and/or article context.
  3. arg. – link to upstream website/project page/wiki/other key source of information about the application.
  4. arg. – link to package using Template:Pkg or Template:AUR.
注意: This template is meant to be used at the first level of bulleted lists. It places the first line as a list item, then ends the list and indents the second line. Since the indentation is fixed you should avoid using the template in lists deeper than one level.

Style[编辑源代码]

name
  • If the name is an acronym it may be expanded: Vim (Vi IMproved)
description
  • Should be a sentence (start with a capital letter and end with a period).
packages
  • Multiple packages should be separated with commas: vim, gvim
  • And may optionally be prefixed with short descriptions: GTK+ 2: gpicview, GTK+ 3: gpicview-gtk3
  • Development/binary versions of packages should not be linked if there is a stable/source version available.

Example[编辑源代码]

  • Firefox — The Firefox Web Browser is the faster, more secure, and fully customizable way to surf the web.
https://www.mozilla.com/firefox/ || firefox