Template:Bc: Difference between revisions
Import bc template from https://wiki.archlinux.org/index.php?title=Template:Bc&oldid=616470 |
m Add template category |
||
Line 12: | Line 12: | ||
==Example== | ==Example== | ||
{{bc|code}}</noinclude><includeonly><pre<noinclude></noinclude>>{{{code|{{{1}}}}}}</pre<noinclude></noinclude>></includeonly><noinclude><!-- The <noinclude></noinclude> hack is needed to allow wiki markup inside the pre tags; reference: http://www.gossamer-threads.com/lists/wiki/mediawiki/118688#118688 --></noinclude> | {{bc|code}} | ||
[[Category:Templates]]</noinclude><includeonly><pre<noinclude></noinclude>>{{{code|{{{1}}}}}}</pre<noinclude></noinclude>></includeonly><noinclude><!-- The <noinclude></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 21:14, 30 August 2022
Block code without header.
- Use Template:hc for block code with header.
- Use Template:ic for inline code.
Usage
{{bc|code}}
Example
code