Difference between revisions of "Template:Bc"

From ArchWiki
Jump to: navigation, search
m (moved Template:Pre to Template:Bc: block code (consistency with Template:Ic and Template:Bh))
(consistency)
Line 1: Line 1:
<noinclude>{{Template}}</noinclude><includeonly><pre&lt;noinclude&gt;&lt;/noinclude&gt; style="overflow: auto;">{{{code|{{{1|undefined}}}}}}</pre&lt;noinclude&gt;&lt;/noinclude&gt;></includeonly>
+
<noinclude>{{Template}}
 +
 
 +
'''Block code without header.'''
 +
 
 +
* Use [[Template:hc]] for block code with header.
 +
* Use [[Template:ic]] for inline code.
 +
 
 +
==Usage==
 +
 
 +
{{Bc|<nowiki>{{bc|code}}</nowiki>}}
 +
 
 +
==Example==
 +
 
 +
{{bc|code}}
 +
 
 +
{{Note|This template is under development; please do not use it in the wiki at the moment. Instead, share your thoughts in [[Template talk:Bc]].}}</noinclude><includeonly><pre&lt;noinclude&gt;&lt;/noinclude&gt; style="overflow: auto;">{{{code|{{{1|undefined}}}}}}</pre&lt;noinclude&gt;&lt;/noinclude&gt;></includeonly>

Revision as of 17:51, 27 September 2011

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.

Block code without header.

Usage

{{bc|code}}

Example

code
Note: This template is under development; please do not use it in the wiki at the moment. Instead, share your thoughts in Template talk:Bc.