Skip to main content
Jump to: navigation, search

Difference between revisions of "Template:Codeblock"

m
m
Line 3: Line 3:
 
===Usage===
 
===Usage===
 
; <nowiki>{{codeblock|some code}} -></nowiki>
 
; <nowiki>{{codeblock|some code}} -></nowiki>
: <table><tr><td>
+
<table><tr><td>
 
  some code
 
  some code
</td></tr></table>
+
</td></tr></table></noinclude><includeonly><table><tr><td>
</noinclude>
+
<includeonly>: <table><tr><td>
+
 
  {{{1}}}
 
  {{{1}}}
</td></tr></table>
+
</td></tr></table></includeonly>
</includeonly>
+

Revision as of 17:57, 28 November 2007

Displays a block of code inside a small table cell instead of a full-width cell.

Usage

{{codeblock|some code}} ->
some code

Back to the top