Difference between revisions of "Template:Block"

From Sugar Labs
Jump to navigation Jump to search
Line 3: Line 3:
 
==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
 
  #
 
  #
 
  #  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

Revision as of 02:07, 27 April 2010

{{{1}}}

Usage

{{{1}}}

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

{{{1}}}

See also Template:Code for code lines or words.