Template:Bc: Difference between revisions

From NixOS Wiki
imported>Samueldr
(Created page with "<noinclude>{{DISPLAYTITLE:Template:bc}} {{Template}} '''Block code without header.''' * Use Template:hc for block code with header. * Use Template:ic for inline code...")
 
(Add proper sections)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
{{Template}}
{{Template}}


'''Block code without header.'''
== About ==
Block code without header.


* Use [[Template:hc]] for block code with header.
== Usage ==
* Use [[Template:ic]] for inline code.
 
{{ic|<nowiki>{{bc|code}}</nowiki>}}


==Usage==
== Example ==


{{bc|<nowiki>{{bc|code}}</nowiki>}}
{{bc|code}}


==Example==
== See also ==
* Use [[Template:ic]] for inline code.


{{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>
</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 21:28, 6 April 2024

This page is a template. It should be used as part of other articles. For more information, see 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 discuss this template in the talk page.

If you wanted to create a new page instead, use the search box to search for the title of the new page you want to create and follow the link Create the page "XYZ" on this wiki! in the results page. An alternative is to create a dangling link to the new page from an existing page. A final option is to directly visit the expected URL of the page.

About

Block code without header.

Usage

{{bc|code}}

Example

code

See also