Difference between revisions of "Template:App"

From ArchWiki
Jump to navigation Jump to search
(restore previous new line method because this was generating bugs, see Template talk:App#Using br causes bugs)
m (formatting & wording)
 
Line 7: Line 7:
 
{{bc|<nowiki>* {{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}}}}</nowiki>}}
 
{{bc|<nowiki>* {{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}}}}</nowiki>}}
  
* 1st arg. &ndash; upstream name of the application, enclosed in Arch Wiki or (if no Arch Wiki article present) Wikipedia link.
+
# arg. &ndash; upstream name of the application, linking to an ArchWiki or Wikipedia article (the former is preferred).
* 2nd arg. &ndash; description that should not duplicate information available in [[List of applications]] classifications and/or article context.
+
# arg. &ndash; description that should not duplicate information available in [[List of applications]] classifications and/or article context.
* 3rd arg. &ndash; link to upstream website/project page/wiki/other key source of information about the application.
+
# arg. &ndash; link to upstream website/project page/wiki/other key source of information about the application.
* 4th arg. &ndash; link to package using [[Template:Pkg]] or [[Template:AUR]].
+
# arg. &ndash; link to package using [[Template:Pkg]] or [[Template:AUR]].
  
 
{{Note|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.}}
 
{{Note|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.}}

Latest revision as of 07:16, 15 January 2019

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 '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.
Note: 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.

Example

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