Difference between revisions of "Template:Bc"

From ArchWiki
Jump to: navigation, search
(more fixes)
(add comment to explain hack)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude>{{DISPLAYTITLE:Template:bc}}
{{DISPLAYTITLE:Template:bc}}
+
 
{{Template}}
 
{{Template}}
  
Line 14: Line 13:
 
==Example==
 
==Example==
  
{{bc|code}}</noinclude><includeonly><div style="margin:1em 0; border:1px solid #bcd; padding:1em; background-color:#ebf1f5; font-family:monospace;">{{{code|{{{1|{{META Error}}}}}}}}</div></includeonly>
+
{{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>

Latest revision as of 14:29, 10 December 2013

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