Difference between revisions of "Template:Bc"

From ArchWiki
Jump to: navigation, search
(no longer under development)
(add comment to explain hack)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{Template}} {{DISPLAYTITLE:Template:bc}}
+
<noinclude>{{DISPLAYTITLE:Template:bc}}
 +
{{Template}}
  
 
'''Block code without header.'''
 
'''Block code without header.'''
Line 12: Line 13:
 
==Example==
 
==Example==
  
{{bc|code}}</noinclude><includeonly><pre&lt;noinclude&gt;&lt;/noinclude&gt; style="overflow: auto;">{{{code|{{{1|undefined}}}}}}</pre&lt;noinclude&gt;&lt;/noinclude&gt;></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