Template:Bc: Difference between revisions
Jump to navigation
Jump to search
m Undo revision 349 by BrainwreckedTech (talk) Tag: Undo |
m Fixed bc lines under-lapping with TOC |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
==Example== | ==Example== | ||
{{bc|code}}</noinclude><includeonly><pre<noinclude></noinclude> style="display: | {{bc|code}}</noinclude><includeonly><pre<noinclude></noinclude> style="display: flex; background-color: #ebf1f5; border: 1px solid #bbccdd;">{{{code|{{{1|{{META Error}}}}}}}}</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 19:07, 9 December 2019
Block code without header.
- Use Template:hc for block code with header.
- Use Template:ic for inline code.
Usage
{{bc|code}}
Example
code