Template:Block: Difference between revisions

No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<big><pre>{{{1}}}</pre></big><noinclude>
<nowiki>{{{1}}}</nowiki><noinclude>


==Usage==
==Usage==


{{Block|<nowiki>{{Block|code block}}</nowiki>}}
{{Template:Block|<nowiki>{{Block|code block}}</nowiki>}}


Used to display a block of code in an enlarged, monospace typeface within a gray block like the following:
Used to display a block of code in an enlarged, monospace typeface within a gray block like the following:


{{Block|#!/bin/bash -x}}
{{Block|#!/bin/bash -x<br>
alskdjf<br>
alskjf
  #
  #
  #  The -x above and the export PS4 (debug prompt) assignment below will help in debugging
  #  The -x above and the export PS4 (debug prompt) assignment below will help in debugging