Template:Bc: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Rrunt (talk | contribs)
Created page with "<noinclude>{{Template}} '''An 'App' element used to format application lists (e.g. List of Applications and other such list).''' ==Usage== {{bc|1=*<nowiki>{{App|Firefox…"
 
Lliba (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<noinclude>{{Template}}
<noinclude>
<!--[https://wiki.archlinux.org/index.php/Template:Bc viksitud Archwikist]-->
{{DISPLAYTITLE:Template:bc}}
{{Template}}


'''An 'App' element used to format application lists (e.g. [[List of Applications]] and other such list).'''
'''Block code without header.'''
 
* Use [[Template:hc]] for block code with header.
* Use [[Template:ic]] for inline code.


==Usage==
==Usage==
{{bc|1=*<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.
{{bc|<nowiki>{{bc|code}}</nowiki>}}
* 2nd 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.
* 4th 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.}}
==Example==


==Example==
{{bc|code}}</noinclude><includeonly><pre<noinclude></noinclude>>{{{code|{{{1|{{META Error}}}}}}}}</pre<noinclude></noinclude>></includeonly><noinclude><!-- The &lt;noinclude>&lt;/noinclude> hack is needed to allow wiki markup inside the pre tags; reference: http://www.gossamer-threads.com/lists/wiki/mediawiki/118688#118688 --></noinclude>
*{{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}}}}</noinclude><includeonly>'''{{{1}}}''' &mdash; {{{2}}}
: {{{3}}} || {{{4}}}</includeonly>

Latest revision as of 19:24, 25 May 2015


This page is a template. It contains no useful 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.

Block code without header.

Usage

{{bc|code}}

Example

code