Difference between revisions of "Template:Bc"

From ArchWiki
Jump to: navigation, search
(template for block code without header)
 
(pre now gets overflow:auto from the css)
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly><pre&lt;noinclude&gt;&lt;/noinclude&gt; style="overflow: auto;">{{{code|{{{1|undefined}}}}}}</pre&lt;noinclude&gt;&lt;/noinclude&gt;></includeonly>
+
<noinclude>
 +
{{DISPLAYTITLE:Template:bc}}
 +
{{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}}</noinclude><includeonly><pre&lt;noinclude&gt;&lt;/noinclude&gt;>{{{code|{{{1|{{Error}}}}}}}}</pre&lt;noinclude&gt;&lt;/noinclude&gt;></includeonly>

Revision as of 15:48, 4 May 2012


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